Ch 09: Software Interrupts and DOS/BIOS Services

174 Questions174 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 101 โ€“ 110 of 174 Questions
Page 11 of 18
Q101
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Program Segment Prefix (PSP) Command Line ParametersMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM executable, at what offset within the Program Segment Prefix (PSP) do the actual command-line parameter characters begin?
๐Ÿ’ป assembly Snippet
mov si, 0x0082
  1. A.0x80
  2. B.0x82
  3. C.0x84
  4. D.0x86
Q102
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Program Segment Prefix (PSP) Command Line Memory LayoutMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM executable, at what offset within the Program Segment Prefix (PSP) do the actual user command-line parameters start?
๐Ÿ’ป assembly Snippet
mov si, 0x0082
  1. A.0x80
  2. B.0x82
  3. C.0x84
  4. D.0x86
Q103
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Program Segment Prefix (PSP) Command Line ParametersMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM executable, at what offset within the Program Segment Prefix (PSP) do the actual user command-line parameter characters begin?
๐Ÿ’ป assembly Snippet
mov si, 0x0082
  1. A.0x80
  2. B.0x82
  3. C.0x84
  4. D.0x86
Q104
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Program Segment Prefix (PSP) Command Line Parameter LengthMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM executable program, what is the maximum length of command-line parameter bytes stored within the Program Segment Prefix (PSP) offset 0x80?
๐Ÿ’ป assembly Snippet
mov cl, [0x0080]
  1. A.63 bytes
  2. B.127 bytes
  3. C.255 bytes
  4. D.256 bytes
Q105
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ DOS.COM File Structure and PSP OffsetEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS executable program, at what memory offset within the code segment must the first executable instruction of a '.COM' file be placed?
๐Ÿ’ป assembly Snippet
[org 0x0100]
  1. A.0x0010
  2. B.0x0100
  3. C.0x1000
  4. D.0x0000
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ DOS Program Segment Prefix (PSP) Command Line ArgumentsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM file, at what byte offset in the Program Segment Prefix (PSP) do the actual command-line parameter characters begin?
๐Ÿ’ป assembly Snippet
mov cl, [0x0080]
mov si, 0x0082
  1. A.0x80 (Command line length byte)
  2. B.0x82 (First parameter character)
  3. C.0x84
  4. D.0x86
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ PSP Command Line Tail Offset (0x82)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM program, at what byte offset within the Program Segment Prefix (PSP) does the first character of command line arguments begin?
๐Ÿ’ป assembly Snippet
mov si, 0x0082
  1. A.0x80
  2. B.0x82
  3. C.0x84
  4. D.0x86
Q108
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 8253/8254 PIT Timer Frequency Programming (1 ms Interrupt)Hard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write assembly language instructions to configure the Programmable Interval Timer (PIT Channel 0) to generate timer interrupts at a frequency of 1 ms (1000 Hz / 1 kHz).
๐Ÿ’ป assembly Snippet
mov al, 0x36
out 0x43, al
mov ax, 1193
out 0x40, al
mov al, ah
out 0x40, al
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ XOR Bitwise Masking and Selective InversionEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The XOR bitwise instruction can be used as a mask to perform which operation on selective bits of an operand?
๐Ÿ’ป assembly Snippet
xor al, 00001111b
  1. A.Invert (toggle) selective bits
  2. B.Clear (reset) selective bits to zero
  3. C.Set selective bits to one
  4. D.Shift selective bits right
Q110
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Near Jump Displacement Bit WidthEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 assembly language, the relative displacement offset for a Near Jump instruction is stored in how many bits?
๐Ÿ’ป assembly Snippet
jmp near_target
  1. A.4 bits
  2. B.8 bits
  3. C.16 bits
  4. D.32 bits