You are on page 1of 1

COMSATS University Islamabad, Lahore Campus

Assignment 1 – FALL 2019


Course Title: Computer Organization & Architecture Course Code: CPE 343 Credit Hours: 4(3,1)
Course Instructor: Moazzam Ali Sahi Program Name: BCE
Semester: 5th Batch: FA17 Section: B Date Given: 30th September, 2019
Submission Date: 4th October, 2019 Maximum Marks: 30
Name: Registration Number:
Important Instructions / Guidelines:
• Please add this page on your Assignment
• Draw neat schematics wherever needed
• Do your own work, PLAGARISM will be graded as ZERO
• Submit the assignment before the start of class.
• No late submission.

Question 1: [8 Marks]
Convert the given numbers into 32-bit binary numbers
a) 409610
b) -204710
c) 40FE816
d) -A87FC16

Question 2: [6 Marks]
What decimal number does this two’s complement numbers represent
a) 1111 1111 1111 1111 1111 1111 0000 0110TWO
b) 1111 1111 1111 1111 1111 1111 1110 1111TWO
c) 0111 1111 1111 1111 1111 1111 0000 0110TWO

Question 3: [10 Marks]


Using Binary Arithmetic to perform the following operations. Show all steps (Consider n=6)
a) 15 x 12
b) -15 x -12
c) -26 / 4
d) 39 / 3
e) -50/-10
Question 3: [6 Marks]
The 32 bit floating point number representation of a and b are given below, Find the 32-bit floating
point number representation of a+b. You are required to show all steps in binary.

a) a=0 1101 0111 111 0011 1010 0000 1100 1111


b=0 0001 0001 100 1100 0101 0111 1101 1100

b) a=0 0101 0110 111 0011 1000 0000 1100 0011


b=0 0101 0011 100 1110 0101 1111 0001 1111
Also verify your answer in Decimal. (Optional)
Page 1 of 1

You might also like