67
67
d) A fixed-size cache
a) Entire program
d) Kernel modules
b) Resident set
c) Page table
d) Cache block
b) An interrupt is generated
d) The OS reboots
a) A CPU register
c) A type of cache
d) Network storage
a) Executing instructions
b) Swapping process pieces
c) Idle
d) Booting
a) Hardware only
b) Software only
d) Neither
a) Process creation
b) File sharing
c) Replacing RAM entirely
d) Shared libraries
a) Disk storage
c) Virtual addresses
d) Cache memory
a) CPU allocation
c) User input
d) A system reboot
a) Paging
b) Virtual memory
c) Caching
d) Interrupt handling
d) No disk usage
a) Entire process
d) No code
a) Only segmentation
b) Only paging
d) No specific mechanism
a) System call
c) CPU overheating
d) User command
22. Which of the following is a benefit of virtual memory?
b) Simplified programming
c) Elimination of RAM
d) A type of cache
a) Avoid thrashing
d) Eliminate interrupts
25. Which component manages page movement between disk and memory?
a) CPU
b) OS software
c) Disk controller
d) Compiler
26. Virtual memory allows more processes to run by:
a) Page table
b) Swap space
c) CPU cache
d) Disk storage
29. What happens after a disk I/O completes for a blocked process?
a) Process terminates
d) OS reboots
b) Software abstraction
c) Network protocol
d) Power-saving mode
a) FCFS
b) SSTF
c) Priority scheduling
d) SCAN
c) Schedule processes
d) Handle interrupts
c) No multiprogramming support
d) Cache lines
b) It simplifies programming
a) Single-tasking systems
b) Multiprogramming systems
---
a) CPU cache
c) RAM
d) BIOS
a) Magnetic tape
b) Optical disk
c) Cloud storage
d) SSD
a) Primary storage
b) Nonvolatile storage
c) Volatile storage
d) CPU registers
a) Platters
b) Read/write heads
c) Actuator arm
d) GPU
a) Rotational delay
b) Seek time
c) Transfer time
d) Access time
d) All three
a) FIFO
b) SSTF
c) SCAN
d) C-SCAN
a) FIFO
b) SSTF
c) PRI
d) LIFO
c) Storing data
a) A single track
c) A sector
c) Seek
d) Compress data
c) User input
d) Network traffic
16. Which scheduling algorithm is fair but may have high seek time?
a) FIFO
b) SSTF
c) SCAN
d) C-SCAN
c) No rotational delay
c) Reading data
d) Writing data
a) SCAN
b) C-SCAN
c) FIFO
d) SSTF
a) Seek time
b) Rotational delay
d) Transfer rate
a) Disk scheduler
b) OS
c) CPU
d) User programs
b) Replacing RAM
c) Cooling HDDs
a) HDD
b) RAM
c) CPU cache
d) DRAM
b) A linear path
c) A single byte
d) A memory address
a) SCAN
b) C-SCAN
c) SSTF
d) FIFO
a) A division of a track
b) A full platter
c) The arm mechanism
a) SCAN
b) SSTF
c) FIFO
d) LIFO
b) Rotational speed
c) Seek time
d) Disk size
a) C-SCAN
b) SSTF
c) FIFO
d) Random
a) A magnetic disk
a) SCAN
b) SSTF
c) FCFS
d) Round-Robin
a) Seek time
b) Rotational delay
c) Transfer rate
d) Disk capacity
a) SCAN
b) C-SCAN
c) SSTF
d) FIFO
c) OS kernel
d) CPU instructions
36. Which is a disadvantage of SSTF?
b) Starvation
c) Low throughput
d) No rotational delay
a) FSCAN
b) C-SCAN
c) SSTF
d) FIFO
a) Arm movement
b) Disk rotation
c) Data transfer
d) Power supply
40. Which is NOT a mass-storage device?
a) HDD
b) SSD
c) RAM
d) Magnetic tape
---
**Lecture 6 Answers:**
1-b, 2-b, 3-d, 4-b, 5-b, 6-b, 7-b, 8-b, 9-b, 10-b, 11-c, 12-b, 13-c, 14-b, 15-b,
16-b, 17-b, 18-b, 19-c, 20-c, 21-b, 22-b, 23-b, 24-a, 25-b, 26-c, 27-b, 28-c,
29-b, 30-b, 31-d, 32-a, 33-a, 34-b, 35-b, 36-b, 37-b, 38-b, 39-b, 40-b.
**Lecture 7 Answers:**
1-b, 2-d, 3-b, 4-d, 5-b, 6-b, 7-a, 8-a, 9-c, 10-b, 11-b, 12-b, 13-b, 14-d, 15-b,
16-a, 17-a, 18-b, 19-b, 20-a, 21-c, 22-b, 23-a, 24-a, 25-a, 26-a, 27-a, 28-a,
29-a, 30-a, 31-a, 32-d, 33-a, 34-a, 35-a, 36-b, 37-a, 38-a, 39-a, 40-c.
---