Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please there is totally 10 question.. I want answers early..very emergency 3. Single-choice Questions (20, 2 per blank) 1. Almost all operating systems have a

image text in transcribed

image text in transcribed

please there is totally 10 question.. I want answers early..very emergency

3. Single-choice Questions (20, 2 per blank) 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 user's 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, ( ) doesn't need the support of hardware. A. process scheduling B. clock management C.addressmappingD.interruptsystem 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions