number system assignment 2
DESCRIPTION
DigitalTRANSCRIPT
Introduction To Computing (CSE145)Fall 2009Assignment # 2
Handed to students: September 24, 2009Due Date: September 28, 2009Instructor: Asma Sanam LarikClass: BS-1
Introduction:
This document outlines the assessment arrangements for the Assignment#2 for CSE145 Introduction to Computing. For this assignment the students are required to submit the solutions hand written on stapled sheets. All the steps should be done properly. Single line answer would be marked as incorrect.
Topic Covered:Number Systems including Hexadecimal, Octal and Binary Number System
Note: Late submission under any circumstances is not allowed. It is strongly recommended that you attempt and submit all the questions.
Exercises:
Question # 1 : Convert these binary numbers to decimal:a.10101 b.1101000111101 c.10010110d.101010101010 e. 101011111
Question # 2 :Convert the following decimal values to binary:a.58 b.2032 c. 5696d.2688 e.1652 f. 2313g.3.578 h. 123.750
Question # 3: Convert the following octal numbers to decimal: a.743 b.365 c.3777d.257 e.1204
Question # 4: Convert the following decimal values to octal: a.59 b.65536 c.255d.375 e.819 f .76524 Question # 5: Convert the following hex values to decimal:a.92 b. FF c.2C1d.37FD e.1B9
Question # 6: Convert the following decimal values to hex:a.75 b.314 c.4095d.25619 e.65760
Question # 7: Add the following binary numbers:a.1010 + 1011 b. 0.1011 + 0.1111 c. 1111 + 0011d.1011.1101 + 11.1 e. 10011011 + 10011101
Question # 8: Subtract the following binary numbers:a.101011100 – 11101110 b.101010100 – 1111000c.111100000 – 10101111 d.100000111 – 000001101
Question# 9: Convert the following numbers with the indicated bases into decimal:
a. (4310)5
b. (6241) 7
c. (85231)9
d. (AB36)16
e. (7D5C)16
Question 10 : Perform the following operations:
a. (4817)16 + (792B)16
b. 7925116 + 3A1E116
c. CD6616 + B23A16
d. D42316 – A99916 e. 14028 + 25378
f. 0110011112*011010102
g. 101516 * F216
h. 3268 * 668
i. (A5B6)16 – (58D)16
Good Luck