Number Systems - introduction, conversion between number systems, digital codes, weighted binary code, non-weighted binary code, alphanumeric code, error detection and error correction codes - One Line Questions
1.
In an even parity system, a data word with three '1's would require a parity bit of: —
1
2.
In an odd parity system, a data word with two '1's would require a parity bit of: —
1
3.
What is the BCD representation of the decimal number 5? —
0101
4.
What is the Excess-3 code for the decimal digit 5? —
1000
5.
What is the 2421 BCD representation of the decimal number 7? —
1001
6.
What is the binary representation of the hexadecimal digit 'B'? —
1011
7.
Convert the decimal number 25 to its binary representation. —
11001
8.
What is the Gray Code representation of the binary number 1011? —
1101
9.
What is the decimal equivalent of the hexadecimal number A5? —
166
10.
What is the base of the decimal number system? —
10
11.
What is the base of the binary number system? —
2
12.
Convert the decimal number 150 to its octal representation. —
226
13.
What is the decimal equivalent of the octal number 345? —
230
14.
What is the decimal equivalent of the 2421 BCD code 0110? —
6
15.
How many bits are typically used in the standard ASCII code? —
7
16.
What is the decimal equivalent of the Excess-3 code 1011? —
5
17.
What is the ASCII code for the uppercase letter 'A'? —
65
18.
What is the decimal equivalent of the BCD code 0110 1001? —
69
19.
Which of the following is an example of a non-weighted binary code? —
Gray Code
20.
Which of the following is a weighted binary code where each bit has a specific place value? —
8421 BCD
21.
What is the decimal equivalent of the binary number 1011? —
11
22.
What is a 'non-weighted' binary code? —
A code where bit positions do not have a fixed positional value
23.
What is a 'weighted' binary code? —
A code where each bit position has a specific weight or significance
24.
What is EBCDIC? —
An 8-bit alphanumeric character encoding
25.
What is a key characteristic of the Gray Code? —
Adjacent codes differ by only one bit
26.
What does ASCII stand for? —
American Standard Code for Information Interchange
27.
What is a 'parity bit'? —
An extra bit added to a data word to make the total number of 1s either even or odd
28.
Which of the following is a widely used alphanumeric code standard? —
ASCII
29.
What does 'BCD' stand for in the context of binary codes? —
Binary Coded Decimal
30.
Convert the decimal number 200 to its hexadecimal representation. —
C8
31.
Which number system is most commonly used directly by computer hardware? —
Binary
32.
What is the fundamental difference between error detection and error correction codes? —
Detection identifies errors; correction fixes them
33.
What is the hexadecimal representation of the binary number 1111? —
F
34.
Which of the following is an example of a weighted binary code? —
8421 BCD Code
35.
Which type of binary code is often used in rotary encoders? —
Gray Code
36.
Which of the following is a type of error correction code? —
Hamming Code
37.
What is a limitation of simple parity checking? —
It cannot detect if two bits are flipped
38.
What is the purpose of the '2421' in the 2421 BCD code? —
It indicates the weights of the bit positions (2, 4, 2, 1)
39.
What is the primary advantage of using hexadecimal representation in computing? —
It provides a more compact representation of binary data
40.
The hexadecimal number system is often preferred for representing memory addresses because: —
It offers a more compact representation of binary numbers
41.
How does a Hamming code typically differ from a simple parity check? —
It uses multiple parity bits to pinpoint error locations
42.
In the binary number system, what do the digits '0' and '1' represent? —
All of the above
43.
What is the main advantage of using a non-weighted code like Gray Code in certain applications? —
Minimizes errors during transitions between states
44.
Which number system uses digits 0-9 and letters A-F? —
Hexadecimal
45.
Which of the following is a common method for error detection? —
Parity Check
46.
What is the primary goal of error correction codes (ECC)? —
To detect and correct errors in data automatically
47.
What is the primary goal of error detection codes? —
To identify if errors have occurred during data transmission or storage
48.
What is the purpose of alphanumeric codes? —
To represent both letters and numbers in a digital system
49.
What is the primary function of a number system in computing? —
To represent data and instructions in a format the computer can process
50.
What is the primary role of alphanumeric codes in computing? —
To represent textual information