CH1: Introduction to Operating system
Answers
1. Answer: d) All of the above
2. Answer: d) Execute programs and perform computations
3. Answer: a) To signal the occurrence of an event that requires attention
4. Answer: a) To protect the operating system and system components
5. Answer: a) To control and communicate with I/O devices through their controllers
6. Answer: b) Multi-processor system
7. Answer: b) To manage the execution of multiple processes concurrently
8. Answer: a) ROM
9. Answer: a) To load the operating system kernel and start execution
10. Answer: c) To provide an interface for user applications to access operating system services
11. Answer: a) To store frequently used data and instructions for faster access
12. Answer: a) Protection refers to controlling access to resources, while security refers to defending
against external and internal attacks
13. Answer: a) By switching between different jobs in memory
14. Answer: a) Process management
15. Answer: d) To ensure fair and efficient allocation of I/O resources
16. Answer: b) To switch between user mode and kernel mode
17. Answer: c) To control the access and allocation of system resources
18. Answer: c) Clustered system
19. Answer: d) To prevent and resolve situations where processes are unable to proceed
20. Answer: c) Hard disk drive
21. Answer: d) All of the above
22. Answer: c) Both a and b
23. Answer: d) All of the above
24. Answer: d) All of the above
25. Answer: d) All of the above
26. Answer: d) All of the above
27. Answer: d) All of the above
28. Answer: d) All of the above
29. Answer: a) To handle interrupts and perform the necessary actions
30. Answer: d) All of the above
31. Answer: d) All of the above
32. Answer: a) To assist in the operation of the computer system
33. Answer: a) To hold a copy of the instruction being executed
34. Answer: a) To hold the address of the next instruction to be executed
35. Answer: a) To synchronize access to the memory
36. Answer: d) All of the above
37. Answer: a) To accept and execute user commands
38. Answer: d) All of the above
39. Answer: c) It provides an interface between the user and the operating system
40. Answer: b) Operating system
41. Answer: b) Through direct memory access (DMA)
42. Answer: d) All of the above
43. Answer: a) A program in execution
44. Answer: c) Device driver
45. Answer: b) Kernel mode
46. Answer: d) All of the above
47. Answer: a) Handle interrupts and traps
48. Answer: a) Store data and instructions temporarily during program execution
49. Answer: a) Store frequently used data and instructions for faster access
50. Answer: b) Through a command-line interface or graphical user interface (GUI)
51. Answer:b)The kernel is the core of the OS that manages hardware and provides essential services,
while system
programs are additional utilities.
52. Answer: c) A web browser
53. Answer: c) It services the highest-priority interrupt first and then moves on to lower-priority ones.
54. Answer: a) Main memory is faster but volatile, while secondary storage is slower but non-volatile.
55. Answer: c) To organize files and subdirectories
56. Answer:a) A program is a passive entity stored on disk, while a process is an active entity in memo
ry being executed by the CPU.
57. Answer: c) To connect CPUs and device controllers and provide access to shared memory
58. Answer : a) An interrupt is generated by hardware, while a trap is generated by software.