Which of the following statements are TRUE about privileged instructions?
(A) They can only be executed by the operating system kernel and not by user applications.
(B) They are designed to perform operations that can directly affect the hardware or system state, such as I/O operations or changing memory-management settings.
(C) User applications can execute privileged instructions if they have the correct permissions set by the operating system.
(D) They are usually executed in user mode to ensure the safety and security of the system.
Choose the correct answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. (A) and (B) Only
Explanation
Privileged instructions run only in kernel mode and control hardware/system state (A, B). User programs cannot execute them directly, whatever their permissions; they must use system calls. They execute in kernel mode, not user mode.More System Software and Operating System questions
- Match List I (Algorithms) with List II (Characteristics)List I List II (A) First Come First Served (FCFS) (I) Each process is assigned a pr…
- Match List I (operating system concepts) with List II (characteristics)List I List II (A) Paging (I) Evicts least recently used page (B) LR…
- Which of the following statements are TRUE about the Process Control Block (PCB)? (A) The PCB contains information about the process state,…
- Which of the following is NOT a requirement for the Banker's algorithm to grant a resource request?
- Which data structures does the Banker's Algorithm use to maintain the state of available, maximum and allocated resources?
- What is the significance of the Banker's algorithm in terms of resource management?