You are on page 1of 3

Digital Logic Design 1 (ECE 332)

Sheet 2
1Writethetruthtableofthefollowinglogiccircuits

Assignment

2AlogicgatecalledNANDGATEisfunctionallyrepresentedwithanANDgatefollowedbyaninverter,
writethetruthtableofthetwoinputsNANDgateshowninthefollowingfigure.

3AlogicgatecalledNORGATEisfunctionallyrepresentedwithanORgatefollowedbyaninverter,
writethetruthtableofthethreeinputsORgateshowninthefollowingfigure.

4Ifyouonlyhavea2inputNANDgatehowcanyoudesignaninverterbasedonitonly?(Assignment)

Dr.NohaYounis

5Forthelogiccircuitsshowninthefollowingfigure,drawthecorrespondingtimingdiagram.Startyour
drawingfromthemostleftbit.( Assignment)

A = 1101011 , B = 1011010 , C = 1111101 , D= 1010110

X = 1011011 , y = 0001101 , z=1101010

6Determinethemaximumnumberofdecimalandthemaximumdecimalvaluethatcanberepresented
in:
3bits,4bits,8bits,and16bits
Assumethatthesystemacceptsonlypositivedata
7Repeatthepreviousproblemforadigitalsystemthatcanacceptpositiveandnegativedata,where
thenegativedataarerepresentedina2scomplementform.( Assignment)
8Convertthefollowingdecimalnumbersintotheircorrespondingunsignedbinarynumbers(i.e:The
digitalsystemonlydealwith+venumbers)
79,50,115,290,640,25(rednumbersareassignments)

Dr.NohaYounis

9Convertthefollowingunsignedbinarynumbersintotheircorrespondingdecimalnumbers
1111,0110,11010101,00110101,1001001011(rednumberisassignments)

10Findthe1scomplementandthe2scomplementofthefollowingbinarynumbers
0111,00110,0110101,0011,0100000(rednumbersareassignments)

11Addthefollowingunsignedbinarynumbers
11+11,0011+0101,10110+01011,0111+1011(rednumbersareassignments)

12Subtractthefollowingnumbers(subtractionisdonebasedon2scomplement)neglecttheresultant
carryanddeterminewhethertheoutputisnegativeorpositive.
00110101,0110001011,0100100111(rednumbersareassignments)

13Subtractthefollowingnumbersandneglectthelastcarry,wheresubtractionisdonebasedon
2scomplementrepresentedinan8bitwidth.Determinewhethertheoutputisnegativeorpositive.
51,35,124,329,1717,1435(rednumbersareassignments)

Dr.NohaYounis

You might also like