Question
1. Almost all operating systems have a user interface. This interface can be a command-line interface, a ( ), or a graphical user interface. A.
1. Almost all operating systems have a user interface. This interface can be a command-line
interface, a ( ), or a graphical user interface.
A. Code interface B. Shell interface C. Batch interface D. System interface
2. There are two models of interprocess communication: ( ) and shared memory.
A. shared code B. message passing C. information passing D. writing memory
3. About the operating system, which of the following items is incorrect ( ).
A. Operating system is a program that manages hardware resources
B. Operating system can manage the execution of users programs
C. Operating system can improve the efficiency of resource utilization
D. Operating system can help users to program and execute the jobs.
4. Which of the following scheduling algorithms is preferred in a time-sharing system? ( ).
A. First Come First Served (FCFS) B. Round Robin (RR)
C. Shortest Remaining Time First (SRTF) D. Shortest Job First (SJF)
5. In the following, ( ) is not contained in the PCB of a process.
A. Program counter B. CPU register C. accounting information D. program code
6. In the following functions, ( ) doesnt need the support of hardware.
A. process scheduling B. clock management
C. address mapping D. interrupt system
7. Peterson algorithm is used to solve the ( ) problem.
A. deadlock B. process blocking C. critical section D. main memory
8. The resources that cannot be shared between threads include ( ).
A. global variables B. code from process C. data from process D. stack
9. There are M printers in a system. 4 processes share the printers. The processes require 5, 6, 7, and 8 printers, respectively. To make sure that the deadlock will not happen in the system, the smallest value of n should be ( ). A. 27 B. 25 C. 24 D. 23 10. In an operating system, we defined a semaphore Mutex. The initial value of Mutex is 5.
Currently, the value of Mutex becomes -10. It demonstrates that currently ( ). A. The number of available resources is 10 in this system B. The number of waiting processes is 10 in this system C. The number of available resources is 5 in this system D. The number of waiting processes is 5 in this system
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started