wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz-1

Total questions: 25

Worksheet time: 1hrs 8mins

Name
Class
Date
1.

In Unix, Which system call creates the new process?

a)

fork

b)

create

c)

exec

d)

new

2.

Most Operating Systems identify processes according to a unique________________.

a)

program counter

b)

process state

c)

process number

d)

process identifier

3.

When a process creates a new process, two possibilities for execution exist:


1) The Parent continues to executes concurrently with its Children.

2) The Parent stop to execute concurrently with its Children

3) The Parent wait until some or all of its Children get terminated.

4) The Parent don't wait until some or all of its Children get terminated.

a)

1 & 2

b)

2 & 3

c)

2 & 4

d)

1& 3

4.

Identify loosely couples system?

a)

Distributed System

b)

Real Time System

c)

Personal Computer

d)

Parallel System

5.

An IPC facility provides at least two operations :

a)

write & delete message

b)

delete & receive message

c)

send & delete message

d)

receive & send message

6.

In the non blocking send :

a)

the sending process keeps sending until the message is received

b)

the sending process sends the message and resumes operation

c)

the sending process keeps sending until it receives a message

d)

none of the mentioned

7.

The processes that are residing in main memory and are ready and waiting to execute are kept on a list called

a)

job queue

b)

ready queue

c)

execution queue

d)

process queue

8.

The interval from the time of submission of a process to the time of completion is termed as

a)

waiting time

b)

turnaround time

c)

response time

d)

throughput

9.

In priority scheduling algorithm

a)

CPU is allocated to the process with highest priority

b)

CPU is allocated to the process with lowest priority

c)

Equal priority processes can not be scheduled

d)

None of the mentioned

10.

Which one of the following can not be scheduled by the kernel?

a)

kernel level thread

b)

user level thread

c)

process

d)

none of the mentioned

11.

Find out the Completion Time (Finish Time) of process P1 using SRTF Scheduling?

a)

21

b)

10

c)

22

d)

14

12.

Find out the Completion Time of process P3 using Round Robin scheduling by taking Time Quantum 2 sec.

a)

8

b)

6

c)

7

d)

9

13.

The process is swapped out of memory and later swapped in to memory by the __________________.

a)

Short-term scheduler

b)

Medium-term scheduler

c)

Long-term scheduler

d)

Job scheduler

14.

Switching CPU to another process requires the state save of the current process and a state restore of different process. This task is known as _____________________.

a)

Swapping

b)

Context Switch

c)

Program Counter

d)

None of these

15.

Termination of all Child Processes before the Parent Terminates is called ___________.

a)

Cascading Termination

b)

Abnormal Termination

c)

Process Cancellation

d)

None of these

16.

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

17.

What is a short-term scheduler ?

a)

It selects which process has to be brought into the ready queue

b)

It selects which process has to be executed next and allocates CPU

c)

It selects which process to remove from memory by swapping

d)

None of the mentioned

18.

Find out Completion Time of process P1 using Preemptive Priority scheduling. Consider the highest number as high priority.

a)

11

b)

12

c)

5

d)

13

19.

Which process can be affected by other processes executing in the system?

a)

child process

b)

parent process

c)

cooperating process

d)

Independent process

20.

Message passing system allows processes to :

a)

communicate with one another without resorting to shared data

b)

communicate with one another by resorting to shared data

c)

share data

d)

name the recipient or sender of the message

21.

An IPC facility provides at least two operations :

a)

write & delete message

b)

delete & receive message

c)

send & delete message

d)

receive & send message

22.

In UNIX, the return value for the fork system call is _____ for the parent process.

a)

Zero

b)

A Negative integer

c)

A nonzero integer

d)

none of these

23.

With _____________ only one process can execute at a time; meanwhile all other process are waiting for the processor. With ______________ more than one process can be running simultaneously each on a different processor.

a)

Multiprocessing, Multiprogramming

b)

Multiprogramming, Uniprocessing

c)

Multiprogramming, Multiprocessing

d)

Uniprogramming, Multiprocessing

24.

The link between two processes P and Q to send and receive messages is called :

a)

communication link

b)

message-passing link

c)

synchronization link

d)

all of the mentioned

25.

Messages sent by a process :

a)

have to be of a fixed size

b)

have to be a variable size

c)

can be fixed or variable sized

d)

None of the mentioned