Skip to main content

Computer Architecture & Assembly Language MCQs with Answers

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

Chapter: 1
Q21:
What does the direction flag control in string instructions?
A. Whether the operation is performed from bottom to top or top to bottom
B. Whether the operation is performed from top to bottom or bottom to top
C. The data type used in the operation
D. The size of the block of data being operated on
Correct Answer: B
Chapter: 1
Q22:
Which segment register points to the currently executing code?
A. DS
B. SS
C. CS
D. ES
Correct Answer: C
Chapter: 1
Q23:
How many bytes are in a word in the Intel 8088 architecture?
A. 1 byte
B. 2 bytes
C. 4 bytes
D. 8 bytes
Correct Answer: B
Chapter: 1
Q24:
What is the opcode for moving a constant into the AX register?
A. B8
B. BB
C. 1
D. 4C
Correct Answer: A
Chapter: 1
Q25:
In the segmented memory model, what is the maximum size of a segment?
A. 16 KB
B. 64 KB
C. 256 KB
D. 1 MB
Correct Answer: B
Chapter: 1
Q26:
How is a physical address calculated from a segment and an offset?
A. Segment × 16 + Offset
B. Segment + Offset × 16
C. Segment + Offset
D. Segment × Offset
Correct Answer: A
Chapter: 1
Q27:
What does the overflow flag indicate?
A. Carry into the MSB is the same as the carry out of the MSB
B. The result of an operation exceeds the size of the register
C. A zero result in an arithmetic operation
D. An error in the logical operation
Correct Answer: B
Chapter: 1
Q28:
Which register holds the offset of the next instruction to execute?
A. AX
B. BX
C. IP
D. SP
Correct Answer: C
Chapter: 1
Q29:
What is the default segment register for the IP register?
A. CS
B. DS
C. SS
D. ES
Correct Answer: A
Chapter: 1
Q30:
In a little-endian system, which byte is stored at the lower memory address?
A. Most significant byte
B. Least significant byte
C. The higher byte
D. The lower byte
Correct Answer: B
Chapter: 1
Q31:
What is the maximum amount of memory accessible with the 8088 architecture?
A. 64 KB
B. 128 KB
C. 256 KB
D. 1 MB
Correct Answer: D
Chapter: 1
Q32:
What does the mov instruction do in assembly language?
A. Moves data between registers and memory
B. Adds data from one register to another
C. Subtracts data from one register to another
D. Multiplies data in registers
Correct Answer: A
Chapter: 1
Q33:
What does the int 0x21 instruction do in an assembly language program?
A. It performs an interrupt service routine
B. It performs a mathematical operation
C. It performs a memory read operation
D. It terminates the program
Correct Answer: A
Chapter: 2
Q34:
What does db stand for in assembly language?
A. Declare Byte
B. Define Byte
C. Declare Word
D. Define Word
Correct Answer: A
Chapter: 2
Q35:
What is the significance of square brackets in assembly language when used with a register?
A. They denote direct addressing
B. They denote indirect addressing
C. They denote immediate value
D. They denote a constant value
Correct Answer: B
Chapter: 2
Q36:
In the instruction mov ax, [num1], what is the size of the data being moved?
A. Byte
B. Word
C. Double Word
D. Quad Word
Correct Answer: B
Chapter: 2
Q37:
Why is the instruction mov ax, bl illegal?
A. The instruction uses incorrect registers
B. AX register is 16-bit while BL is 8-bit
C. Memory to memory move is not allowed
D. AX and BL cannot be used together
Correct Answer: B
Chapter: 2
Q38:
What happens if you try to use mov [num1], [num2]?
A. The operation will be performed successfully
B. It will cause a synchronization error
C. The assembler will throw an illegal instruction error
D. It will execute but produce incorrect results
Correct Answer: C
Chapter: 2
Q39:
How does the assembler resolve ambiguity in instructions like mov [num1], 5?
A. By guessing the size of data
B. By using the size of the register involved
C. By the programmer specifying the data size
D. By using default size
Correct Answer: C
Chapter: 2
Q40:
Which registers can hold the address of data in iAPX88 architecture?
A. AX, BX, CX, DX
B. BX, BP, SI, DI
C. AX, BX, SI, DI
D. BX, BP, AX, DX
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now