Operating Systems

Processes, memory, scheduling, file systems, and concurrency.

01

Quizzes

10

Questions

00

eBooks

00

Articles

00

Likes

89

Views

00

Shares

Operating Systems

QUESTION NO 01
Share
A semaphore is used for?

Answer: Process synchronization
Semaphores coordinate access to shared resources and signaling between processes.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 02
Share
Thrashing in OS terms means?

Answer: Excessive paging with little useful work
Thrashing occurs when the system spends most time swapping pages, not executing.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 03
Share
Which scheduler decides which ready process runs next?

Answer: CPU / short-term scheduler
The short-term (CPU) scheduler picks the next process from the ready queue.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 04
Share
A deadlock requires which condition?

Answer: Circular wait (among others)
Coffman conditions include mutual exclusion, hold-and-wait, no preemption, and circular wait.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 05
Share
A thread is often described as a?

Answer: Lightweight process
Threads share process address space and are cheaper to create/switch than full processes.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 06
Share
Virtual memory allows programs to?

Answer: Use more address space than physical RAM
Virtual memory maps a large address space onto RAM and disk (swap).
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 07
Share
A process in the ready state is waiting for?

Answer: CPU time
Ready processes are runnable and waiting to be scheduled on the CPU.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 08
Share
Paging divides memory into?

Answer: Fixed-size pages/frames
Paging maps fixed-size virtual pages to physical frames.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 09
Share
Context switching means?

Answer: Saving/restoring CPU state when changing processes
The OS saves one process's registers and loads another's during a switch.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 10
Share
The main job of an operating system is to?

Answer: Manage hardware and software resources
An OS manages CPU, memory, devices, and provides services to programs.
302 Quizzes
2930 Questions
00 Likes