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 31 โ€“ 40 of 141 Questions
Page 4 of 15
Q31
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS Disk Services (INT 13h)Hard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the architecture, vectoring mechanism, and primary services provided by the BIOS INT 13h disk interface.
๐Ÿ’ป assembly Snippet
mov ah, 0x02
mov al, 1
mov ch, 0
mov cl, 2
mov dh, 1
mov dl, 0
mov bx, sector
int 0x13
Q32
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ DOS File System and Directory StructureEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many bytes are allocated for a root directory entry in a FAT12 floppy disk structure?
Q33
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS Disk Services (INT 13h)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which register is used by BIOS INT 13h services to return the status or error code after a disk operation?
๐Ÿ’ป assembly Snippet
mov ah, 0x02    ; Service 2: Read Sectors
mov al, 1       ; Sector count
int 0x13        ; Invoke BIOS Disk Service
jc  disk_error  ; Jump if Carry Flag is set
; AH contains error code if CF = 1
  1. A.Carry Flag (CF)
  2. B.DL Register
  3. C.AH Register
  4. D.AL Register
Q34
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ DOS File System and Directory StructureEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In what logical unit or structure does the operating system organize data on persistent storage media?
  1. A.Folder
  2. B.Batch file
  3. C.File
  4. D.None of the above
Q35
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS Disk Sector Access ServicesMedium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the function of BIOS DISK service INT 13h when register AH is set to 0x03?
๐Ÿ’ป assembly Snippet
mov ah, 0x03    ; Service 3: Write Disk Sectors
mov al, 1       ; Number of sectors
mov ch, 0       ; Cylinder 0
mov cl, 2       ; Sector 2
mov dh, 1       ; Head 1
mov dl, 0       ; Drive A:
mov bx, buffer  ; ES:BX -> data source
int 0x13        ; Invoke BIOS service
  1. A.Get drive parameters
  2. B.Reset disk sector
  3. C.Write disk sector
  4. D.Read disk sector
Q36
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS INT 13h LBA ExtensionsHard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the architecture, structure, and operation of BIOS INT 13h Extended Read Services (Service 0x42).
๐Ÿ’ป assembly Snippet
mov ah, 0x42
mov dl, 0x80
mov si, dap
int 0x13
Q37
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ DOS vs BIOS File System AbstractionsMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which software interface layer provides a higher-level, logical view of persistent storage media by organizing raw disk sectors into files and directories?
  1. A.BIOS
  2. B.DOS
  3. C.Both BIOS and DOS
  4. D.None of the above
Q38
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS vs DOS Storage ViewsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
While operating systems like DOS organize storage media into logical file systems and directory structures, BIOS software sees disk drives as ________.
  1. A.Logical storage
  2. B.Physical storage (raw sectors)
  3. C.File structures
  4. D.Virtual storage
Q39
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS vs DOS Disk Storage AbstractionsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
While operating systems like DOS view disks as logical file systems, how does the system BIOS view storage drives?
  1. A.Logical storage
  2. B.Raw storage (physical sectors)
  3. C.In the form of sectors only
  4. D.In the form of tracks only
Q40
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ DOS File Management Services (INT 21h Service 3Ch)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how to create or truncate a file in assembly language using DOS INT 21h Service 3Ch, including parameter inputs and return flags.
๐Ÿ’ป assembly Snippet
mov ah, 0x3C
mov cx, 0
mov dx, filename
int 0x21