Computer Architecture & Assembly Language MCQs with Answers
Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.
Multiple Choice Questions
Q341: What is the maximum number of descriptors possible in the GDT?
- A: 4096
- B: 8192
- C: 16384
- D: 32768
View Answer
B
Q342: Which instruction loads the GDTR register?
- A: LGDT
- B: SGDT
- C: LDTR
- D: GDTR
View Answer
A
Q343: What must the first entry of the GDT always be?
- A: A data descriptor
- B: A code descriptor
- C: A null descriptor
- D: A stack descriptor
View Answer
C
Q344: What does the 'D' bit in a code descriptor indicate?
- A: Data segment
- B: Descriptor size
- C: Debug mode
- D: Default operation size
View Answer
D
Q345: What is the purpose of the P bit in a descriptor?
- A: Page size
- B: Program size
- C: Segment presence
- D: Processor mode
View Answer
C
Q346: Which segment selector is used to access the GDT?
- A: TI=1
- B: TI=0
- C: RPL=1
- D: RPL=0
View Answer
B
Q347: In the example code, what does the instruction mov byte [0x000b8000], 'A' do?
- A: Sets up a memory segment
- B: Prints 'A' on the screen
- C: Moves 'A' to the stack
- D: Changes segment selector
View Answer
B
Q348: Which interrupt is used to enable A20 in the provided examples?
- A: INT 10h
- B: INT 15h
- C: INT 21h
- D: INT 1Ah
View Answer
B
Q349: What does the VESA mode 4117 refer to?
- A: 800x600 resolution with 16 colors
- B: 1024x768 resolution with 16-bit color
- C: 1280x1024 resolution with 24-bit color
- D: 1920x1080 resolution with 32-bit color
View Answer
B
Q350: What is the color bit format for mode 4117?
- A: 0.16949074074074
- B: 0.21186342592593
- C: 0.21255787037037
- D: 0.25423611111111
View Answer
C