You are on page 1of 1

COMSATS University Islamabad, WAH Campus

First Sessional Exam of M&AL Spring 2021

Marks: 10 Subjective Part Time Allowed: 45 Minutes

Note: Solve the following questions on empty pages with your name and registration number at the top
of each page using blue ballpoint only. Take its picture, convert to pdf and submit on cuonline portal
within the deadline.

Q1: Express the following numbers in signed decimal: (4)


i. (10011010.1001)2
ii. (F45E.A)16

Q2: Represent the two floating point numbers below in 10 bit precision, where 3 bits are
kept for the exponent, 6 bits for the mantissa and 1 bit for the sign. Then add these
numbers in same format and verify your answer. Assume the bias value is 3: The
numbers are −25.25 and +20.5 (6) 

You might also like