Number systems - binary, octal, decimal, hexadecimal, 8421, Excess-3, Gray codes, logic gates, laws of Boolean algebra, half and full adders, subtractors - One Line Questions
1.
The Carry-out output of a full adder is: —
(A AND B) OR (Carry-in AND (A XOR B))
2.
The Borrow-out output of a full subtractor is: —
(A' AND B) OR (Borrow-in AND (A XOR B))
3.
According to Boolean algebra, A * 1 equals: —
A
4.
What is the 8421 code for the decimal number 7? —
0111
5.
What is the Excess-3 code for the decimal number 4? —
0111
6.
The hexadecimal number system uses how many unique symbols? —
16
7.
Convert the binary number 1101 to its Gray code equivalent. —
1001
8.
The decimal value of the binary number 1111 is: —
15
9.
What is the decimal value of the hexadecimal number A5? —
165
10.
The decimal system is also known as base: —
10
11.
How many bits are required to represent the decimal number 10 in 8421 code? —
4
12.
Convert the octal number 72 to its decimal equivalent. —
58
13.
The octal number system has a base of: —
8
14.
Which type of code is often used in rotary encoders to avoid spurious outputs? —
Gray code
15.
What is the decimal equivalent of the binary number 1011? —
11
16.
The Boolean expression A + 0 equals: —
A
17.
The binary number 1010 in hexadecimal is represented as: —
A
18.
The distributive law in Boolean algebra is represented by: —
A * (B + C) = (A * B) + (A * C)
19.
What is the Boolean expression for the Sum output of a half adder? —
A XOR B
20.
The Borrow output of a half subtractor is generated by: —
A' AND B
21.
What is the Boolean expression for the Difference output of a half subtractor? —
A XOR B
22.
What is the Boolean expression for the Difference output of a full subtractor? —
A XOR B XOR Borrow-in
23.
The Sum output of a full adder is given by: —
A XOR B XOR Carry-in
24.
What is the result of A + A? —
A
25.
Which of the following is NOT a basic logic gate? —
NAND
26.
Which logic gate outputs a HIGH (1) if at least one of its inputs is HIGH (1)? —
OR gate
27.
A NAND gate is equivalent to a(n): —
AND gate followed by a NOT gate
28.
A full subtractor has three inputs: A, B, and: —
Borrow-in
29.
The outputs of a half adder are Sum and: —
Carry-out
30.
A full adder has three inputs: A, B, and: —
Carry-in
31.
The outputs of a half subtractor are Difference and: —
Borrow
32.
The law stating A + A' = 1 is known as: —
Complement law
33.
The Boolean expression A * (B * C) = (A * B) * C represents the: —
Associative law
34.
The Boolean expression A + 0 = A is an example of the: —
Identity law
35.
Which number system has a base of 2? —
Binary
36.
Which law states that A + (B + C) = (A + B) + C? —
Associative law
37.
Which code represents each decimal digit by its 4-bit binary equivalent? —
8421 code
38.
What is the most fundamental type of logic gate? —
NOT gate
39.
Which number system uses digits 0-9 and A-F? —
Hexadecimal
40.
Gray code is a code where successive values differ by only: —
One bit
41.
A logic gate that outputs a HIGH (1) only if all its inputs are HIGH (1) is a(n): —
AND gate
42.
The Carry-out output of a half adder is generated by which logic gate? —
AND gate
43.
A NOR gate is equivalent to a(n): —
OR gate followed by a NOT gate
44.
To obtain the Excess-3 code for a decimal digit, you first convert it to 8421 code and then: —
Add 3
45.
A half adder can add: —
Two binary bits
46.
A full adder can add: —
Three binary bits
47.
A full subtractor can subtract: —
Three binary bits
48.
A half subtractor is used to subtract: —
Two binary bits
49.
Excess-3 code is a type of: —
Non-weighted code
50.
Which property makes Gray code useful in digital systems for preventing errors during transitions? —
Single bit change between adjacent values