0% found this document useful (0 votes)
29 views2 pages

02 - CSA - Tutorial - Data - Representation Excercises New

This document provides a series of exercises to practice data representation in computer systems. It covers converting between binary, decimal, octal and hexadecimal number systems, as well as binary arithmetic operations. There are 12 problems in total, asking students to represent numbers in different bases, perform base conversions, complete binary addition and subtraction, and calculate hexadecimal and decimal values. The exercises are intended to help students learn and practice low-level data representation concepts.

Uploaded by

Yong Yung Hao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

02 - CSA - Tutorial - Data - Representation Excercises New

This document provides a series of exercises to practice data representation in computer systems. It covers converting between binary, decimal, octal and hexadecimal number systems, as well as binary arithmetic operations. There are 12 problems in total, asking students to represent numbers in different bases, perform base conversions, complete binary addition and subtraction, and calculate hexadecimal and decimal values. The exercises are intended to help students learn and practice low-level data representation concepts.

Uploaded by

Yong Yung Hao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer System Architecture Page 1 of 2

CSA Tutorial Data Representation

Exercises

1. What is the difference between


i) computer hardware and computer software
ii) data and information

2. Show the binary representation of the following decimal numbers.


a) 654
b) 75
c) 175

3. Show the decimal representation of the following binary values.


a) 101101
b) 1110111

4. Show the octal representation of the following decimal values. Show your work.
a) 76
b) 151
c) 724

5. Covert the following binary numbers into decimal.


a) 110100
b) 01011011
c) 10010110
d) 111111
e) 1111110

6. Convert the following decimal numbers into binary. How many bits are needed in
each case?
a) 14
b) 127
c) 249
d) 73
e) 257

7. Addition in Binary
In each case, check your answer by converting the numbers and the result into
decimal.
a) 11011 + 1101
b) 11010101 + 00111110
c) 1111 + 1
d) 111111 + 1
e) 10101010 + 01010101

Diploma Asia Pacific University of Technology & Innovation Tutorial


Computer System Architecture Page 2 of 2

8. Show the hexadecimal equivalent for the following binary values.


a) 01111001
b) 010101010000
c) 00100011

9. Show the decimal representation for the following hexadecimal values.


a) 1FE5
b) A72C
c) DEAD

10. Calculate the following binary operations (show your work):


a) 110111010
+ 1011011

b) 11100011
+ 1011101

c) 110111010
- 1011011

d) 11100011
- 1011101

11. Convert the following hexadecimal numbers into binary and decimal.
a) 3A
b) FF
c) A5
d) BD

12. Convert the following decimal numbers into hexadecimal (an easy way to do this is to
convert into binary firs).
a) 254
b) 256
c) 181
d) 99

Diploma Asia Pacific University of Technology & Innovation Tutorial

You might also like