wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

OS 1

Total questions: 15

Worksheet time: 13mins

Name
Class
Date
1.

In UNIX, each process is identified by its:

a)

Process Control Block

b)

Device Queue

c)

Process Identifier

d)

None of the mentioned

2.

The child process can:

a)

Can't have another program loaded on to it

b)

Be a duplicate of parent process

c)

Never be a duplicate of parent process

d)

Never have another program loaded on to it

3.

A parent process calling _________ system call will be suspended until children processes terminate.

a)

Exit

b)

Exec

c)

Fork

d)

Wait

4.

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

a)

-ve , 0

b)

0 , -ve

c)

0 , +ve

d)

+ve , 0

5.

In operating system, each process has its own

a)

Address space, variables

b)

Open files

c)

Program counter

d)

All of the above

6.

In UNIX, which system call creates the new process?

a)

Create

b)

New

c)

Fork

d)

Exec

7.

The address of the next instuction to be executed is provided by

a)

CPU registers

b)

Program Counter

c)

Pipe

d)

Process stack

8.

What is the ready state of a process?

a)

When the process is using CPU

b)

When process is unable to run

c)

Process is ready to run, waiting for processor

d)

When the process created

9.

A process terminates when it finishes executing its final statement and ask the operating system to delete it using __________system call.

a)

Wait ()

b)

Fork ()

c)

Exit ()

d)

Exec ()

10.

The number of processes completed per unit time is known as______________

a)

Efficiency

b)

Output

c)

Throughput

d)

Data

11.

The state of a process is defined by

a)

The final activity of the process

b)

The activity just executed by the process

c)

The activity next to be executed by the process

d)

The current activity of the process

12.

Which of the following is not the state of a process?

a)

New

b)

Old

c)

Waiting

d)

Running

13.

The objective of multiprogramming is to

a)

Have some process running at all time

b)

To minimize cpu utilization

c)

Have multiple programs waiting in a queue ready to run

d)

All of the above

14.

Predict the output of following

a)

Print 5 time Hello!

b)

Print 16 time Hello!

c)

Print 12 time Hello!

d)

Print 8 time Hello!

15.

Find out finish time of process P1 using SRTF scheduling.

a)

16 sec

b)

15 sec

c)

20 sec

d)

18 sec