Operating System Questions (1)
Operating System Questions (1)
148. Which feature protects concurrent processes from interfering with each other? 4. A process is an instance of a program in execution. True
A. Resource allocation 5. The kernel of an operating system manages the system's hardware resources.
True
B. Memory swapping
C. Protection
6. Multiprocessing systems use only one processor to complete tasks.
False
D. Paging
7. A system call is used by programs to interact with the operating system. True
Answer: C
8. Virtual memory allows programs to access more memory than is physically
149. In cloud computing, which type gives direct control over virtualized hardware?
available in the system. True
A. SaaS
9. A deadlock occurs when multiple processes are blocked, waiting for
B. PaaS resources. True
C. IaaS 10. In symmetric multiprocessing, each processor has its own memory but
D. GUI shares peripheral devices. False
Answer: C 11. The user interface is part of operating-system services. True
150. The most efficient method for interprocess communication on a single machine is: 12. CLI requires a mouse to operate. False
A. Message passing 13. File-system manipulation includes creating and deleting files. True
C. Shared memory 15. APIs are only used in Windows systems. False
D. Kernel mode trapping 16. System programs are part of the kernel. False
Answer: C 17. POSIX API is specific to UNIX-like systems. True
18. Layered systems allow free movement between layers. False
19. Microkernels include only essential services. True
20. System calls directly interact with hardware without OS control. False
21. A program and a process are the same thing. False
22. The PCB contains the user’s password. False
23. A process can move from waiting to ready if its event finishes. True
24. The heap grows as dynamic memory is allocated. True
25. The short-term scheduler selects from the job queue. False
26. Context switching always happens during I/O. False
27. Message passing is slower than shared memory. True
28. The stack can shrink during recursion return. True
29. Processes in the device queue are waiting for CPU. False
30. PCB helps the OS manage multiple processes. True
26. Each thread has its own data section. False
27. Threads can improve program responsiveness. True
28. In the One-to-One model, creating a user thread requires a kernel thread.
True
29. Java does not support multithreading. False
30. Threads share open files and signal handlers. True
31. Many-to-One model supports parallelism on multicore systems. False
32. Kernel threads are managed by the operating system. True
33. Pthreads is a Windows-only library. False
34. Two-Level model allows more control over thread-to-kernel mapping. True
In multithreaded systems, threads must not share memory. False