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

Multiple choice
  1. binary 6 (0110) is added

  2. binary 9 (1001) is added

  3. no number is added

  4. bianry 1 (001) is added

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. a fixed AND array

  2. a fixed OR array

  3. programmable AND array an fixed OR array

  4. programmable OR array and fixe AND array

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. BJT

  2. FET

  3. MOS

  4. IGBT

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. TTL

  2. ECL

  3. RTL

  4. DTl

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Synchronous sequential circuit

  2. Asynchronous sequential circuit

  3. Both of the above

  4. None of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. a delay switch

  2. a toggle switch

  3. a simple switch

  4. none of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. speed of super computers

  2. speed of an internet connection

  3. speed of a printer

  4. resolution of an image

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Simply parity check

  2. Checksum

  3. Two-dimensional parity check

  4. CRC

  5. None of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Direction flag

  2. Trap flag

  3. Interrupt flag

  4. Overflow flag

  5. Sign flag

Reveal answer Fill a bubble to check yourself
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.