Assignment 1
Due Date: At the beginning of the next lecture
.This homework is to be done individually
Make sure your homework contains your full name and student ID, and that all pages
.are stapled together
1. Fill in the empty slots in the table by converting numbers into different
representations. All numbers are 8 bits in length. Use 2’s complement
representation in binary and hexadecimal numbers.
Binary Hexadecimal Unsigned decimal Signed decimal
0010 0001 21 33 33
1111 0110 6F 111 111
1010 0100 A4 164 -92
1110 0111 E7 231 -25
2. Perform the arithmetic operations below with binary numbers and with negative
numbers in signed 2’s complement representation. Use seven bits to accommodate each
number together with its sign. In each case, determine if there is an overflow.
a. (+35) + (+40)
b. (-35) + (+40)
c. (-35) - (+40)
3. What, in general terms, is the distinction between computer organization and computer
architecture?
تهتم بخواص النظام المتعلقة بلمبرمج:)Computer Architecture( معمارية الحاسوب
) والتي يكون لها تاثير مباشر على التنفيذ المنطقي للبرنامج و تشتمل هذهsoftware(
: الخواص على
4. List and briefly define the main structural components of a computer.
5. List and briefly define the main structural components of a processor.
6. _______ Moves data between the computer and its external environment:
A. Arithmetic and Logic Unit
B. Input/output Module
C. control unit
D. There is no correct statement.
7. Data processing, Data storage, Data movement and Control:
A. Four Basic functions a Computer can perform
B. system interconnection
C. Computer Organization
D. Moore's law
[Link] one of the following is equivalent to (13)8.
A. (1011)2
B. (D)16
B) (12)10
D) (15)7
9. (10011101)2 is equivalent to the numbers below, EXCEPT
A. (235)8
B. (157)10
C. (9D)16
D) (335)6
10. Choose (-10)10 in sign & magnitude form (in 8-bit binary system):
A. 11110101
B. 10001010
C. 11111001
D. 10001011
[Link] is the decimal equivalent of this 8-bit one’s complement number 1110 1100?
A. 204
B. -204
C. -19
D. -76