Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4.1 Classify each of the following statements as true or false: a. Mechanisms of

ID: 3913940 • Letter: 4

Question

4.1 Classify each of the following statements as true or false: a. Mechanisms of the OS are typically architecture-independent. b. A layered OS organization reduces the semantic gap between the top layer of the OS and the bare machine. c. In a virtual machine OS, each user can run an OS of his choice. d. A kernel-based OS structure provides extensibility. e. In a microkernel-based OS, the process scheduler may run as a user process. 4.2 Classify each of the following functions performed by an OS as a policy or a mechanism (refer to relevant sections of Chapters 1 and 3): a. Preempting a program b. Priority-based scheduling used in multiprogramming systems c. Loading a swapped-out program into memory d. Checking whether a user program can be permitted to access a file

Explanation / Answer

4.1 The statements classified as true are false are :

a. Mechanisms of the OS are typically architecture-independent.

FALSE , The mechanisms of OS are architecture dependent , Policies are architectural independent.

b. A layered OS organization reduces the semantic gap between the top layer of the OS and the bare machine.

TRUE . This statement is true because semantic gap is reduced by using more capable machine.

c. In a virtual machine OS, each user can run an OS of his choice.

TRUE . In a virtual machine OS, each user can run an OS of his choice by installing a virtualization software such as VMware

d. A kernel-based OS structure provides extensibility

FALSE . Kernel-based OS have poor extensibility

e. In a microkernel-based OS, the process scheduler may run as a user process

FALSE. The microkernel - based OS do not have scheduler , they execute as servers.

4.2

a. Preempting a program - Mechanism . Program Preemption is a scheduling mechanism

b. Priority-based scheduling used in multiprogramming systems- Policy - Scheduling is a policy

c. Loading a swapped-out program into memory- Mechanism - It is a memory management mechanism

d. Checking whether a user program can be permitted to access a file- Policy - it is principle on which OS performs

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote