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 1 โ€“ 10 of 127 Questions
Page 1 of 13
Q1
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. BIOS Video ServicesMedium๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List five BIOS video services (INT 10h) commonly used in text mode along with their service numbers and descriptions.
๐Ÿ’ป assembly Snippet
mov ah, 0x02
mov bh, 0
mov dx, 0x0C28
int 0x10
Q2
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.2. VESA Video ServicesMedium๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
VESA VBE 2.0 is a video standard established for which mode of graphics displays?
๐Ÿ’ป assembly Snippet
mov ax, 0x4F02
mov bx, 0x0101
int 0x10
  1. A.High Resolution Mode
  2. B.Low Resolution Mode
  3. C.Very High Resolution Mode
  4. D.Medium Resolution Mode
Q3
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. DOS System Services and Interrupt 21hEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
DOS INT 21h Service 01h is used to read a character from standard input with echo. In which register is the ASCII character code returned?
๐Ÿ’ป assembly Snippet
MOV AH, 01H
INT 21H
  1. A.AL
  2. B.BL
  3. C.CL
  4. D.BH
Q4
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. DOS System Services and File OperationsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How do you create a new file or truncate an existing file using DOS Interrupt 21h Service 3Ch?
๐Ÿ’ป assembly Snippet
mov ah, 3ch
mov cx, 0
mov dx, filename
int 21h
Q5
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. DOS System Services and File OperationsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List and describe any five DOS Interrupt 21h (INT 21h) services used for file manipulation, including required input parameters.
๐Ÿ’ป assembly Snippet
mov ah, 3Dh
mov al, 0
mov dx, filename
int 21h
Q6
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. Device Drivers and Device Attribute Word FormatEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the DOS Device Header structure, which bit of the Device Attribute Word determines whether a driver is a Character Device (1) or a Block Device (0)?
  1. A.Bit 15
  2. B.Bit 14
  3. C.Bit 13
  4. D.Bit 12
Q7
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. Device Drivers and Device Attribute Word FormatEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the DOS Device Header structure, which bit of the Device Attribute Word determines whether the driver is a Character Device (1) or a Block Device (0)?
  1. A.Bit 15
  2. B.Bit 12
  3. C.Bit 13
  4. D.Bit 14
Q8
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. 32-bit x86 Extensions (EAX Register Partitioning)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 32-bit x86 architecture, the lower 16 bits of the 32-bit `EAX` extended accumulator register are labeled as which register?
  1. A.AX
  2. B.BX
  3. C.EAX
  4. D.none of above
Q9
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. DOS Program Segment Prefix (PSP Offset 0x82 Command Tail)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS `.COM` executable file, the command-line parameters string (command tail) starts at offset __________ in the Program Segment Prefix (PSP).
  1. A.0x80
  2. B.0x82
  3. C.0x84
  4. D.0x86
Q10
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 12๐Ÿท๏ธ 12.1. DOS Program Segment Prefix (PSP Command Tail Maximum 127 Bytes)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS `.COM` executable file, what is the maximum length of command-line parameters passed through the Program Segment Prefix (PSP command tail at offset 0x80)?
  1. A.63 bytes
  2. B.127 bytes
  3. C.255 bytes
  4. D.511 bytes