TS2. Data Representation-OSCA

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

Operating Systems Computer Architecture Page 1

of 2
OSCA Tutorial 02 - Data Representation

Exercises

1. What is the difference between


i) computer hardware and computer software
Computer hardware is tangible whereas software is intangible.
Computer hardware can be used to store something which helps manufacturing company
to assemble a computer.
Software can be used to achieve something with the help of an hardware.
Software resides inside the hardware.
ii) data and information
The raw fact of anything called as data such as “Student name”
Group of data or processed data called as information.

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


a) 654 - 1010001110
b) 75 - 1001011
c) 14 - 1110
d) 127 - 1111111
e) 249 - 11111001
f) 175 - 10101111

3. Show the octal representation of the following decimal values. Show your work.
a) 76 - 114
b) 151 - 227
c) 724 -1324

4. Covert the following unsigned binary numbers into decimal.


a) 110100 - 52
b) 01011011 - 91
c) 10010110 - 150
d) 111111 - 63
e) 101101 - 45
f) 1110111 - 119
g) 1111110 -126

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


a) 01111001 - 79
b) 010101010000 - 550
c) 00100011 - 23

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


a) 1FE5 - 8165
b) A72C - 42796
c) DEAD - 57005

7. Convert the following hexadecimal numbers into binary and decimal.


a) 3A – 111010-58
b) FF – 11111111-255
A5 – 10100101 - 165

Level 1 Asia Pacific University of Technology & Innovation Tutorial Solutions


Operating Systems Computer Architecture Page 2
of 2
c) BD – 10111101 - 189

8. Convert the following decimal numbers into hexadecimal.


a) 254 - FE
b) 256 - 100
c) 181 – B5
d) 99 - 63
e) 3701 – E75

Level 1 Asia Pacific University of Technology & Innovation Tutorial Solutions

You might also like