wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz on Process

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Multi-processor system gives a

a)

small system

b)

Tightly coupled system

c)

Loosely coupled system

d)

Multi-Processor System

2.

Multiprocessor system have advantage of

a)

Increased Throughput

b)

Expensive hardware

c)

Operating system

d)

Decreased Access time

3.

Multiprogramming of computer system increases

a)

Memory

b)

RAM

c)

Cost

d)

CPU Utilization

4.

One word memory storage is collection of

a)

2 Bytes

b)

4 Bytes

c)

1 Bytes

d)
  • 8 Bytes

5.

When we execute a C program, CPU runs in ____ mode

a)

User

b)

Kernel

c)

Supervisory

d)

System

6.

How many times the following C program prints yes?

main() { fork();fork();printf("yes"); }

a)

Only once

b)

Twice

c)

Four Times

d)

Eight Times

7.

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

a)

cooperating process

b)

child process

c)

parent process

d)

init process

8.

If a process is executing in its critical section, then no other processes can be executing in their critical section. What is this condition called?

a)

Mutual Exclusion

b)

Race Condition

c)

Progress

d)

No Preemption

9.

A monitor is a module that encapsulates __________

a)

shared data structures

b)

all of the mentioned

c)

procedures that operate on shared data structure

d)

synchronization between concurrent procedure invocation

10.

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 to next be executed by the process

d)

the current activity of the process