WhatsApp-00963951432013 Admin
عدد المساهمات : 2429 نقاط : 302124 السٌّمعَة : 4 تاريخ التسجيل : 20/09/2008 العمر : 54 الموقع : www.aoua.123.st
| موضوع: Faculty of Computer Studies T103: Computer Organization and Architecture Fall 2015 2016 Tutor Marked Assignment Cut-off Date: Dec 16, 2015 Total Marks: 40 Contents Mark Question 1 ----------------------------------------------- السبت نوفمبر 14, 2015 8:46 pm | |
|
Faculty of Computer Studies T103: Computer Organization and Architecture Fall 2015 2016 Tutor Marked Assignment Cut-off Date: Dec 16, 2015 Total Marks: 40 Contents Mark Question 1 ------------------------------------------------------------------ 05 Question 2 ------------------------------------------------------------------ 06 Question 3 ------------------------------------------------------------------ 04 Question 4 ------------------------------------------------------------------ 10 Question 5 ------------------------------------------------------------------ 06 Question6 ------------------------------------------------------------------ 09
Plagiarism Warning: As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. The AOU has implemented sophisticated techniques for plagiarism detection. You must provide all references in case you use and quote another person's work in your TMA. You will be penalized for any act of plagiarism as per the AOU's rules and regulations.
Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA work): I hereby declare that this submitted TMA work is a result of my own efforts and I have not plagiarized any other person's work. I have provided all references of information that I have used and quoted in my TMA work.
Name of Student: Signature: Date: Q1- Perform the following base conversion with a maximum of six places to the right of the concerned point. Show your complete work: [5 Marks] (88.4)10 = ( )16 (C4.03)16 = ( )10 (712.2)8 = ( )10 (10101011.001111)2 = ( )8 (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] 68 8-bit signed magnitude one’s complement two’s complement -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] it is interpreted as unsigned number?
it is on a computer using signed-magnitude representation?
it is on a computer using one’s complement representation?
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] Show how the computer would represent the numbers [16.25] and [34.5] using this floating-point format. [4 marks]
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]
Show how the computer would represent the sum in part-II (above). [2 marks]
What decimal value for the sum is the computer actually storing? [2 marks]
Q5- Find the truth table that describes the following circuit and write its function form. F(x,y)=?. [6 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
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 Draw the symbol table along with their memory addresses. [2 marks] What is the output displayed when the program terminates? [1 mark] What is the value stored in the AC when the program terminates? [1 mark] End of TMA
| |
|