Computer Knowledge
Digital Logic and Microprocessors
735 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
-
Rectifier
-
Flip-Flop
-
Comparator
-
Attenuator
B
Correct answer
Explanation
A flip-flop is a basic memory element in digital electronics that can store one bit of information. It has two stable states and is used in registers, counters, and RAM. Rectifiers convert AC to DC, comparators compare voltages, and attenuators reduce signal strength.
A
Correct answer
Explanation
Unlike classical bits that can only be 0 or 1, a qubit can exist in a superposition of both states simultaneously. This is a fundamental principle of quantum computing that enables parallel processing of multiple possibilities.
-
TTL Logic circuit
-
Analogue Circuits
-
Micro controller
-
Both 1 & 2
A
Correct answer
Explanation
BEAM robotics emphasizes simple control circuits using minimal components. TTL (Transistor-Transistor Logic) is a digital logic family that can be used to implement the nervous network behaviors characteristic of BEAM robots. While BEAM often uses discrete analog components, TTL logic circuits provide a viable implementation path for these biomimetic systems.
-
Linear-signal circuits
-
Mixed-signal circuits
-
Direct-signal circuits
-
Indirect-signal circuits
B
Correct answer
Explanation
Integrated circuits combining both analog and digital functionality are correctly called mixed-signal circuits (option B). These ICs handle both continuous analog signals and discrete digital signals. Options A, C, and D are not standard terminology in electronics.
-
Electric circuits based on a number of discrete current levels
-
Electric circuits based on a number of discrete voltage levels
-
Electric circuits based on a number of discrete charge levels
-
None
B
Correct answer
Explanation
Digital circuits operate using discrete voltage levels (option B), typically representing binary 0 and 1. Unlike analog circuits that use continuous voltages, digital circuits work with specific, separated voltage thresholds. Options A and C are incorrect because digital circuits aren't based on current or charge levels.
B
Correct answer
Explanation
The basic logical operations in Boolean algebra are AND, OR, and NOT. These three form a functionally complete set - any Boolean function can be expressed using combinations of these. NAND is a derived operation (NOT-AND) and is not one of the fundamental operations.
-
multiplexers
-
Boolean expressions
-
logic gates
-
All of these
B
Correct answer
Explanation
Karnaugh map (K-map) is a graphical method used to simplify Boolean expressions in digital logic design. It provides a systematic way to reduce complex Boolean expressions to their minimal form, which is essential for optimizing digital circuits. While K-maps are used in designing logic gates and multiplexers, their primary purpose is simplifying the underlying Boolean expressions.
-
OR gates
-
OR & AND gate
-
Flip-flops
-
All of these
C
Correct answer
Explanation
A register in digital electronics is a group of flip-flops used to store multiple bits of binary data. Each flip-flop can store one bit, so multiple flip-flops are combined to create registers that store bytes or words. Registers are NOT made of OR gates or combinations of logic gates - those are used for combinational logic, not data storage.
A
Correct answer
Explanation
Each flip-flop stores exactly one bit of binary information (0 or 1). This is fundamental to digital electronics - flip-flops are the basic building blocks for memory and registers. Multiple flip-flops can be combined to store multiple bits (8 flip-flops for a byte, 16 for a word, etc.), but each individual flip-flop holds only one bit.
D
Correct answer
Explanation
A NOR gate (Not OR) outputs a high signal (ON) only when all of its inputs are low (OFF). If any input is high, the OR part becomes high, and the NOT part inverts it to low.
-
Accumulator
-
Stack
-
Counter
-
Flags
D
Correct answer
Explanation
The status register in microprocessors is commonly called the 'Flags' register because it contains individual flag bits (zero, carry, overflow, etc.) that indicate the status of arithmetic and logical operations. Accumulator, stack, and counter are different processor components.
A
Correct answer
Explanation
The Intel 8085 microprocessor is housed in a 40-pin Dual Inline Package (DIP). This is a standard package for many 8-bit microprocessors of that era. 16, 60, and 45 pins are incorrect for the 8085.
-
AND, OR and XOR
-
AND, OR and NAND
-
AND, OR and NOT
-
XOR, NOR and NAND
C
Correct answer
Explanation
The set {AND, OR, NOT} is a functionally complete set of logical operators, meaning any possible Boolean function can be constructed using only these three types of gates. NAND and NOR are also individually complete, but XOR is not.
-
Flip-Flop
-
Boolean Algebra
-
Gate
-
Counter