Arab Academy for Science &Technology and Maritime Transport (AASTMT)
College of Engineering & Technology
Department: Electronic and Communications Engineering
Instructor : Dr. Sherief Abdalla
Course Title: Digital design & introduction to Microprocessors
Course No.: CC442&ECE3205&ECE2201&CC216
Date: 21/1/2014 Time: 2 hours
Sheet (1)
Question 1:
Convert the following decimal numbers to binary:
(1) 12 (2) 15 (3) 25 (4) 50
(5) 65 (6) 97 (7) 127 (8) 198
(9) 0.76 (10) 0.456 (11) 0.8732 (12) 0.0975
Question 2:
Convert the following binary numbers to decimal:
(1) 001 (2) 010 (3) 1010 (4) 1011
(5) 100001 (6) 100111 (7) 1100000 (8) 11111101
(9) 110011.11 (10) 1111000.101 (11) 1011010.1010
Question 3:
Add the following binary numbers:
(1) 10 + 10 (2) 10 + 11 (3) 100 + 11
(4) 111 + 101 (5) 1111 + 111 (6) 1111 + 1111
Question 4:
a) Determine the 1’s complement of each binary number:
(1) 100 (2) 111 (3) 1100
(4) 10111011 (5) 1001010 (6) 10101010
b) Determine the 2’s complement of each binary number :
(1) 11 (2) 110 (3) 1010 (4) 1001
(5) 101010 (6) 11001 (7) 11001100 (8) 11000111
c) Perform each subtraction in the 2’s complement form:
(1) 00110011 - 00010000 (2) 01100101 - 11101000