Ch2 Questions DrShrouk Answers
Ch2 Questions DrShrouk Answers
operating system?
C. They enable the operating system to interact directly with hardware devices.
2) Which of the following statements best describes the purpose of the shell in an
operating system?
A. Interpreters
B. Device drivers
C. Compilers
D. API libraries
5) Which system program allows users to view and edit files in an operating
system?
A. Device manager
B. Text editor
D. API
10) What is the primary purpose of the API (Application Programming Interface) in
the context of operating systems?
A. To provide direct access to hardware
11) In a modular kernel, the term “loadable kernel module” refers to:
C. A command-line utility
12) In the context of an operating system, which of the following best describes a
“trap”?
13) What is the main advantage of the command-line interface (CLI) over a
graphical user interface (GUI) for experienced users?
14) Which type of system call is responsible for creating, terminating, and
synchronizing processes?
A. File management
B. Device management
C. Process control
D. Information maintenance
15) A key reason for using system calls in an operating system is to:
16) What is the purpose of the kernel mode and user mode in an operating system?
C. To manage multi-threading
17) The function of the wait system call in process management is to:
(c) Suspend the execution of a parent process until a child process has terminated
18) Which of the following system calls is used to create a new process in most
operating systems?
(a) open
(b) exec
(c) fork
(d) read
19) The mechanism that allows a user to interact with an operating system via
textual commands is called:
(a) GUI (Graphical User Interface)
1. Simple
20) What are the system call types? 2. Layered
21) List the main types of operating system structures. 3. Microkernels
4. Modules
5. hybrid
4. each layer interacts only with the layer directly above or below it