
DepartmentofElectricalEngineering,
CollegeofEngineering,UniversityofNorthTexas,Denton
DigitalLogicDesign(EENG‐2710)Homework–1(Spring2008)
Facilitator:Dr.ParthaGuturu
Learner:
GeneralInstruction:Pleaseincludethisasacoverpageofyoursubmissionforatotalof10Marks.
SubmissionDeadline:Feb.6,2008.
1. Convertthefollowingtwodecimalnumberstobinary,octal,andhexadecimalnumbers.
i) 174.25ii)250.8(2x3x1/2=3Marks)
2. Convertthefollowingtwounsignedbinarynumberstooctal,hexadecimal,anddecimal
numbers.
i) 10101.11ii)10110110.001(2x3x1/2=3Marks)
3. Showhowa16‐bitcomputerusingatwo’scomplementnumbersystemwouldperformthe
followingcomputations.(4x1=4Marks)
i) (16850)10+(2925)10=(?)10
ii) (16850)10‐(2925)10=(?)10
iii) (2925)10‐(16850)10=(?)10
iv) ‐(16850)10‐(2925)10=(?)10
Hint:Treatalloperationsasadditionsafterrepresentingthenumberswithnegativesign
beforethemintwo’scomplementform.Iftheresultofadditionhassign‐bit(15thbit)ON,
performtwo’scomplementonitgetthecorrespondingpositivenumbersothatyoucan
replacethe“?”markwithinthebracketsbytheequivalentdecimalnumberwitha
preceding“‐“sign.Youmayverifytheresultssoobtainedbycomparingwithresults
computedusingthefamiliardecimalarithmetic.