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

Data Representation Questions 2023

Uploaded by

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

Data Representation Questions 2023

Uploaded by

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

Data representation

1. a) Covert the decimal number 49 to: (i) binary (ii)


octal (iii) hexadecimal
{2marks}
b) convert the decimal number - 23 to:
(i) 8 bit signed integer format
(ii) 8 bit two’s complement

c) perform the following computation

(i) DEBE16 +1F0E16 (ii) FEDE16 - 011011112

2. a) With examples explain the following terms: nibble and


byte b) Covert the binary number
11101011 to (i) octal (ii) hexadecimal c) (i)
Convert the following decimal numbers to 8 bit two’s
complements. (i) +18 (ii) -23
(ii) convert the following 8 bit two’s complement to decimal
(i) 00001100 (ii) 11100110
b) (ii) perform the
following computation in 8 bit two’s complement: - 510 -
710
3. a) Convert the statement below in ASCII codes.
COVID – 19 has killed 3,000 people in Uganda;!.
Convert the following decimal (base 10) values into their 8-
bit binary equivalent. You must show your working out.
(i) 31 (ii) 103 (iii) 210
4. a) Convert 567ten to binary.
b) Convert 1011 0101two to decimal.
c) Convert 110010111010010two to octal.
d) Convert 7423eight to binary.
e) Convert 110010111010010two to hexadecimal.
f) Convert 8FE3sixteen to binary.
g) Convert 638ten to hexadecimal.
h) Convert -93ten to sign magnitude form using 8 bits to
represent the result.
i) Convert -93ten to two’s complement form using 8 bits to
represent the result.
j) Convert 68ten to two’s complement form using 8 bits to
represent the result.
k) If 1100 10102 is in two’s complement form, what decimal
number is represented?
l) If 0101 01102 is in two’s complement form, what decimal
number is represented?

You might also like