0% found this document useful (0 votes)
40 views

Tutorial Sheet-3 (Unit-1)

The document provides examples of converting between different number systems including binary, decimal, octal and hexadecimal. It includes solutions to converting between these systems as classwork and homework questions. Some key examples covered are: - Converting the binary number (1101)2 to decimal as (13)10 - Converting the octal number (22)8 to decimal as (18)10 - Converting the hexadecimal number (121)16 to decimal as (289)10 It also covers converting decimal numbers to other bases and between binary and BCD code. Boolean algebra topics like simplifying expressions and implementing logic gates using CMOS are discussed.

Uploaded by

shiven
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Tutorial Sheet-3 (Unit-1)

The document provides examples of converting between different number systems including binary, decimal, octal and hexadecimal. It includes solutions to converting between these systems as classwork and homework questions. Some key examples covered are: - Converting the binary number (1101)2 to decimal as (13)10 - Converting the octal number (22)8 to decimal as (18)10 - Converting the hexadecimal number (121)16 to decimal as (289)10 It also covers converting decimal numbers to other bases and between binary and BCD code. Boolean algebra topics like simplifying expressions and implementing logic gates using CMOS are discussed.

Uploaded by

shiven
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Tutorial Sheet 6 (Unit-3)

Classwork (Number system)


Q.1 Convert the other base system into the decimal number system:
(a) (1101)2

(b) (22)8
(c )121)16

Solution :

(a)Given a binary number (1101)2.

Now, multiplying each digit from MSB to LSB with reducing the power of the base number
2.

1 × 23 + 1 × 22 + 0 × 21 + 1 × 20

=8+4+0+1

= 13

Therefore, (1101)2 = (13)10

(b) Given, 228

2 x 81 + 2 x 80

= 16 + 2

= 18

Therefore, 228 = 1810

© 1 x 162 + 2 x 161 + 1 x 160

= 16 x 16 + 2 x 16 + 1 x 1

= 289

Therefore, 12116 = 28910


Ques 2. Convert (25)10 to binary number.

Solution: Create a table based on this question.

Therefore, from the above table, we can write,

(25)10 = (11001)2

Ques 3. Convert 12810 to hex.

Solution: As per the method, we can create a table;

Therefore, the equivalent hexadecimal number is 8016

Ques 4. Convert Binary to BCD code


(a) (11110)2

Solution.

Step 1: Convert the given binary number into a decimal number.

Binary Number: (11110)2


Decimal number of the Binary number (11110)2 is (30)10

Step 2. Now, we convert the decimal to the BCD

We convert each digit of the decimal number into groups of the four-bit binary
number.

Ans. (11110)2 = (00110000)BCD


Homework (Number system)
Ques1. Convert the following binary numbers to decimal.
a) 110110
b) 1110101101

Solution :
a) To convert a binary number to decimal, use the positional value of each bit.
(1×25)+(1×24)+(0×23)+(1×22)+(1×21)+(0×20)
(1×25)+(1×24)+(0×23)+(1×22)+(1×21)+(0×20)
=32+16+4+2=32+16+4+2
=54
So, the decimal equivalent of the binary number 110110 is 54.
b) To convert a binary number to decimal, use the positional value of each bit.
(1×29)+(1×28)+(1×27)+(0×26)+(1×25)+(0×24)+(1×23)+(1×22)+(0×21)+(1×20)
=512+256+128+0+32+0+8+4+0+1=512+256+128+0+32+0+8+4+0+1
=941
So, the decimal equivalent of the binary number 1110101101 is 941.
Ques2. Convert the following hexadecimal number to octal number 2CD16.

Ans.
Classwork (Boolean Algebra and Logic Gates)
Q1. Simplify the Boolean Algebra Expression.

Ans.

Q2.

Ans.

Q3. Simplify the Expression.

Ans.
Ques 4. Write the Boolean expression for the logic circuit (digital circuit) shown in Fig.

Ques 5. Implementation of NAND and NOR gate using CMOS Logic.

Solution:

NAND: For two input NAND gate, if A and B are the inputs then its output Y = (A.B)’.

In NMOS network when we have AND operation between the two variables, then two
NMOS transistors will get connected in series. And the output will be complement of it.
The PMOS network is dual of the NMOS network. In the NMOS network, if two transistors
are connected in series then in the PMOS network, the two PMOS transistors will get
connected in parallel.
NOR: For two input NOR gate, if A and B are the inputs then its output Y = (A+B)’.

In the NMOS network, whenever there is an OR operation between the two variables then
two NMOS transistors will get connected in parallel. And the output will be complement of
it.
The PMOS network will be the dual of the NMOS network. Therefore, in the PMOS
network, the two PMOS transistors will get connected in series.

Homework (Boolean Algebra and Logic Gates)


Ques1. Reduce the Boolean expression :
A=XY+X(Y+Z)+Y(Y+Z)
Solution:

Q2. Write the reduced form for the Boolean expression (AB’(C+BD) +A’B’) C.
Ans.
Ques 3. Simplify the circuit of Fig.
Classwork ( SOP and POS)
Ques1. Convert each of the following Boolean expressions to SOP form:
(a)AB+B(CD+EF)
(b)(A+B)(B+C+D)

(c )
Solution:

Ques 12. Convert the following Boolean function into Standard SOP form.

f = p’qr + pq’r + pqr’ + pqr

Solution:

The given Boolean function is in canonical SoP form. Now, we have to simplify this Boolean
function in order to get standard SoP form.

Ques 13. Convert the following Boolean function into Standard PoS form.
Solution: The given Boolean function is in canonical PoS form. Now, we have to simplify
this Boolean function in order to get standard PoS form.

Ques 14. Convert the following 2 variable Boolean function into Standard POS form.

Solution:
Homework ( SOP and POS)
Ques 1. Convert the following Boolean expression into standard SOP form:
AB’C+A’B’+ABC’D
Solution:

Ques 2.. Convert the following 3-variable Boolean expression in POS form to its
Standard POS form.

Solution:

F(A,B,C)=
Sample MCQ
**********************************************************************
Ans:

***************************************************************************
8

You might also like