COA Assignment - 1
COA Assignment - 1
Assignment - 1
Sr.
Question
No.
1 Convert following binary numbers into Decimal, Octal and Hexadecimal.
1. (1111)2
2. (1100110.011)2
3. (11101.11) 2
2 Convert following Decimal numbers into Binary, Octal and Hexadecimal.
1. (930.52)10
2. (0.874)10
3. (592)10
3 Find r’s Complement and (r-1)’s Complement of following numbers.
1. (1111)2
2. (00000) 2
3. (9999)10
4. (8976)10
5. (1245)8
6. (96DE)H
4 Perform subtraction of given unsigned numbers using r’s complement method.
1. (1753) 10 – (8640) 10
2. (5250) 10 – (1321) 10
3. (11010) 2 – (10000) 2
4. (100)2 -(1100000)2
5 Perform following arithmetic operations in binary (8-bit representation including
sign) using signed 2’s complement representation of negative numbers. Also
check if overflow occurs or not.
1. (+42)10 + (-13)10
2. (-70)10 + (-80)10