Practice Questions 1-2

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

In Unix, Which system call creates the new process? a) fork b) create c) new d) none of the mentioned

a) fork

When we execute a C program, CPU runs in ____ mode. a) user b) kernel c) supervisory d) system

a) user

To access the services of the operating system, the interface is provided by the ___________a) Library b) System calls c) Assembly instructions d) API

b)System calls

When a process is in a "Blocked" state waiting for some I/O service. When the service is completed, it goes to the __________ a) Terminated state b) Suspended state c) Running stated) Ready state

d)Ready state

A process can be terminated due to __________ a) normal exit b) fatal error c) killed by another process d) all of the mentioned

d)all of the mentioned

The operating system is responsible for? a) bad-block recovery b) booting from disk c) disk initialization d) all of the mentioned

d)all of the mentioned

What is an operating system? a) interface between the hardware and application programs b) collection of programs that manages hardware resources c) system service provider to the application programs d) all of the mentioned

d)all the mentioned

Which one of the following errors will be handle by the operating system?a) lack of paper in printer b) connection failure in the network c) power failure d) all of the mentioned

d)all the mentioned

A system call is a routine built into the kernel and performs a basic function. a) True b) False

a) True

A set of processes is deadlock if __________ a) each process is blocked and will remain so forever b) each process is terminated c) all processes are trying to kill each other d) none of the mentioned

a) each process is blocked and will remain so forever

What is the ready state of a process? a) when process is scheduled to run after some execution b) when process is unable to run until some task has been completed c) when process is using the CPU d) none of the mentioned

a) when process is scheduled to run after some execution

The address of the next instruction to be executed by the current process is provided by the __________ a) CPU registers b) Program counter c) Process stack d) Pipe

b) Program counter

In ____ mode, the kernel runs on behalf of the user. a) user b) kernel c) real d) all

b) kernal

A fork system call will fail if ______________ a) the previously executed statement is also a fork call b) the limit on the maximum number of processes in the system would be executed c) the limit on the minimum number of processes that can be under execution by a single user would be executed d) all of the mentioned

b) the limit on the maximum number of processes in the system would be executed

Where is the operating system placed in the memory? a) either low or high memory (depending on the location of interrupt vector) b) in the low memory c) in the high memory d) none of the mentioned

b)in the low memory

For real time operating systems, interrupt latency should be ____________ a) zero b) minimal c) maximum d) dependent on the scheduling

b)minimal

Network operating system runs on ___________ a) every system in the network b) server c) both server and every system in the network d) none of the mentioned

b)server

The systems which allow only one process execution at a time, are called __________ a) uniprogramming systems b) uniprocessing systems c) unitasking systems d) none of the mentioned

b)uniprocessing systems

What are the types of distributed operating systems? a) Zone based Operating system b) Level based Operating system c) Network Operating system d) All of the mentioned

c)Network Operating system

In a timeshare operating system, when the time slot assigned to a process is completed, the process switches from the current state to? a) Suspended state b) Terminated state c) Ready state d) Blocked state

c)Ready state

The portion of the process scheduler in an operating system that dispatches processes is concerned with ____________ a) assigning ready processes to waiting queue b) assigning running processes to blocked queue c) assigning ready processes to CPU d) all of the mentioned

c)assigning ready processes to the CPU

Hard real time operating system has ______________ jitter than a soft real time operating system. a) equal b) more c) less d) none of the mentioned

c)less

The main memory accommodates ____________ a) cpu b) user processes c) operating system d) all of the mentioned

c)operating system

The FCFS algorithm is particularly troublesome for ____________ a) operating systems b) multiprocessor systems c) time sharing systems d) multiprogramming systems

c)time sharing systems

A process stack does not contain __________ a) Function parameters b) Local variables c) Return addresses d) PID of child process

d) PID of child process


Set pelajaran terkait

CH 13 Male Pelvis Review Questions

View Set

A&P Lecture Quiz 6- Integumentary System

View Set

Laboratory Testing and Safety for CLM

View Set

Ch 57 (DT for Substance Abuse Disorders

View Set

Exam 2 Leadership & Management practice questions & definitions/lists

View Set

chapter 6: merchandising operations and multistep income statement

View Set