OS Fundamentals: Processes & Memory

Cover processes, virtual memory, and OS basics. Ideal for students and interview prep.

10

Questions

00

Attempts

00

Passed

00

Failed

00

Likes

29

Views

00

Shares

OS Fundamentals: Processes & Memory
QUESTION NO 01
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
QUESTION NO 02
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 03
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 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
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 06
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 07
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 08
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 09
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 10
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

Published By

Shahzad Mahota

@shahzad-mahota

WAS THIS QUIZ HELPFUL?
Please help us improve by giving us your feedback.
WAS THIS QUIZ HELPFUL?
Quiz complete See your shareable result poster
View result