Qassim University جامعة القصيم
Faculty of Engineering- كلية الھندسة – عنيزة
Unaizah
Electrical Engineering Dept. قسم الھندس@ة الكھربائية
Semester No. 361 361 الفصل
First Semester 1437/1436 الفصل ا@ول
1436/1437
Assignment No. 1:
Introduction to Computer
Question 1:
State whether the following statements are true or false, correct the false
statement.
1- A processor is a circuit that executes the instructions
......................True ....................................................................................................
...
.............................................................................................................................
2- Memory is a circuit that stores one machine instruction.
.............................................................................................................................
.........................True ........................................................................................
.....................................................................................................................................
3- A bit is a 0 or 1, interpreted from voltage.
.............................................................................................................................
...........................True .....................................................................................
.............................................................................................................................
Qassim University القصيم جامعة
Faculty of Engineering- Unaizah عنيزة – الھندسة كلية
Electrical Engineering Dept. الكھربائية الھندس@ة قسم
Semester No. 361 361 الفصل
First Semester 1436/1437 1437/1436 ول@ا الفصل
Question 2:
Choose the correct answer
1- Volatile storage with fastest access, usually located on the processor chip.
a- Hard drive
b- CD
c- RAM
d- ROM
e- Cache memory
2- The device which determines the frequency at which the processor executes
instructions.
a- Motherboard
b- Clock
c- RAM
d- Power supply
3- Volatile storage with fastest access, usually located off the processor chip.
a- Hard drive
b- CD
c- RAM
d- ROM
d- Cache memory
4- Non-volatile storage with slower access.
a- ROM
b- Hard drive
c- RAM
d- Cache memory
Qassim University القصيم جامعة
Faculty of Engineering- Unaizah – عنيزة
الھندسة كلية
Electrical Engineering Dept. الكھربائية الھندس@ة
قس م
5- Manages programs, and interfaces with peripherals.
a- Operating system
b- Applications program
c- Hard Drive
d- Flash memory
6- Non-volatile storage with fast access, it is used for read only.
a- Hard drive
b- CD
c- RAM
d- ROM
e- Cache memory
Question 3:
Convert the following binary numbers to decimal numbers
A. 11101
= 1*2^4+1*2^3+1*2^2+0*2^1+1*2^0
= 16+8+4+0+1 = 29
b- 110011
= 51
Qassim University القصيم جامعة
Faculty of Engineering- Unaizah عنيزة – الھندسة كلية
Electrical Engineering Dept. الكھربائية الھندس@ة قسم
Semester No. 361 361 الفصل
First Semester 1436/1437 1437/1436 ول@ا الفصل
B. 1101010
= 106
Question 4:
Convert the following decimal numbers to binary numbers
a- 60
= 60 is even number so we put 0 in the first right digit then divide by 2 we get 30 which is even number so we
put 0 again then divide by 2 so we get 15 which is odd so we put 1 in the left of the zeros then subtract 1 from
15 we get 14 then divide by 2 we get 7 which is odd so put 1 then subtract 1 and divide by 2 so we get 3 which
is odd so we put 1 again subtract 1 and divide by 2 we get 1 which is odd number then we put 1 in the left last
number then we stop here and have a binary number 111100
b- 53
= 110101
c- 123
= 1111011
Question 5:
Add the following binary numbers
a- 1011011
+
1001111
= 10101010
b- 111010
+
10011
= 1001101
c- 110110110
+
100011101
= 1011010011
Question 6:
Subtract the following binary numbers
a- 1011011
-
0001111
= 1001100
b- 110010
-
11111
= 10011
c- 11001000
-
01101111
= 1011001
Question 7:
Multiply the following binary numbers
a- 101111
*
101
= 11101011
b- 110010
*
100
= 11001000
c- 101000
*
1011
= 110111000