0% found this document useful (0 votes)
37 views

Tutorial 9

This document contains 20 multiple choice and short answer questions about computer encoding systems including ASCII, Unicode, BCD, Gray code, and binary representations. It asks about the reasons for computer encoding, identifying characters in ASCII, the emergence of Unicode, representing decimal numbers in binary and BCD, converting between binary, decimal, Gray code and BCD, performing calculations with Gray code, and the logic behind converting between binary and Gray code using exclusive-OR gates.

Uploaded by

thaanussh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Tutorial 9

This document contains 20 multiple choice and short answer questions about computer encoding systems including ASCII, Unicode, BCD, Gray code, and binary representations. It asks about the reasons for computer encoding, identifying characters in ASCII, the emergence of Unicode, representing decimal numbers in binary and BCD, converting between binary, decimal, Gray code and BCD, performing calculations with Gray code, and the logic behind converting between binary and Gray code using exclusive-OR gates.

Uploaded by

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

CMPF134 FUNDAMENTALS OF DATA AND INFORMATION

- TUTORIAL 9 -

1. Briefly explain why Computer Encoding Systems are required in computer system?

2. Given a character’s ASCII 8-bit code: 101010112. Identify and briefly explain the
category/group of this character.

3. List out TWO (2) main reasons which trigger the emergence of Unicode.

4. “Unicode is backward compatible with 7-bit ASCII”. What do you understand about
this statement?

5. Given a set of Unicode as shown in Figure 1 below:

U+0061 LATIN SMALL LETTER A

X Y
Figure 1

a) Identify the term for both X and Y. Briefly explain each of them.
b) What does four digits in part X (0061) stands for? Does this number being
represented in decimal or hexadecimal number form? Justify your answer.

6. Identify ONE (1) similarity and ONE (1) difference of ASCII and EBCDIC.

7. Representing decimal numbers in BCD code takes up more space in memory than
using a more conventional binary representation. Explain why.

8. Explain why BCD code is also known as 8421 code?

9. How many binary digits are required to represent decimal number 1022 in BCD?

1|Page
10. Convert the following decimal numbers to BCD
a) 6
b) 15
c) 273
d) 849
e) 3057

11. Convert each of the BCD code below into their respective binary equivalent number
a) 0110
b) 0100 1001
c) 0101 0001
d) 0101 0100 0001
e) 0011 0010 0101

12. Convert each of these binary numbers into BCD code


a) 111
b) 1010
c) 10001
d) 1010101
e) 101010110

13. Convert the following Gray Codes into their respective binary equivalent values
a) 101
b) 1100
c) 10101
d) 110010
e) 10110011

2|Page
14. Convert each of the following Natural Binary number into Gray Code
a) 101
b) 1100
c) 10101
d) 110010
e) 10110011

15. Convert the following decimal numbers into Gray Code


a) 9
b) 18
c) 23
d) 34
e) 85

16. Can we perform arithmetic calculation by using Gray Code? Justify your answer.

17. Explain why does the speed of transition for Gray Code is faster than code changes
for natural binary or BCD code?

18. Conversion from Gray Code to Binary number can be performed by applying the logic
of Exclusive-OR gate. What is the main rule behind this gate?

19. Convert the following binary numbers to the Gray Code


a) 101
b) 1011
c) 11010
d) 1011101
e) 111010110

3|Page
20. Convert the following Gray Code into Natural Binary
a) 101
b) 1011
c) 11010
d) 1011101
e) 111010110

4|Page

You might also like