Graded A+
What is the role of the OS?
a) To build the bootstrap program
b) To write to memory
c) To develop the kernel
d) To manage a computer's hardware ✔✔d) To manage a computer's hardware
Which OS service provides functions that are helpful to the user?
a) Resource allocation
b) Program execution
c) System calls
d) Accounting ✔✔b) Program execution
Which system call is used for device manipulation?
a) ReadConsole()
b) Sleep()
c) umas()
d) CreateFileMapping()
e) chmod() ✔✔a) ReadConsole()
Which system calls can be grouped under the category of process controls?
a) Get process, file or device attributes
,b) Allocate, free memory
c) Get file attributes, set file attributes
d) Open, close ✔✔b) Allocate, free memory
Which service function is responsible for identifying and correcting exceptions such as the lack
of paper in a printer?
a) Protection and security
b) Error detection
c) User interface
d) Communication
e) Resource allocation ✔✔b) Error detection
Which type of OS service uses the CLI?
a) User interface
b) Program execution
c) I/O operations
d) Error detection ✔✔a) User interface
What represents layer zero (0) in the layered approach?
a) Data
b) Hardware
c) Applications
d) User interface ✔✔b) Hardware
What is a disadvantage of booting an OS stored in ROM?
, a) Changing a bootstrap requires additional memory
b) Changing a bootstrap requires new hardware chips
c) Changing a bootstrap requires replacing the battery
d) Changing a bootstrap requires process re-engineering ✔✔b) Changing a bootstrap requires
new hardware chips
What is a valid process state?
a) Waiting
b) Listening
c) Reading
d) Queuing ✔✔a) Waiting
What are two valid components of a process control block (PCB)?
a) The process counter
b) The memory buffer
c) The job queue
d) The process state
e) The text section ✔✔a) The process counter
d) The process state
What is the difference between kernel and user threads?
a) Kernel threads are supported by the user permissions, whereas user threads are directly
managed by the operating system.
b) Kernel threads are directly managed by the operating system, whereas user threads are
managed without kernel support.
c) Kernel threads are indirectly managed by the file system, whereas user threads are directly
managed by the operating system.