Vous êtes sur la page 1sur 2

Digital Logic Design

(CS302)

Name: Aamir Shahzad Registration No: BC150401673

Questions No 01 Marks (10)

Solve the following expression using indirect method with complete steps and provide answer in
required number systems.

(𝐵65𝐹)16 + (57104)8 = (____)10

Solution :

(𝐵65𝐹)16 + (57104)8 = (____)10

(𝐵65𝐹)16 = 11 × 163 + 6 × 162 + 5 × 161 + 15 × 160

(𝐵65𝐹)16 = 11 × 4096 + 6 × 256 + 5 × 16 + 15 × 1

(𝐵65𝐹)16 = 45056 + 1536 + 80 + 15

(𝐵65𝐹)16 = (𝟒𝟔𝟔𝟖𝟕)𝟏𝟎

(57104)8 = 5 × 84 + 7 × 83 + 1 × 82 + 0 × 81 + 4 × 80

(57104)8 = 5 × 4096 + 7 × 512 + 1 × 64 + 0 × 8 + 4 × 1

(57104)8 = 20480 + 3584 + 64 + 0 + 4

(57104)8 = (𝟐𝟒𝟏𝟑𝟐)𝟏𝟎

(𝐵65𝐹)16 + (57104)8 = (46687 + 24132)10

(𝑩𝟔𝟓𝑭)𝟏𝟔 + (𝟓𝟕𝟏𝟎𝟒)𝟖 = (𝟕𝟎𝟖𝟏𝟗)𝟏𝟎

Questions No 02 Marks (05)

Find the Gray Code of the following Hexadecimal Number.

(𝐹12𝐴𝐷𝐸7)𝐻

Hexadecimal Number Binary Code Gray Code


F 1111 1000
1 0001 0001
2 0010 0011
A 1010 1111
D 1101 1011
E 1110 1001
7 0111 0100
Digital Logic Design
(CS302)

Name: Aamir Shahzad Registration No: BC150401673

= Binary Value = 1111000100101010110111100111


(𝐹12𝐴𝐷𝐸7)𝐻

(𝐹12𝐴𝐷𝐸7)𝐻 = Gray Code = 1000000100111111101110010100

Questions No 03 Marks (05)

Provide the truth table for following Boolean expression.

 A  B . A  C    B  C 
Provide the truth table for following Boolean expression.

 A  B . A  C    B  C 

A B C A B C ( A+B) AC (B+C) 


( A + B ). A  C   A  B . A  C    B  C 

0 0 0 1 1 1 1 1 0 1 1

0 0 1 1 1 0 1 0 1 0 1

0 1 0 1 0 1 1 1 1 1 0

0 1 1 1 0 0 1 0 1 0 1

1 0 0 0 1 1 1 1 0 1 1

1 0 1 0 1 0 1 1 1 1 0

1 1 0 0 0 1 0 1 1 0 1

1 1 1 0 0 0 0 1 1 0 1

Vous aimerez peut-être aussi