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
-
binary 6 (0110) is added
-
binary 9 (1001) is added
-
no number is added
-
bianry 1 (001) is added
A
Correct answer
Explanation
In BCD addition, when the binary sum exceeds 9 or produces a carry, adding binary 6 (0110) corrects it to valid BCD. This adjustment accounts for the 6 invalid BCD states (10-15) that are valid in binary but not in BCD representation.
-
a fixed AND array
-
a fixed OR array
-
programmable AND array an fixed OR array
-
programmable OR array and fixe AND array
C
Correct answer
Explanation
PAL (Programmable Array Logic) has a programmable AND array followed by a fixed OR array. Users can program the AND gates to generate desired product terms, but the OR array connections are fixed at manufacturing time. This gives PAL its flexibility while keeping cost lower than fully programmable PLA.
C
Correct answer
Explanation
Unipolar logic families use devices that rely on only one type of charge carrier (electrons or holes). MOS (Metal-Oxide-Semiconductor) transistors are unipolar devices as they use only majority carriers for conduction. BJT and IGBT are bipolar devices using both electrons and holes, while FET is a broader category that includes MOSFETs.
B
Correct answer
Explanation
ECL (Emitter-Coupled Logic) is the fastest logic family because its transistors never saturate, eliminating storage delay. TTL and its predecessors like RTL and DTL have slower switching speeds due to saturation effects. ECL achieves nanosecond propagation delays at the cost of higher power consumption.
-
Synchronous sequential circuit
-
Asynchronous sequential circuit
-
Both of the above
-
None of these
B
Correct answer
Explanation
Race conditions occur in asynchronous sequential circuits because inputs can change at different times and signals propagate through paths of different delays without a clock to synchronize them. Synchronous circuits use a clock to ensure all state changes occur simultaneously, eliminating race conditions.
-
a delay switch
-
a toggle switch
-
a simple switch
-
none of these
B
Correct answer
Explanation
T flip-flop toggles its output state on each clock pulse when T=1, making it ideal for toggle applications like frequency division. It's not a delay switch, simple switch, or general-purpose switching element - its primary function is toggling between two states.
-
Reference matrix
-
Approximate method
-
Counters
-
Register stack
-
Queues
D
Correct answer
Explanation
This implementation method forms a set of n-bit registers, one for each block in the set to be considered.
-
speed of super computers
-
speed of an internet connection
-
speed of a printer
-
resolution of an image
A
Correct answer
Explanation
FLOPS (Floating Point Operations Per Second) is a standard metric for measuring computational performance, specifically for supercomputers. It counts how many floating-point calculations a processor can perform in one second. Unlike other options: internet speed uses Mbps/Gbps, printers use PPM (pages per minute), and image resolution uses pixels or DPI.
-
Intersection
-
Cartesian product
-
Difference
-
Both (2) and (3)
-
All of these
D
Correct answer
Explanation
All of the given options are true. So, this is the correct choice.
-
Simply parity check
-
Checksum
-
Two-dimensional parity check
-
CRC
-
None of these
B
Correct answer
Explanation
Checksum is the error detection method that uses one's complement arithmetic to detect data transmission errors. It sums data values and uses one's complement for overflow handling. Parity checks use single bits, CRC uses polynomial division, and 2D parity adds a second dimension.
C
Correct answer
Explanation
ALE is an active high output signal provided by processor to latch the address into 8282/8283 address latch.
-
Zero
-
Carry
-
Parity
-
Auxiliary
-
Sign
A
Correct answer
Explanation
Zero is set to 1 if the .result of the arithmetic or logical operation is 0 or otherwise reset to 0.
-
Direction flag
-
Trap flag
-
Interrupt flag
-
Overflow flag
-
Sign flag
A
Correct answer
Explanation
Direction flag in 8088 if set, leads to accessing of string bytes from higher to lower memory address and if the flag is reset, then accessing of string bytes is from lower to higher memory address.
A
Correct answer
Explanation
PUSHF puts the content of the flag register on to the stack.
C
Correct answer
Explanation
This jump allows jump if the first operand is not greater than second operand.