Computer Knowledge
Digital Logic and Microprocessors
749 Questions
Digital logic and microprocessors form the core of computer science, covering logic gates, combinational and sequential circuits, and CPU architecture. These topics are crucial for computer knowledge sections in technical exams. Test your digital electronics basics here.
Logic gates and circuitsCombinational vs sequential circuitsMicroprocessor instructionsTruth tables and boolean functions
Digital Logic and Microprocessors Questions
-
makes logic decisions
-
allows electron flow only in one direction
-
Both A and B
-
None of these
A
Correct answer
Explanation
A logic gate is an electronic circuit that performs Boolean logic operations on binary inputs to produce binary outputs - essentially making logic decisions. Option B describes a diode, not a logic gate. Since B is incorrect, 'Both A and B' cannot be correct.
-
Hard disk
-
microprocessor
-
transistor
-
flip-flops
D
Correct answer
Explanation
Flip-flops are bistable multivibrators that can store one bit of binary data (0 or 1) in sequential circuits. They are the basic storage elements used in registers, counters, and memory. Unlike hard disks which are storage devices, flip-flops are the actual circuit elements that maintain binary state within digital systems.
B
Correct answer
Explanation
One NAN can contain multiple EANs, multiple UPCs, or multiple RACs, not just one. The system allows a NAN to aggregate or be associated with multiple identifiers. The statement that it contains only one of each type is false.
B
Correct answer
Explanation
One NAN CAN contain multiple EANs, UPCs, or RAC codes. A single national article number represents all variants and pack sizes of a product, each with its own barcode. The claimed answer (False) correctly identifies that the restriction is not true.
-
Arithmetic Logic Unit
-
Array Logic Unit
-
Application Logic Unit
-
None of above
A
Correct answer
Explanation
ALU (Arithmetic Logic Unit) is a digital circuit that performs arithmetic and logical operations. It is a fundamental component of a computer's CPU. 'Array' and 'Application' are incorrect expansions.
-
Odd parity bit
-
Even parity bit
-
Both of the above
-
None of above
C
Correct answer
Explanation
Both odd parity and even parity bits are used for error detection. Parity bits add an extra bit to make the total number of 1s either odd (odd parity) or even (even parity), helping detect single-bit errors during transmission.
-
Input is first converted to digital form
-
Input is never converted to digital form
-
Output is displayed in digital form
-
All of the above
B
Correct answer
Explanation
Analog computers process continuous physical signals (electrical voltages, mechanical movements) directly without converting them to digital binary form. They use analog components like operational amplifiers to perform mathematical operations through continuously varying signals. Digital computers must first convert analog inputs to digital form, but analog computers work entirely in the continuous domain.
-
Rectifier
-
Flip-Flop
-
Comparator
-
Attenuator
B
Correct answer
Explanation
A flip-flop is a bistable multivibrator circuit that can store one bit of binary information (0 or 1) and is the fundamental building block of memory systems. Rectifiers convert AC to DC, comparators compare voltages, and attenuators reduce signal power - none store data.
A
Correct answer
Explanation
In digital logic, an 'inhibitor' is a gate where one input can prevent the output from being active. If one input of an AND gate is inverted (using a NOT gate), that input acts as a control that 'inhibits' the output when it is high.
A,B
Correct answer
Explanation
Both NAND and NOR are universal gates because you can build any logic function (AND, OR, NOT) using only NAND or only NOR gates. This property makes them fundamental in digital circuit design.
-
combitional circuit and memory elements
-
only combinational circuit with clock
-
gate and clock pluse
-
any of these
A
Correct answer
Explanation
Sequential circuits depend on both current inputs and previous states, requiring memory elements (flip-flops) to store state information. Combinational circuits alone cannot remember past inputs. Option A correctly identifies both components are needed.
-
bubbled AND
-
bubbled OR
-
bubbled XOR
-
NONE OF THESE
A
Correct answer
Explanation
NAND = AND followed by NOT. In gate symbolism, this is represented as an AND gate with a bubble (inversion circle) at its output. This is called a bubbled AND gate. Alternative equivalent representations include OR with bubbles at all inputs (De Morgan's law), but bubbled AND is the direct representation.
-
AND , OR
-
NAND
-
NOR
-
OR,AND,NOT
A
Correct answer
Explanation
The set {AND, OR} cannot express negation or complement operations, making it functionally incomplete. In contrast, NAND and NOR are each individually complete, and {AND, OR, NOT} is also complete.
-
minimize the number of flip flop in a digital circuit
-
minimize the number of gates only in digital circuit
-
minimize the number of gates and fan in of a digital circuit
-
design gates
C
Correct answer
Explanation
Karnaugh maps are a graphical method for simplifying Boolean expressions. They help minimize both the number of gates and the fan-in (inputs per gate) in digital circuits. Option A is incorrect because K-maps aren't specific to flip-flops. Option B is incomplete because K-maps optimize more than just gate count.
B
Correct answer
Explanation
Combinational circuits have no memory - their output depends only on the current input values. Sequential circuits, which contain memory elements like flip-flops, can store state information. This is a fundamental distinction in digital circuit design.