Skip to main content

Advanced Computer Architecture MCQs with Answers

Practice important Advanced Computer Architecture MCQs with answers and explanations.

Chapter: 3
Q101:
Fill in the blank: The la instruction in SRC is used to load a register with an ________.
A. Immediate data value
B. Indexed data value
C. Absolute memory address
D. Floating-point value
Correct Answer: A
Chapter: 3
Q102:
Fill in the blank: The str instruction stores register contents to _______.
A. Cache
B. Memory
C. ALU
D. Register
Correct Answer: B
Chapter: 4
Q103:
How many general-purpose registers does the SRC machine have?
A. 16
B. 32
C. 64
D. 128
Correct Answer: B
Chapter: 4
Q104:
What is the size of each register in the SRC machine?
A. 16 bits
B. 32 bits
C. 64 bits
D. 128 bits
Correct Answer: B
Chapter: 4
Q105:
Which of the following registers in the SRC is used to store the current instruction?
A. IR (Instruction Register)
B. PC (Program Counter)
C. R0
D. R31
Correct Answer: A
Chapter: 4
Q106:
The memory word size in SRC is ________.
A. 8 bits
B. 16 bits
C. 32 bits
D. 64 bits
Correct Answer: C
Chapter: 4
Q107:
The memory space size in SRC is ________.
A. 2^16 bytes
B. 2^32 bytes
C. 2^64 bytes
D. 2^128 bytes
Correct Answer: B
Chapter: 4
Q108:
The SRC machine uses ________ byte storage.
A. Little-endian
B. Big-endian
C. Mixed-endian
D. None of the above
Correct Answer: B
Chapter: 4
Q109:
What does R[3] refer to in SRC notation?
A. The value of register 3
B. The memory address 3
C. The third instruction in memory
D. The third byte of memory
Correct Answer: A
Chapter: 4
Q110:
What instruction type in SRC is used for the 'nop' operation?
A. Type A
B. Type B
C. Type C
D. Type D
Correct Answer: A
Chapter: 4
Q111:
The 'ldr' instruction in SRC uses which addressing mode?
A. Direct addressing
B. Relative addressing
C. Indexed addressing
D. Immediate addressing
Correct Answer: B
Chapter: 4
Q112:
The 'addi' instruction in SRC performs which operation?
A. Immediate 2’s complement addition
B. Logical AND
C. Logical OR
D. Arithmetic shift
Correct Answer: A
Chapter: 4
Q113:
Which opcode is used for the 'stop' operation in the SRC?
A. 31
B. 2
C. 6
D. 4
Correct Answer: A
Chapter: 4
Q114:
The 'st' instruction in SRC stores a register's contents to memory using which addressing mode?
A. Relative addressing
B. Immediate addressing
C. Direct addressing
D. Register addressing
Correct Answer: C
Chapter: 4
Q115:
What operation does the 'andi' instruction in SRC perform?
A. Immediate logical AND
B. Immediate logical OR
C. Immediate 2’s complement addition
D. Shift right
Correct Answer: A
Chapter: 4
Q116:
What does the 'brnz' instruction do?
A. Branch if register content is zero
B. Branch if register content is non-zero
C. Branch if content is positive
D. Branch if content is negative
Correct Answer: B
Chapter: 4
Q117:
The SRC uses ________ for shifting bits right, with zeroes shifted in from the left.
A. shr
B. shra
C. shl
D. shc
Correct Answer: A
Chapter: 4
Q118:
The 'shc' instruction in SRC performs which operation?
A. Arithmetic shift left
B. Logical shift right
C. Circular shift left
D. Circular shift right
Correct Answer: D
Chapter: 4
Q119:
Which opcode is used for the 'or' instruction in the SRC?
A. 12
B. 14
C. 20
D. 22
Correct Answer: D
Chapter: 4
Q120:
Fill in the blank: The ________ instruction in SRC is used to load a register from memory.
A. st
B. ld
C. la
D. ori
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Advanced Computer Architecture

🚀 Start Quiz Now