$30
CSE260
Assignment 01
This assignment must be hand-written. So, you should show the procedure of calculation where
necessary.
1. Convert the following binary numbers to equivalent decimal numbers.
(a) (101110010001)2
(b) (11011.101)2
2. Convert the following decimal number to equivalent binary numbers.
(4195)10
3. Convert the following octal numbers to equivalent decimal numbers.
a) (45)8
b) (2173)8
4. Convert the following decimal number to equivalent hexadecimal numbers.
(513)10
5. Convert the following binary number to equivalent hexadecimal numbers.
(101101110)2
6. Miscellaneous - Perform the following base conversions
a) (29)10 = (?)7
b) (10110111)2 = (?)4
7. Perform addition, subtraction and multiplication for the pair of following octal
numbers. Verify your results by converting the problem into decimal.
417
134
8. Convert the following eight-bit one's complement number to decimal: 010000101’s
9. Convert the following eight-bit two's complement number to decimal: 101111002’s
10. Perform the following arithmetic operations using 10-bit two’s complement.
State if there is an overflow.
a) 91 - 499
b) 379 + 98
11. You are a computer engineer and you want to buy two 8 GB DDR4 RAMs. Each
RAM costs (1C2)16 dollars. You also want to buy a graphics card RTX which cost
(10010110000)2 dollars. However, you don’t have that much money with you and
you are afraid to ask about it to your parents. Suddenly, one of your generous
friends agreed to give you the money you need. He decided to give you (4064)8
dollars. How much dollars will you have left after buying those components?
(Show the answer in decimal)