Study Guide Q's Flashcards
Which of the following describes rotational delay?
A) Time to move the read/write head to the correct track
B) Time for the desired sector to rotate under the read/write head
C) Time to transfer data to the computer once it is under the read/write head
D) Time to spin up the disk to its operational speed
B) Time for the desired sector to rotate under the read/write head
Which of the following describes seek time?
A) Time for the desired sector to rotate under the read/write head
B) Time to move the read/write head to the correct track
C) Time to transfer data once the head is in position
D) Time to access data on a solid-state drive
B) Time to move the read/write head to the correct track
You have memory blocks of sizes: 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order). A process requests 250 KB of memory.
Which block would Best Fit choose?
300 KB
You have memory blocks of sizes: 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order). A process requests 250 KB of memory.
Which block would Worst Fit choose?
600 KB
You have memory blocks of sizes: 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order). A process requests 250 KB of memory.
Which block would First Fit choose?
500 KB
You have memory blocks of sizes: 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order). A process requests 250 KB of memory.
Which block would Next Fit choose? (Assume the last allocation was made in the 300 KB block)
600 KB
What is the primary role of an operating system?
A) To manage the hardware and software resources of the system
B) To act as a bridge between hardware capabilities and user needs
C) To run applications directly without hardware intervention
D) To replace hardware functionality entirely
B) To act as a bridge between hardware capabilities and user needs
Which feature of the OS allows multiple programs to run simultaneously?
A) Abstraction
B) Multiprogramming
C) Resource Allocation
D) Virtualization
B) Multiprogramming
How does the OS abstract hardware functionality for users?
A) By giving direct access to hardware
B) By simplifying and hiding the complexity of hardware
C) By requiring applications to handle hardware-level instructions
D) By allowing hardware to run independently of the OS
B) By simplifying and hiding the complexity of hardware
Virtualization in an operating system:
A) Provides direct access to hardware components
B) Creates the illusion of more favorable hardware characteristics
C) Duplicates hardware components for redundancy
D) Runs only one application at a time
B) Creates the illusion of more favorable hardware characteristics
Which component of the OS is primarily responsible for managing resources?
A) Kernel
B) User Interface
C) File System
D) Device Driver
A) Kernel
What is a process?
A) A hardware component of the computer
B) A sequence of static instructions
C) A program in execution
D) A component of the OS
C) A program in execution
Which of the following is a characteristic of a thread?
A) Operates independently of processes
B) Does not share memory space with other threads in the same process
C) Is a smaller unit of execution within a process
D) Is managed only at the hardware level
C) Is a smaller unit of execution within a process
What does the Process Control Block (PCB) store?
A) Information about a process, such as its state, memory, and open files
B) Details about all threads in the system
C) The instructions for a process
D) Information about CPU hardware
A) Information about a process, such as its state, memory, and open files
In which scheduling algorithm does each process get a fixed time quantum?
A) Shortest Job First (SJF)
B) Priority Scheduling
C) Round Robin (RR)
D) First-Come, First-Served (FCFS)
C) Round Robin (RR)