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

Q61: Which flag combination will cause the JG (Jump if Greater) instruction to execute?
  • A: ZF = 1 and CF = 1
  • B: ZF = 0 and CF = 0
  • C: ZF = 1 and SF = OF
  • D: ZF = 0 and SF = OF
View Answer
D

Q62: What is the main difference between near and far jumps?
  • A: Far jumps are faster
  • B: Near jumps are faster
  • C: Far jumps include segment address
  • D: Near jumps include only offset address
View Answer
C

Q63: Which jump instruction would you use to branch if the sign bit indicates a negative number?
  • A: JS
  • B: JP
  • C: JNS
  • D: JO
View Answer
A

Q64: What does the JCXZ instruction do?
  • A: Jumps if the Carry Flag is set
  • B: Jumps if CX register is zero
  • C: Jumps if the Zero Flag is set
  • D: Jumps if the Sign Flag is set
View Answer
B

Q65: How does the JBE instruction determine the branch?
  • A: Based on the Zero and Carry Flags
  • B: Based on the Sign and Overflow Flags
  • C: Based on the Parity Flag
  • D: Based on the Sign Flag
View Answer
A

Q66: Which jump is taken when the Overflow Flag is set?
  • A: JO
  • B: JNO
  • C: JL
  • D: JG
View Answer
A

Q67: What does the JPE (Jump if Parity Even) instruction check?
  • A: Zero Flag
  • B: Carry Flag
  • C: Sign Flag
  • D: Parity Flag
View Answer
D

Q68: In a short jump, what is the maximum range of the jump?
  • A: 128 bytes forward or backward
  • B: 127 bytes forward or backward
  • C: 256 bytes forward or backward
  • D: 255 bytes forward or backward
View Answer
B

Q69: Which of the following is a renamed version of the JZ instruction?
  • A: JE
  • B: JC
  • C: JA
  • D: JNGE
View Answer
A

Q70: When does the JNE (Jump if Not Equal) instruction execute?
  • A: When operands are equal
  • B: When operands are not equal
  • C: When overflow occurs
  • D: When the carry flag is set
View Answer
B

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now