Basic Computing
Computer Fundamentals
For a two-input AND gate, what is the output when A=1 and B=1?
A. 1
B. Undefined
C. Depends on clock speed
D. 0
Correct Answer: A
Applying the AND truth table to A=1, B=1 gives 1.
Basic Computing
Computer Fundamentals
For a two-input AND gate, what is the output when A=1 and B=0?
A. 1
B. Undefined
C. Depends on clock speed
D. 0
Correct Answer: D
Applying the AND truth table to A=1, B=0 gives 0.
Basic Computing
Computer Fundamentals
For a two-input AND gate, what is the output when A=0 and B=1?
A. 0
B. 1
C. Undefined
D. Depends on clock speed
Correct Answer: A
Applying the AND truth table to A=0, B=1 gives 0.
Basic Computing
Computer Fundamentals
For a two-input AND gate, what is the output when A=0 and B=0?
A. 1
B. Undefined
C. Depends on clock speed
D. 0
Correct Answer: D
Applying the AND truth table to A=0, B=0 gives 0.
Basic Computing
Computer Fundamentals
Which logic gate outputs 1 when its two inputs are the same?
A. OR
B. NOR
C. XOR
D. XNOR
Correct Answer: D
The XNOR gate outputs 1 when its two inputs are the same.
Basic Computing
Computer Fundamentals
Which logic gate outputs 1 when its two inputs are different?
A. OR
B. XNOR
C. NAND
D. XOR
Correct Answer: D
The XOR gate outputs 1 when its two inputs are different.
Basic Computing
Computer Fundamentals
Which logic gate is the complement of the OR operation?
A. OR
B. NOR
C. XNOR
D. NAND
Correct Answer: B
The NOR gate is the complement of the OR operation.
Basic Computing
Computer Fundamentals
Which logic gate is the complement of the AND operation?
A. OR
B. NAND
C. XNOR
D. XOR
Correct Answer: B
The NAND gate is the complement of the AND operation.
Basic Computing
Computer Fundamentals
Which logic gate inverts a single binary input?
A. OR
B. NOT
C. XNOR
D. AND
Correct Answer: B
The NOT gate inverts a single binary input.
Basic Computing
Computer Fundamentals
Which logic gate outputs 1 when at least one input is 1?
A. NAND
B. NOT
C. OR
D. XNOR
Correct Answer: C
The OR gate outputs 1 when at least one input is 1.
Basic Computing
Computer Fundamentals
Which logic gate outputs 1 only when all its inputs are 1?
A. XOR
B. AND
C. OR
D. XNOR
Correct Answer: B
The AND gate outputs 1 only when all its inputs are 1.
Basic Computing
Computer Fundamentals
What is hexadecimal A0 in decimal?
A. 161
B. 159
C. 176
D. 160
Correct Answer: D
Hexadecimal A0 equals decimal 160.
Basic Computing
Computer Fundamentals
What is hexadecimal 7F in decimal?
A. 128
B. 127
C. 126
D. 143
Correct Answer: B
Hexadecimal 7F equals decimal 127.
Basic Computing
Computer Fundamentals
What is hexadecimal 4B in decimal?
A. 91
B. 74
C. 75
D. 76
Correct Answer: C
Hexadecimal 4B equals decimal 75.
Basic Computing
Computer Fundamentals
What is hexadecimal 3C in decimal?
A. 60
B. 61
C. 59
D. 76
Correct Answer: A
Hexadecimal 3C equals decimal 60.
Basic Computing
Computer Fundamentals
What is hexadecimal 2F in decimal?
A. 47
B. 63
C. 46
D. 48
Correct Answer: A
Hexadecimal 2F equals decimal 47.
Basic Computing
Computer Fundamentals
What is hexadecimal 1A in decimal?
A. 26
B. 42
C. 25
D. 27
Correct Answer: A
Hexadecimal 1A equals decimal 26.
Basic Computing
Computer Fundamentals
What is decimal 255 in hexadecimal notation?
A. 100
B. 10F
C. FF
D. FE
Correct Answer: C
Decimal 255 is FF in hexadecimal.
Basic Computing
Computer Fundamentals
What is decimal 100 in hexadecimal notation?
A. 64
B. 65
C. 63
D. 74
Correct Answer: A
Decimal 100 is 64 in hexadecimal.
Basic Computing
Computer Fundamentals
What is decimal 64 in hexadecimal notation?
A. 3F
B. 40
C. 41
D. 50
Correct Answer: B
Decimal 64 is 40 in hexadecimal.