الكويت البحرين عمان الأردن لبنان مصر البحرين حائل الرياض الدمام جدة المدينة المنورة الاحساء
(.turnitin./ ) فحص التشابه وفقا لنظام الجامعة عن طريق موقع كشف التشابه
حل واجب 0.5.4.4.3.2.1.4.5.5 الجامعة العربية المفتوحة
حل واجبات الجامعة العربية المفتوحة O54.4.3.2.1.4.5.5 - OO96654.4.3.2.1.4.5.5
ايميل : a_al_shora @ h.o.t.m.ail.c.o.m
سكايبي: a_al_shora
واتس اب: OO96654.4.0.5.0.8.9.7
t103 2015/2016
Perform the following base conversion with a maximum of six places to the right of the concerned point. Show your
complete work: [5 Marks]
I. (88.4)10 = ( )16
II. (C4.03)16 = ( )10
III. (712.2)8 = ( )10
IV. (10101011.001111)2 = ( )8
V. (EF.A1)16 = ( )8
Q2- Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement: [6 Marks]
I. 68
8-bit signed magnitude
one’s complement
two’s complement
II. -34
8-bit signed magnitude
one’s complement
two’s complement
Q3- What decimal value does the 8-bits binary number 10111100 have if: [4 Marks]
i- it is interpreted as unsigned number?
ii- it is on a computer using signed-magnitude representation?
iii- it is on a computer using one’s complement representation?
iv- it is on a computer using two’s complement representation?
Q4- Assume a simple model for floating-point representation is used, the representation uses a 14-bit format, 5 bits for the exponent, with a bias of 16, a normalized significant of 8-bits, and a single sign bit for the number: [10 Marks]
I. Show how the computer would represent the numbers [16.25] and [34.5] using this floating-point format. [4 marks]
II. Show how the computer would add the two floating-point numbers in part-I by changing one of the numbers so they are both expressed using the same power. [2 marks]
III. Show how the computer would represent the sum in part-II (above). [2 marks]
IV. What decimal value for the sum is the computer actually storing? [2 marks]
Q6- Consider the MARIE program below. [9 Marks]
Hex Address Label Instruction
200 Load X
201 ADD Y
202 STORE W
203 SUBT Z
204 OUTPUT
205 ADD W
206 STORE Y
207 HALT
208 X, HEX 00FC
209 Y, HEX 14
20A Z, HEX 0108
20B W, HEX 0000
i. List the hexadecimal code information for each instruction based on the following table. [5 marks]
Instruction AC IR MAR MBR PC
Load X
ADD Y
STORE W
SUBT Z
OUTPUT
ADD W
STORE Y
HALT
ii. Draw the symbol table along with their memory addresses. [2 marks]
iii. What is the output displayed when the program terminates? [1 mark]
iv. What is the value stored in the AC when the program terminates? [1 mar