Computer Architecture & Assembly Language MCQs with Answers
Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.
Multiple Choice Questions
Q71: What is the opcode for a near jump in assembly language?
- A: EA
- B: EB
- C: E9
- D: F2
View Answer
C
Q72: What is the result of multiplying binary numbers 1101 and 0101?
- A: 1010100
- B: 11000011
- C: 1100100
- D: 1000001
View Answer
D
Q73: In the multiplication algorithm, what happens to the multiplicand after each step?
- A: It remains unchanged
- B: It is shifted left by one position
- C: It is shifted right by one position
- D: It is divided by 2
View Answer
B
Q74: What does the Shift Logical Right (SHR) operation do to the bits?
- A: Inserts 1 from the left
- B: Inserts 0 from the left
- C: Shifts bits to the left
- D: Multiplies the number by 2
View Answer
B
Q75: Which instruction is equivalent to multiplication by 2?
- A: SHR
- B: ROR
- C: SHL
- D: SAR
View Answer
C
Q76: What happens to the sign bit in Shift Arithmetic Right (SAR) operation?
- A: It changes to 0
- B: It is moved to the right
- C: It remains unchanged
- D: It is moved to the left
View Answer
C
Q77: How is the carry flag used in the Rotate Through Carry Right (RCR) operation?
- A: It is ignored
- B: It is shifted to the left
- C: It is inserted from the left
- D: It is inserted from the right
View Answer
C
Q78: What does the Rotate Left (ROL) instruction do?
- A: Moves each bit to the right
- B: Moves each bit to the left
- C: Inserts 1 from the left
- D: Inserts 0 from the right
View Answer
B
Q79: Which of the following operations is NOT a bit manipulation technique?
- A: SHR
- B: ROL
- C: ADD
- D: RCR
View Answer
C
Q80: What is the purpose of shifting the multiplier in the multiplication algorithm?
- A: To move it to the right
- B: To move it to the left
- C: To add it to the result
- D: To clear the carry flag
View Answer
A