Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (1 vote)
119 views

Problems 1.1b - Number Systems B

The document lists 30 exercises involving operations in binary, octal, and hexadecimal number systems. The exercises include adding, subtracting, and finding complements of numbers represented in various number bases. They also involve proving properties of ones-complement and twos-complement representations of negative numbers.

Uploaded by

Millagui Vicente
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
119 views

Problems 1.1b - Number Systems B

The document lists 30 exercises involving operations in binary, octal, and hexadecimal number systems. The exercises include adding, subtracting, and finding complements of numbers represented in various number bases. They also involve proving properties of ones-complement and twos-complement representations of negative numbers.

Uploaded by

Millagui Vicente
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Operations in Binary, Octal, and Hexadecimal Systems

2.8 Exercises
1. Add the numbers ( 110010010 ) 2 and ( 1011100 ) 2

2. Add the numbers ( 110110 ) 2 , ( 101001 ) 2 , ( 100111 ) 2 , ( 11010 ) 2 , and ( 111101 ) 2

3. Add the numbers ( 2735 ) 8 and ( 6741 ) 8

4. Subtract ( 145 ) 8 from ( 416 ) 8

5. Add the numbers ( E743 ) 16 and ( F9C8 ) 16

6. Subtract ( 8F9A ) 16 from ( C5D7 ) 16

7. Construct a table similar to Tables 2.1 and 2.2 for addition and subtraction of binary numbers.
8. Subtract ( 1011100 ) 2 from ( 110010010 ) 2 using the table constructed in Exercise 7.

9. Find the tens−complement of 67235


10. Find the tens−complement of 0.4268
11. Find the tens−complement of 752.0368
12. Find the nines−complement of 67235
13. Find the nines−complement of 275.6083
14. Find the twos−complement of 1111110000
15. Find the twos−complement of 0.010100
16. Find the twos−complement of 1000010.0001
17. Find the ones−complement of 1000001
18. Find the ones−complement of 0.0101
19. Find the ones−complement of 101001.0100
20. Perform the subtraction ( 43561 – 13820 ) 10 using the tens−complement method.

21. Perform the subtraction ( 13820 – 43561 ) 10 using the tens−complement method.

22. Perform the subtraction ( 1100100 – 1010011 ) 2 using the twos−complement method.

23. Perform the subtraction ( 1010011 – 1100100 ) 2 using the twos−complement method.

1
Exercises

24. Perform the subtraction ( 43561 – 13820 ) 10 using the nines−complement method.

25. Perform the subtraction ( 13820 – 43561 ) 10 using the nines−complement method.

26. Perform the subtraction ( 1100100 – 1010011 ) 2 using the ones−complement method.

27. Perform the subtraction ( 1010011 – 1100100 ) 2 using the ones−complement method.

28. A negative number is stored in a computing device in twos−complement form as


1100011.01011
What is the decimal value of this number?
B
29. The ones complement of a binary number N in a B−bit system is defined as ( 2 – N ) – 1 .
Prove that – ( – N ) = N
B
30. The twos complement of a binary number N in a B−bit system is defined as 2 – N . Using this
definition prove that subtraction can be performed if we add the twos−complement of the
subtrahend to the minuend.

You might also like