Operating systems questions and answers
Processes, memory, scheduling, file systems, security and booting.
These are practice variations, many generated from templates and numeric inputs, not an official question bank. They remain outside search indexing until at least 100 independently reviewed questions across five chapters are available.
Questions and clear answers
01Processes · foundation · Editorial previewWhat is a process in an OS?+
A process is an executing program with managed resources and its own execution context.
02Threads · foundation · Editorial previewWhat is a thread?+
A thread is an execution unit within a process and commonly shares the process's address space.
03Memory · foundation · Editorial previewWhat does virtual memory provide?+
It gives a process an abstract address space managed through mappings to physical memory and sometimes storage.
04Concurrency · foundation · Editorial previewWhat is deadlock?+
Deadlock occurs when operations wait in a cycle that prevents the group from making progress.
05CPU scheduling · advanced · Editorial previewIn operating systems — CPU scheduling: A workload performs 3475 independent tasks, each taking 10 seconds sequentially. How many seconds in total?+
Sequential time = 3475 × 10 = 34750 seconds (parallelism not assumed).
06Memory allocation · foundation · Editorial previewIn operating systems — Memory allocation: A device has 4274 MB free memory. Two tasks use 17 MB and 16 MB. How much free memory remains?+
Remaining free memory = 4274 − 17 − 16 = 4241 MB, assuming no other changes.
07Virtual memory · foundation · Editorial previewIn operating systems — Virtual memory: A virtual memory activity has 74 files using 24 MB each and 41 MB of extra files. Find total storage.+
Total = 74 × 24 + 41 = 1817 MB, before filesystem overhead.
08Processes · intermediate · Editorial previewIn operating systems — Processes: An OS model has 873 active processes and starts 8 new processes. How many are active if none exits?+
Active processes = 873 + 8 = 881.
09Threads · foundation · Editorial previewIn operating systems — Threads: A program starts 15 worker threads in each of 3 processes. How many worker threads run altogether?+
Total worker threads = 15 × 3 = 45.
10File systems · advanced · Editorial previewIn operating systems — File systems: A folder contains 2471 files and you move 22 files out of it. How many remain?+
Remaining files = 2471 − 22 = 2449, assuming no other changes.
11Page replacement · intermediate · Editorial previewIn operating systems — Page replacement: A document has 1525 paragraphs and fits 6 paragraphs per page. What is the minimum number of pages needed at this density?+
Round up 1525/6 to 255 pages (assuming no other layout constraints).
12Disk usage · foundation · Editorial previewIn operating systems — Disk usage: A disk usage activity has 4069 files using 13 MB each and 37 MB of extra files. Find total storage.+
Total = 4069 × 13 + 37 = 52934 MB, before filesystem overhead.
13Synchronization · foundation · Editorial previewIn operating systems — Synchronization: A synchronization lesson uses sample 4868. What is the main limitation of assuming the sample applies to every real device?+
Real configuration, version and context matter; verify the relevant official documentation rather than generalizing from sample 4868.
14Deadlock prevention · intermediate · Editorial previewIn operating systems — Deadlock prevention: A deadlock prevention lesson uses sample 668. What is the main limitation of assuming the sample applies to every real device?+
Real configuration, version and context matter; verify the relevant official documentation rather than generalizing from sample 668.
15Security · advanced · Editorial previewIn operating systems — Security: An email asks the owner of device 1467 to install a 'security fix' from an unknown link. What should they do?+
Do not install it. Verify updates through the official vendor or operating system, and independently check the sender and domain.
16OS boot process · foundation · Editorial previewIn operating systems — OS boot process: A 2266 GB drive contains irreplaceable files. What must be done before repartitioning for OS installation?+
Back up and verify the files independently. Partition changes and installation can erase existing data.
17CPU scheduling · intermediate · Editorial previewIn operating systems — CPU scheduling: A workload performs 3065 independent tasks, each taking 2 seconds sequentially. How many seconds in total?+
Sequential time = 3065 × 2 = 6130 seconds (parallelism not assumed).
18Memory allocation · foundation · Editorial previewIn operating systems — Memory allocation: A device has 3864 MB free memory. Two tasks use 9 MB and 15 MB. How much free memory remains?+
Remaining free memory = 3864 − 9 − 15 = 3840 MB, assuming no other changes.
This is an educational practice preview. Answers and board-specific alignment are undergoing editorial review; these are not official exam questions.