What is the function of a NOT gate in digital logic?
A Invert the input
B Combine inputs
C Select an output
D Perform addition
A NOT gate, also called an inverter, produces the opposite of the input value. If the input is 1, the output is 0, and if the input is 0, the output is 1. It is a fundamental logic gate.
What is the main function of an AND gate?
A Combine inputs
B Amplify signals
C Output 1 only when all inputs are 1
D Perform subtraction
An AND gate outputs 1 only if all its inputs are 1. If any input is 0, the output will be 0. It is a basic gate used for logical conjunction in combinational circuits.
Which of the following is a sequential circuit?
A XOR gate
B Register
C Adder
D Encoder
A register is a sequential circuit because it stores data and its output depends on both the current input and previous states. Registers are essential for holding and transferring data in digital systems.
What is the primary function of a decoder in digital systems?
A Encode data
B Convert data to binary
C Convert binary input to active output
D Perform arithmetic operations
A decoder takes a binary input and activates one of several output lines based on that input. It is used in applications like memory addressing and data routing to select specific outputs.
What does a multiplexer do in digital electronics?
A Select one input from many
B Store data
C Convert data
D Perform subtraction
A multiplexer (MUX) selects one of many inputs and passes it to a single output. It is used in data routing, reducing the number of lines needed to transmit information between components in digital systems.
What is the main advantage of using Karnaugh maps in Boolean algebra?
A Increase computation speed
B Simplify Boolean expressions
C Perfor m logic operations
D Store data
Karnaugh maps (K–maps) help simplify Boolean expressions by visually grouping terms, minimizing the number of logic gates required for implementation. This leads to more efficient and cost–effective circuit designs.
Which logic gate outputs 1 only when both inputs are 1?
A XOR gate
B NOT gate
C AND gate
D OR gate
An AND gate outputs 1 only when both inputs are 1. It is used to perform logical conjunction in combinational circuits and is fundamental in digital design for creating conditional logic.
What is the role of an arithmetic logic unit (ALU) in a processor?
A Generate clock signals
B Perform arithmetic and logical operations
C Control memory
D Store data
An ALU performs both arithmetic operations (addition, subtraction) and logical operations (AND, OR, NOT). It is a critical component of a microprocessor, enabling it to perform mathematical and decision–making tasks.
Which of the following components is used to store one bit of data?
A Encoder
B Multiplexer
C Adder
D Flip–flop
A flip–flop is a bistable sequential circuit used to store one bit of data. It changes its state based on the input and clock signal, and it is used in registers, memory, and counters.
Which of the following is an example of combinational logic?
A Register
B Adder
C Flip–flop
D Counter
An adder is a combinational logic circuit that performs arithmetic addition. Its output is based solely on the current inputs without regard to any previous inputs, unlike sequential circuits that store state information.
What does a truth table represent in digital logic?
A Memory storage
B Circuit layout
C Signal propagation
D Input–output relationships
A truth table lists all possible combinations of inputs and the corresponding outputs for a digital logic circuit. It is essential for designing and verifying the behavior of logic gates and combinational circuits.
What does a flip–flop change its state based on?
A Data input only
B Output signal
C Clock signal
D Previous state only
A flip–flop changes its state based on the clock signal. It stores one bit of data and updates its output when triggered by the clock, making it essential for timing and synchronization in digital circuits.
What type of circuit is used to count events or pulses?
A Decoder
B Counter
C Register
D Adder
A counter is a sequential circuit used to count the number of events or pulses in a system. It increments or decrements its value based on clock pulses and is widely used in timing and sequencing applications.
What is the purpose of a logic analyzer in digital electronics?
A Store data
B Perform arithmetic operations
C Convert digital to analog
D Analyze signal timing
A logic analyzer captures and analyzes the timing of digital signals. It helps engineers troubleshoot digital circuits by displaying signal behavior over time and identifying errors in signal synchronization or logic.
What is the main advantage of using sequential circuits in digital systems?
A They store data
B No clock required
C Simplified design
D Faster than combinational circuits
Sequential circuits store data, meaning their output depends on both current inputs and previous states. This capability is essential for applications like memory storage, timing, and counters, providing functionality that combinational circuits cannot offer.