Advanced Computer Architecture MCQs with Answers
Practice important Advanced Computer Architecture MCQs with answers and explanations.
Chapter: 1
Q41:
The ______ register holds status information about the processor.
A. Data register
B. Flag register
C. Memory register
D. Address bus
Correct Answer:
B
Chapter: 1
Q42:
What is the role of the assembler?
A. Execute programs
B. Convert assembly language to machine language
C. Store data
D. Perform I/O operations
Correct Answer:
B
Chapter: 1
Q43:
In the fetch-execute cycle, what does the CPU do after decoding an instruction?
A. Fetch the next instruction
B. Execute the current instruction
C. Increase the program counter by 2
D. Store the result in memory
Correct Answer:
B
Chapter: 1
Q44:
A performance benchmark is used to ______.
A. Test assembly code
B. Measure the performance of a machine
C. Translate high-level language into assembly language
D. Debug a program
Correct Answer:
B
Chapter: 1
Q45:
What type of logic is used in modern processors?
A. Fluidic logic
B. VLSI
C. Quantum logic
D. Optical logic
Correct Answer:
B
Chapter: 1
Q46:
What tool does a logic designer use to simulate the design of a computer?
A. Debugger
B. Logic analyzer
C. CAD tools
D. Web browser
Correct Answer:
C
Chapter: 2
Q47:
Which type of machine uses accumulators to hold one source operand and the result of operations?
A. Stack-based machines
B. Accumulator-based machines
C. General-purpose register machines
D. Load-store machines
Correct Answer:
B
Chapter: 2
Q48:
What is the function of the stack in stack-based machines?
A. To store data temporarily
B. To hold source operands and results
C. To reverse the order of operands
D. To execute code instructions
Correct Answer:
C
Chapter: 2
Q49:
Which class of instruction does not need to specify operand addresses during operations?
A. 0-address instructions
B. 1-address instructions
C. 2-address instructions
D. 3-address instructions
Correct Answer:
A
Chapter: 2
Q50:
How many fields does a 2-address instruction have?
A. One
B. Two
C. Three
D. Four
Correct Answer:
C
Chapter: 2
Q51:
In general-purpose register machines, what can CPU registers be used for?
A. Holding instructions only
B. Holding operands and addresses
C. Performing arithmetic operations
D. Managing memory
Correct Answer:
B
Chapter: 2
Q52:
What is an instruction set in a computer architecture?
A. A collection of memory addresses
B. A collection of machine language commands
C. A set of registers
D. A group of ALUs
Correct Answer:
B
Chapter: 2
Q53:
In which machines is only the load/store instruction used to access memory?
A. General-purpose machines
B. Accumulator-based machines
C. Load-store machines
D. Stack-based machines
Correct Answer:
C
Chapter: 2
Q54:
What is the main disadvantage of register-register instructions?
A. Increased memory traffic
B. Increased instruction count
C. Slower clock cycles
D. Complex instruction format
Correct Answer:
B
Chapter: 2
Q55:
In a 1½-address instruction, what is used besides a memory address?
A. A CPU register
B. A program counter
C. An ALU
D. An accumulator
Correct Answer:
A
Chapter: 2
Q56:
What is the code size of a 3-address instruction?
A. 4 bytes
B. 7 bytes
C. 10 bytes
D. 13 bytes
Correct Answer:
C
Chapter: 2
Q57:
What does a load instruction do in load-store machines?
A. Transfers data between memory and CPU registers
B. Executes arithmetic operations
C. Retrieves data from the ALU
D. Pushes results to the stack
Correct Answer:
A
Chapter: 2
Q58:
Which class of machine allows the use of operands and results only from CPU registers?
A. Accumulator-based machines
B. Load-store machines
C. Memory-memory machines
D. General-purpose register machines
Correct Answer:
B
Chapter: 2
Q59:
What is the purpose of the op-code field in an instruction?
A. To specify the type of operation
B. To hold the result
C. To load memory addresses
D. To store the operand
Correct Answer:
A
Chapter: 2
Q60:
Which of the following registers are examples of transparent registers?
A. Program counter and stack pointer
B. General-purpose registers
C. Accumulators
D. Arithmetic registers
Correct Answer:
A