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

Multiple choice
  1. Compare immediate

  2. AND instructions

  3. AND immediate

  4. ADD instructions

  5. MVI group

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This instruction allows the programmer to match the byte in the accumulator with a fixed mask byte, contained in the second byte of the instruction in 8085 processor.

Multiple choice
  1. D0-D7

  2. PB0-PB7

  3. PA0-PA7

  4. PC0-PC7

  5. RD

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

These ports in 8255 microprocessor are basically bidirectional I/O pins that act as latched outputs or buffered inputs depending upon the control word loaded into the control word register.

Multiple choice
  1. 64

  2. 32

  3. 16

  4. 128

  5. 256

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

AND gate having 2 input has 4 input in truth table. AND gate having 3 input has 8 input in truth table. AND gate having 4 input has 16 input in truth table. AND gate having 5 input has 32 input in truth table. AND gate having 6 input has 64 input in truth table. AND gate having 7 input has 128 input in truth table.