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
B
Correct answer
Explanation
This arithmetic instruction in 8086 adds two binary operands and a carry and places the result in the destination.
D
Correct answer
Explanation
A NOR gate outputs ON (logic 1) only when all inputs are OFF (logic 0). The NOR operation is equivalent to NOT-OR: it outputs 1 only when all inputs are 0, and outputs 0 if any input is 1. This makes it the logical complement of the OR gate.
A
Correct answer
Explanation
This bit of status register in the architecture of 8087 co-processor is used for over flow error that indicates a result which is too large to be represented.
-
Flag register
-
Control system
-
ALU
-
Instruction decoder
-
GPRs
A
Correct answer
Explanation
This main part of Execution Unit is a 16-bit register having 16 flip flops that shows the condition or changes produced by the execution of an instruction.
-
A19/S6
-
INTR
-
NMI
-
BHE/S7
-
RESET
D
Correct answer
Explanation
Pin 8086 is a bus high enable signal that shows the data transfer over the higher order (D15-D8) data bus.
C
Correct answer
Explanation
This instruction in 8086 microprocessor is used for signed multiplication.
-
STC no operand
-
STD no operand
-
STI no operand
-
CLC no operand
-
CLD no operand
C
Correct answer
Explanation
STI stands for Set Interrupt. This is a flag manipulation instruction in 8086, which is the interrupt flag set by the instruction that helps processor to identify the maskable interrupt on INTR pin.
-
binary
-
unary
-
general
-
none of these
C
Correct answer
Explanation
General (or counting) semaphores can take any non-negative integer value, unlike binary semaphores which are restricted to 0 and 1. This allows them to track multiple available resources or control access for multiple processes.
-
Test and set
-
Set and test
-
Both 1 and 2
-
None of these
A
Correct answer
Explanation
Test-and-Set is a fundamental hardware instruction that atomically reads and modifies a memory location, making it ideal for implementing mutual exclusion primitives. Set-and-Test is not a standard hardware instruction.
-
Port adapter
-
Logic probe
-
Loopback plug
-
Logic analyser
-
_
C
Correct answer
Explanation
It is a device used to check ports to identify network and network interface card issues.
-
Logic gate
-
Processor
-
Bus
-
Decoders
-
_
A
Correct answer
Explanation
It is a physical device which performs a logical operation on one or more logical inputs.
-
Multiplexer
-
Magnitude comparator
-
Register
-
Cache memory
-
Parity generator
C
Correct answer
Explanation
An array of flip-flops is known as register. So, this is the correct answer.
-
Demultiplexer
-
Multiplexer
-
Magnitude Comparator
-
SR Flip-Flop
-
JK Flip Flop
A
Correct answer
Explanation
Demultiplexer has a single input data and multiple output. So, this a correct option.
C
Correct answer
Explanation
This is the active low output signal in 8086 that does not allow other devices to take control over the system bus when it is set to zero.