Ch 11: Real-Time Interrupts & Timer Programming

171 Questions171 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 11 โ€“ 20 of 171 Questions
Page 2 of 18
Q11
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Serial PortEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Memory address space is selected and accessed when which of the following instructions is executed by the processor?
๐Ÿ’ป assembly Snippet
mov ax, [0x0100]
in al, 0x60
  1. A.MOV
  2. B.IN
  3. C.OUT
  4. D.INS
Q12
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Disk Services and File System ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following provides a more logical abstraction and view of the storage medium to application programs?
  1. A.DOS
  2. B.BIOS
  3. C.Both
  4. D.None
Q13
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Disk Services and File System ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
At the hardware abstraction layer, how does the System BIOS view disk storage devices?
  1. A.raw storage
  2. B.logical storage
  3. C.file system storage
  4. D.structured storage
Q14
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Concepts of MultitaskingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How can the execution speed or task-switching frequency of preemptive multitasking be adjusted in an assembly language kernel?
๐Ÿ’ป assembly Snippet
mov al, 0x36
out 0x43, al
mov ax, divisor
out 0x40, al
mov al, ah
out 0x40, al
Q15
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Disk Services and BIOS INT 13hMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how to read disk sectors into memory using System BIOS Interrupt 13h Service 02h, including required input parameters and return registers.
๐Ÿ’ป assembly Snippet
mov ah, 02h
mov al, 1
mov ch, 0
mov cl, 2
mov dh, 0
mov dl, 00h
mov bx, buffer
int 13h
Q16
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Disk Architecture and BIOS INT 13h ServicesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Read the following passage carefully and fill in the blanks with the appropriate terms in order: "BIOS sees the disks as a combination of sectors, tracks, and ________, as a raw storage device without concern to whether it is reading a file or directory. ________ 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 ________."
๐Ÿ’ป assembly Snippet
MOV AH, 02H
MOV AL, 01H
MOV CH, 00H
MOV CL, 02H
MOV DH, 00H
MOV DL, 80H
INT 13H
Q17
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Physical vs Logical Storage Abstractions (BIOS vs DOS)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which software/system layer provides a high-level logical view of the storage medium (organizing data into files and directories) rather than physical sector addressing?
  1. A.DOS
  2. B.BIOS
  3. C.Both
  4. D.None
Q18
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Physical vs Logical Storage Abstractions (BIOS vs DOS)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How does BIOS view disk storage devices?
  1. A.Raw storage
  2. B.Logical storage
  3. C.In the form of sectors only
  4. D.In the form of tracks only
Q19
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Physical vs Logical Storage Abstractions (BIOS vs DOS)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following provides a more logical abstraction view of a storage medium?
  1. A.DOS
  2. B.BIOS
  3. C.Both
  4. D.None
Q20
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Hardware Interfacing (OUT Instruction Source Register AL/AX)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing the hardware I/O port output instruction `OUT DX, src`, which register serves as the source register supplying the data byte or word?
๐Ÿ’ป assembly Snippet
out dx, al ; Sends byte in AL to I/O port specified in DX
  1. A.AL or AX
  2. B.BL or BX
  3. C.CL or CX
  4. D.DL or DX