Computer Science for IGCSE & O level - Boolean Logic (Section 6)
1
What logic gate's output is 'HIGH' if *any* of its inputs is HIGH?
คำตอบ
(B)
OR gate
2
Which of the following represents the correct order of operation to implement Y = A OR (B AND C)?
คำตอบ
(B)
B AND C then OR with A.
3
Which operation does the OR gate perform?
คำตอบ
(A)
Addition
4
In the engine management system, what logic operation is implemented to determine whether to activate the warning light?
คำตอบ
(A)
AND and OR
5
In Boolean algebra, which symbol represents the AND operation?
คำตอบ
(B)
*
6
Which of these expressions is simplified to A?
คำตอบ
(D)
A . 1
7
If a logic circuit is designed to output 1 when either A is 1, B is 1, or C is 1, which of the following expressions represents the output?
คำตอบ
(B)
A OR B OR C
8
In the Boolean expression, what represents the 'inversion' operation?
คำตอบ
(C)
'
9
What are the components of a basic AND gate?
คำตอบ
(A)
One or more inputs and one output.
10
In the context of digital logic, what does the term 'truth table' describe?
คำตอบ
(C)
A table showing all possible input combinations and their corresponding output values
11
What does the term 'boolean algebra' deal with?
คำตอบ
(B)
Binary values and logical operations
12
What logic gate is represented by the expression (A.B)'?
คำตอบ
(A)
NAND
13
If the inputs to a NOR gate are A=1 and B=0, what is the output?
คำตอบ
(A)
0
14
How many different combinations of input values are possible for a 3-input logic gate?
คำตอบ
(D)
8
15
In a 2-input OR gate, what is the output if one input is 1 and the other is 0?
คำตอบ
(B)
1
16
If A = 1 and B = 1, then the output of an AND gate is:
คำตอบ
(B)
1
17
In the context of the manufacturing system for plastic pipes, if the pressure is 4 bar and the temperature is 300 degrees Celsius, will the alarm sound?
คำตอบ
(B)
No
18
In digital logic, the term 'inversion' is most closely associated with which gate?
คำตอบ
(C)
NOT
19
What type of gate is formed by inverting the output of an AND gate?
คำตอบ
(B)
NAND gate
20
If the inputs to an XOR gate are A=1 and B=0, the output is:
คำตอบ
(B)
1
21
If A=0, what is the result of NOT A?
คำตอบ
(B)
1
22
Which gate is used to represent A OR B?
คำตอบ
(B)
OR gate
23
Which of the following gates is the complement of the AND gate?
คำตอบ
(B)
NAND
24
What function is performed by a NAND gate?
คำตอบ
(A)
AND followed by NOT
25
What is the purpose of a logic circuit?
คำตอบ
(B)
To perform calculations.
26
What is the output of an OR gate if all its inputs are LOW (0)?
คำตอบ
(A)
0
27
The output of a NOR gate is high (1) only when:
คำตอบ
(A)
All inputs are low (0)
28
What is the result of the NOT operation on the input 1?
คำตอบ
(A)
0
29
Which of the following statements is true for an XOR gate?
คำตอบ
(C)
The output is HIGH if the inputs are different
30
What is the output of an XOR gate if both inputs are 0?
คำตอบ
(A)
0
31
Given the expression (A + B) · C, what is the final gate implemented in this expression?
คำตอบ
(B)
AND
32
If A = 0 and B = 1, then what is the output of a NAND gate?
คำตอบ
(B)
1
33
Which gate is the inverse of an AND gate?
คำตอบ
(C)
NAND
34
What is the function performed by the OR gate?
คำตอบ
(B)
Logical OR
35
How can a NAND gate be implemented using an AND gate and a NOT gate?
คำตอบ
(A)
Connect the output of the AND gate to the input of the NOT gate.
36
If A = 0, B = 1, and C = 0. What is the output of (A OR B) AND C?
คำตอบ
(A)
0
37
What is the output of an OR gate with inputs A=1 and B=1?
คำตอบ
(B)
1
38
Which type of gate is functionally equivalent to an OR gate followed by a NOT gate?
คำตอบ
(B)
NOR gate
39
In a half adder, which outputs are available?
คำตอบ
A
B
40
In an AND gate with two inputs, the output is:
คำตอบ
(A)
HIGH when both inputs are HIGH.
41
The symbol for the NOT operation in Boolean algebra is:
คำตอบ
(C)
!
42
Which gate's output will be LOW (0) if at least one input is HIGH (1)?
คำตอบ
(B)
NOR
43
Which of the following is the correct Boolean expression for a 2-input NAND gate?
คำตอบ
(B)
NOT(A * B)
44
What is the output of an AND gate with inputs A=1, B=0, and C=1?
คำตอบ
(A)
0
45
What does the term 'fan-out' refer to in digital logic?
คำตอบ
(C)
The maximum number of gate inputs that the output of a gate can drive
46
Which gate's output is LOW if at least one input is HIGH?
คำตอบ
(B)
NOR
47
The output of an OR gate is TRUE (1) when:
คำตอบ
(C)
Any one or more inputs are TRUE (1).
48
Which gate inverts the input signal?
คำตอบ
(C)
NOT
49
What does 'NAND' stand for?
คำตอบ
(A)
NOT AND
50
Which gate has the truth table outputting HIGH when any of the inputs are HIGH?