Professional Documents
Culture Documents
Introduction To Computing
Introduction To Computing
Introduction to Computing
1st June, 2020
(CS101)
Assignment # 01
You are required to perform the following stated operations in Binary Number System
(320)10 + (-122)10
o Please first convert the stated Decimal Numbers into Binary Numbers.
o Perform the Arithmetic operation on Binary Numbers.
Convert the calculated answer back into Decimal Number System.
First Step
convert Decimal into Binary Numbers
320
2 160_0
2 80_0
2 40_0
2 20_0
2 10_0
2 5_0
2 2_1
1_0
122
2 61_0
2 30_1
2 15_0
2 7_1
2 3_1
1_1
Second Step
Perform the Arithmetic operation on Binary Numbers
Third Step
Convert the calculated answer back into Decimal Number System.