Computer Science EngineeringHard
A process executes fork() three times in succession (each call executed by every existing process). How many processes exist in total, including the original?
- A. 6
- B. 7
- C. 8
- D. 9
Correct answer: C. 8
Each fork doubles the number of processes, so 2^3 = 8.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- The classic bounded-buffer producer-consumer solution with semaphores uses how many semaphores?
- The convoy effect, where short processes wait behind one long CPU-bound process, is characteristic of
- A process of 212 KB is allocated a fixed partition of 500 KB. The internal fragmentation is
- If the time quantum of round-robin scheduling is made very large (larger than every burst), the algorithm behaves like
- How many page faults does LRU replacement with 3 frames produce for the reference string 1 2 3 4 1 2 5 1 2 3 4 5?
- A RAID 5 array has 5 disks of 1 TB each. Its usable capacity is