Computer Architecture & Assembly Language MCQs with Answers

Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.

Chapter: 1
Q1:
What is the primary role of the address bus in a computer system?
A. To transfer data between processor and memory
B. To specify which memory location to read or write
C. To carry control signals
D. To store instructions
Correct Answer: B
Chapter: 1
Q2:
Which bus in a computer system is bidirectional?
A. Address bus
B. Data bus
C. Control bus
D. All buses are bidirectional
Correct Answer: B
Chapter: 1
Q3:
What does the data bus do during a read operation?
A. Moves data from memory to processor
B. Moves data from processor to memory
C. Transmits control signals
D. Carries address information
Correct Answer: A
Chapter: 1
Q4:
Why is the control bus bidirectional?
A. It carries data between memory and processor
B. It carries address information between processor and memory
C. It transfers control signals in both directions
D. It transfers data between I/O devices
Correct Answer: C
Chapter: 1
Q5:
What is the primary function of the accumulator in a processor?
A. To store addresses
B. To perform arithmetic and logical operations
C. To hold data temporarily
D. To manage I/O operations
Correct Answer: B
Chapter: 1
Q6:
Which register is responsible for holding the address of the next instruction to be executed?
A. Accumulator
B. Program Counter
C. Stack Pointer
D. Index Register
Correct Answer: B
Chapter: 1
Q7:
What is the significance of the flags register in a processor?
A. It holds the next instruction's address
B. It stores data temporarily
C. It indicates various states like carry and zero
D. It performs arithmetic operations
Correct Answer: C
Chapter: 1
Q8:
Which register in Intel architecture is used for memory addressing in string instructions?
A. Accumulator
B. Base Pointer
C. Source Index (SI)
D. Destination Index (DI)
Correct Answer: C
Chapter: 1
Q9:
What is an example of a special instruction in assembly language?
A. MOV
B. ADD
C. CLI
D. CMP
Correct Answer: C
Chapter: 1
Q10:
How does the processor use the control bus?
A. To carry data between memory and peripherals
B. To determine the read or write operations
C. To indicate the data's location
D. To transfer memory addresses
Correct Answer: B
Chapter: 1
Q11:
What is the role of the program counter in instruction execution?
A. Holds data to be processed
B. Points to the next instruction
C. Stores data temporarily
D. Manages I/O operations
Correct Answer: B
Chapter: 1
Q12:
How many general-purpose registers are there in the Intel 8088 architecture?
A. 4
B. 8
C. 16
D. 32
Correct Answer: A
Chapter: 1
Q13:
What does the Zero Flag indicate in the flags register?
A. The result of an operation is zero
B. There was an overflow in addition
C. The result of an operation is non-zero
D. The data is being written to memory
Correct Answer: A
Chapter: 1
Q14:
Which instruction mnemonic is used for data movement in assembly language?
A. ADD
B. MOV
C. CMP
D. CLI
Correct Answer: B
Chapter: 1
Q15:
What is the maximum width of a register in a 32-bit processor?
A. 16 bits
B. 24 bits
C. 32 bits
D. 64 bits
Correct Answer: C
Chapter: 1
Q16:
Which flag in the flags register indicates a carry from the least significant nibble?
A. Carry Flag
B. Auxiliary Carry Flag
C. Parity Flag
D. Zero Flag
Correct Answer: B
Chapter: 1
Q17:
In the Intel architecture, what does the 'AX' register stand for?
A. Accumulator Extended
B. Accumulator
C. Address Extended
D. Address Register
Correct Answer: B
Chapter: 1
Q18:
What does the sign flag indicate in the two's complement representation?
A. The most significant bit of a positive number
B. The most significant bit of a negative number
C. The least significant bit of a positive number
D. The least significant bit of a negative number
Correct Answer: B
Chapter: 1
Q19:
What is the role of the trap flag in assembly language programming?
A. It controls the flow of the program
B. It is used for debugging
C. It manages memory segmentation
D. It handles interrupts
Correct Answer: B
Chapter: 1
Q20:
How does the interrupt flag affect the processor's operation?
A. It determines if the processor can be interrupted
B. It manages arithmetic operations
C. It handles logical operations
D. It sets the overflow condition
Correct Answer: A

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now