Ch 12: Terminate and Stay Resident (TSR)

127 Questions127 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 121 โ€“ 127 of 127 Questions
Page 13 of 13
Q121
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. BIOS Video ServicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In VGA text mode, a character font matrix of dimensions 8x16 pixels is stored using how many bytes per character pattern?
  1. A.2
  2. B.4
  3. C.8
  4. D.16
Q122
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. BIOS Video ServicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Software interrupt vector INT 10h is reserved for accessing which system services?
๐Ÿ’ป assembly Snippet
mov ah, 0x0e
mov al, 'A'
int 0x10
  1. A.RAM
  2. B.Disk
  3. C.BIOS video
  4. D.DOS video
Q123
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. BIOS Video ServicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In computer graphics and BIOS interfaces, video services and display modes are broadly classified into how many main categories?
  1. A.2
  2. B.3
  3. C.4
  4. D.5
Q124
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. VESA GraphicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Give the name and function code of any one standard VESA BIOS Extension (VBE) service.
๐Ÿ’ป assembly Snippet
mov ax, 0x4f01
mov cx, 0x0101  ; Mode number
int 0x10
Q125
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. 32-Bit x86 ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 32-bit x86 architecture, the lower 16 bits of the 32-bit extended accumulator register EAX are directly referenced as:
  1. A.AX
  2. B.BX
  3. C.EAX
  4. D.None of the above
Q126
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. 32-Bit x86 ArchitectureMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What are the 32-bit general-purpose registers in IA-32 (x86) architecture, and what are the primary operational functions of EAX, ECX, EDX, and EBX?
๐Ÿ’ป assembly Snippet
; Example 32-bit x86 register usage
add eax, 100       ; Compact 5-byte instruction encoding
mov ecx, 10        ; Initialize loop counter
my_loop:
loop my_loop       ; Automatically decrements ECX until 0
Q127
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. 32-Bit x86 ArchitectureMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What are the specialized functions of the 32-bit IA-32 pointer and index registers: ESP, EBP, ESI, and EDI?
๐Ÿ’ป assembly Snippet
; Example stack frame setup and string block copy
push ebp
mov ebp, esp        ; Establish stack frame base
mov esi, src_buffer ; ESI points to source string
mov edi, dst_buffer ; EDI points to destination buffer
rep movsd           ; Copy string DWORDs from ESI to EDI