Skip to main content

Computer Architecture & Assembly Language MCQs with Answers

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

Multiple Choice Questions

Q101: What is the primary function of a CALL instruction in assembly language?
  • A: Temporary diversion
  • B: Permanent diversion
  • C: Modifying registers
  • D: Terminating a program
View Answer
A

Q102: Which instruction is used to return control back to the caller after a subroutine?
  • A: CALL
  • B: JMP
  • C: RET
  • D: PUSH
View Answer
C

Q103: What problem does the concept of subroutines help to solve in programming?
  • A: Increasing the size of code
  • B: Repetition of code
  • C: Reducing execution time
  • D: Permanent diversion
View Answer
B

Q104: What is the main advantage of using subroutines in assembly language programming?
  • A: Reduces the need for loops
  • B: Facilitates code reusability
  • C: Simplifies conditional jumps
  • D: Eliminates the need for labels
View Answer
B

Q105: Which instruction in 8088 allows temporary diversion and reuse of code?
  • A: JMP
  • B: CALL
  • C: RET
  • D: MOV
View Answer
B

Q106: What is the main drawback of using JMP for code reuse compared to CALL?
  • A: JMP is slower
  • B: JMP changes the instruction pointer
  • C: JMP does not allow returning to the original location
  • D: JMP is difficult to implement
View Answer
C

Q107: How does the CALL instruction differ from the JMP instruction?
  • A: CALL modifies registers
  • B: CALL allows returning after execution
  • C: CALL is only used for loops
  • D: CALL does not use a label
View Answer
B

Q108: What is placed on the stack by the CALL instruction?
  • A: Current register values
  • B: Instruction pointer
  • C: Memory address of the label
  • D: Parameter values
View Answer
B

Q109: What does the RET instruction do in assembly language?
  • A: Restores register values
  • B: Jumps to a fixed address
  • C: Returns to the instruction after CALL
  • D: Terminates the program
View Answer
C

Q110: How is the CALL and RET pair typically used in programming?
  • A: CALL is used to terminate a program
  • B: RET is used before CALL
  • C: CALL and RET are used to create subroutines
  • D: RET is only used in loops
View Answer
C

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now