Docsity

Digital logic deisgn, Assignments of Electrical Engineering

Toggle sidebar
bg1
School of Electrical Engineering and Computer Science
National University of Sciences & Technology (NUST)
Practice Assignment No-1
Subject: Digital Logic Design Course: BEE-12CD
Teacher: Engr. Arshad Nazir Issue: 12 Oct 2021
This is a non-graded assignment aimed to enhance problem-solving skills of
students from chapter1 of the textbook.
The students are advised to attempt it at any time of their convenience.
______________________________________________________________________
Problem No-1 Which of the following are analog quantities, and which are digital?
a. Number of atoms in a sample of material
b. Altitude of an aircraft
c. Timer settings on a microwave oven
d. Temperature of a room
e. Automobile fuel gauge
f. A Ten-position switch
g. Audio recording on CD
h. Numerical readout of speedometer
i. Switching of Torch light
j. Seven colors of rainbow
Problem No-2 Convert the following numbers from the given base to the indicated
bases in the table:
Decimal Binary Octal Hexadec
757.25 ? ? ?
? 10110011101.11 ? ?
? ? 7261.3 ?
? ? ? FACE. B
Problem No-3 Perform the following conversions: -
a. 757.2510 to Hexadecimal, Octal, and binary.
b. 3BA.2514 to base6.
c. 21CE16 to base7.
pf3
pf4

Partial preview of the text

Download Digital logic deisgn and more Assignments Electrical Engineering in PDF only on Docsity!

School of Electrical Engineering and Computer Science

National University of Sciences & Technology (NUST)

Practice Assignment No-

Subject: Digital Logic Design Course: BEE-12CD Teacher: Engr. Arshad Nazir Issue: 12 Oct 2021

This is a non-graded assignment aimed to enhance problem-solving skills of students from chapter1 of the textbook.The students are advised to attempt it at any time of their convenience. ______________________________________________________________________

Problem No-1 Which of the following are analog quantities, and which are digital?

a. Number of atoms in a sample of material b. Altitude of an aircraft c. Timer settings on a microwave oven d. Temperature of a room e. Automobile fuel gauge f. A Ten-position switch g. Audio recording on CD h. Numerical readout of speedometer i. Switching of Torch light j. Seven colors of rainbow

Problem No-2 Convert the following numbers from the given base to the indicated bases in the table:

Decimal Binary Octal Hexadec

757.25???

? 10110011101.11??

?? 7261.3?

??? FACE. B

Problem No-3 Perform the following conversions: -

a. 757.25 10 to Hexadecimal, Octal, and binary. b. 3BA.25 14 to base6. c. 21CE 16 to base7.

Problem No-4 Add, subtract, and multiply the following binary numbers: -

a. 1111 and 1001 b. 110010 and 11101

Problem No-5 In the given case, determine the radix r:

a. (365) (^) r= (302) 8 b. (225) (^) r= (89) 10

Problem No-6 Given the signed decimal numbers; X= −27 and Y= −997. Perform BCD addition using 10’s complement method. Convert the answer in Sign-magnitude, Sign-1’s complement, and Sign-2’s complement form.

Problem No-7 Given the two unsigned numbers X=761 8 and Y=775 8 :

a. Perform subtraction X−Y using 9’s complement. b. Redo it for Y−X and convert the answer to binary.

Problem No-8 Given the numbers X=84 10 and Y=26 10. Perform the following arithmetic operations in BCD using 10’s complement method

a. X+Y Unsigned numbers b. (−X) − (+Y) Signed numbers Verify your answer in decimal.

Problem No-9 Show the bit configuration that represents the decimal number 365 in:

a. BCD Code b. 2-out-of-5 code c. Excess- d. 6,3,1,- What do you mean by self-complementing codes? Whether any of above codes is self-complementing, specify?

Problem No-10 Construct a 7,3,2,1 code for base-12 digits. Write B4A9 using this code.

Problem No-11 Perform subtraction on the given unsigned numbers using the 2’s complement method 353728 -131502 6 Convert the answer in Hexadecimal.

Problem N0-12 Convert the following signed decimal numbers to BCD and perform addition and subtraction: - -97 10 and +965 10

Each 10-degree step is taken as one sector. How many bits will be needed to code each sector? Write down first twenty Gray codes for the sectors. ______________________________________________________________________ “Stay Home, Stay Safe”