1 Kingdom of Saudi Arabia
Ministry of Education Umm AlQura University
Adam University College, female branch Computer Science Department
ةيدوعسلا ةيبرعلا ةكلمملا ميلعتلا ةرازو ةعماج ىرقلا مأ تابلاطلا رطش ،مضأب ةيعماجلا ةيلكلا
يللآا بساحلا مولع مسق
First Semester of 2017-2018 Academic Year
Logic Analysis and Design Course, 6803213-3 First Assignment
Last Delivery Date: Thursday, 12/10/2017
Question One: 3 Marks
Convert the following numbers from the given base to the other three bases listed in the table:
The Answer:
By using the conversion methods we have discussed in Ch1 in the classes:
Decimal Binary Octal Hexadecimal
396.3125 101110001.0101 561.24 171.5
189.625 10111101.101 275.5 BD.A
214.625 11010110.101 326.5 D6.A
62407.625 1111001111000111.101 171707.5 F3C7.A
Question Two: 0.5 Mark
What is the exact number of bits in a memory that contains (a) 𝟗𝟔𝑲 bits; (b) 𝟔𝟒𝟎𝑴 bits?
The Answer:
Number of Bits in 96 K bit = 96 × 1024 𝑏𝑖𝑡𝑠 (𝑏𝑒𝑐𝑎𝑢𝑠𝑒 1𝐾𝑖𝑙𝑜 = 1024 𝐵𝑖𝑡𝑠) = 96 × 210 (𝑏𝑒𝑐𝑎𝑢𝑠𝑒 210= 1024)
Number of Bits in 640 M bit = 96 × 220 𝑏𝑖𝑡𝑠 (𝑏𝑒𝑐𝑎𝑢𝑠𝑒 1𝑀𝑒𝑔𝑎 = 220 𝐵𝑖𝑡𝑠)
2 Question Three: 0.25 Mark
Perform the follwoing binary multipilication:
a) 𝟏𝟎𝟎𝟏𝟏𝟏 × 𝟎𝟏𝟏𝟎𝟏𝟏
The Answer:
1 0 0 1 1 1 0 1 1 0 1 1 × --- 1 0 0 1 1 1 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 1 1 1
0 0 0 0 0 0 + --- 1 0 0 0 0 0 1 1 1 0 1
Question Four: 0.25 Mark
Find the binary representation for the following BCD number:
a) 𝟎𝟏𝟎𝟎 𝟏𝟎𝟎𝟎 𝟎𝟏𝟏𝟎 𝟎𝟏𝟏𝟏
The Answer:
From the BCD Table:
4867
Good Luck my Lovely Students 😉 T.Mariah Sami Ahmed Khayat
Teacher Assistant @ Adam University College [email protected]