Ch 13: Multitasking & Cooperative Kernels

141 Questions141 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 131 โ€“ 140 of 141 Questions
Page 14 of 15
Q131
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.3. Storage Access using DOSEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS.COM program, what is the maximum length of parameter bytes that can be passed through the command line (command tail)?
๐Ÿ’ป assembly Snippet
mov cl, [0x80]  ; Command tail length byte (max 127)
  1. A.63 bytes
  2. B.127 bytes
  3. C.255 bytes
  4. D.511 bytes
Q132
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.1. Physical StructureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In disk file systems, what does the acronym BPB stand for?
  1. A.Basic Parameter Block
  2. B.BIOS Precise Block
  3. C.Basic Precise Block
  4. D.BIOS Parameter Block
Q133
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.2. BIOS Disk ServicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In BIOS INT 13h disk services, which status flag is used to signal whether an operation succeeded or failed?
๐Ÿ’ป assembly Snippet
mov ah, 0x02
int 0x13
jc disk_error  ; Branch if CF = 1
  1. A.Carry Flag (CF)
  2. B.Zero Flag (ZF)
  3. C.Sign Flag (SF)
  4. D.Overflow Flag (OF)
Q134
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.2. BIOS Disk ServicesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In BIOS INT 13h disk services, which register is used to return the error status code when an operation fails?
๐Ÿ’ป assembly Snippet
mov ah, 0x02
int 0x13
jc error_handler  ; AH contains error code if CF = 1
  1. A.CF
  2. B.DL
  3. C.AH
  4. D.AL
Q135
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.1. Physical StructureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The first physical sector on a partitioned hard disk contains the Master Boot Record (MBR), which includes the boot code and the:
  1. A.Hard disk size
  2. B.Partition table
  3. C.Data size
  4. D.Sector size
Q136
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.3. Storage Access using DOSEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In secondary storage media management, the operating system organizes logical data in the form of:
  1. A.Folder
  2. B.Batch file
  3. C.File
  4. D.None of the above
Q137
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.3. Storage Access using DOSEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the DOS buffered keyboard input service (INT 21h, Service 0Ah), which byte offset of the input buffer structure stores the actual number of characters read upon return?
๐Ÿ’ป assembly Snippet
buffer db 80    ; max bytes (offset 0)
       db ?     ; actual count read (offset 1)
       db 80 dup(?) ; string buffer (offset 2+)
  1. A.First byte (offset 0)
  2. B.Second byte (offset 1)
  3. C.Third byte (offset 2)
  4. D.Fourth byte (offset 3)
Q138
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.3. Storage Access using DOSEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The first executable instruction of a DOS.COM executable file must be located at which segment offset?
๐Ÿ’ป assembly Snippet
org 0x0100  ; .COM file entry point offset
  1. A.0x0010
  2. B.0x0100
  3. C.0x1000
  4. D.0x0000
Q139
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.4. Device DriversMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the Device Attribute Word of a DOS device driver header, which bit determines whether it is a character device or a block device?
  1. A.Bit 12
  2. B.Bit 13
  3. C.Bit 14
  4. D.Bit 15
Q140
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ 13.1. Physical StructureMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Fill in the missing blanks in the following passage describing BIOS disk storage structure: 'BIOS sees the disks as a combination of sectors, tracks, and (1)________, as a raw storage device without concern to whether it is reading a file or directory. (2)________ provides the simplest and most powerful interface to the storage medium. However this raw storage is meaningless to the user who needs to store his files and organize them into (3)________.'