wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Operating System QUIZ-1

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

The layers in systems are in order:

a)

OS, Applications, Organization, VLSI, Transistors

b)

Applications, OS, Organization, VLSI, Transistors

c)

VLSI, Organization, OS, Applications, Transistors

d)

Organization, OS, Applications, VLSI, Transistors

2.

Global or static data in in a program gets mapped to ______ of a process.

a)

Stack

b)

Heap

c)

Data Segment

d)

Text Segment

3.

A user process gets access to kernel through:

a)

Interface

b)

System Calls

c)

Kernel

d)

IPC

4.

The reason for OS usage is:

a)

Hardware abstraction

b)

Resource management

c)

Both of these

d)

None of these

5.

Which of the following statement explains the nature of a multi-programming OS?

a)

Execute applications sequentially in the order they are submitted to OS

b)

Allocate time-slices to each application and switch to another application when time quanta expires

c)

Allocate applications to different CPUs and manage them in such a manner that no two similar applications run on the same CPU

d)

When CPU is idle, switch to another application

6.

Race-Conditions can be overcome by:

a)

System calls

b)

Synchronization between applications

c)

Interface

d)

IPC

7.

The need of isolation in OS is required because:

a)

Multiple applications, from different users, run concurrently

b)

Malfunctioning application may affect other applications

c)

of both of these

d)

of None of these

8.

Which of the following is a component of OS?

a)

System Call Interface

b)

Device Drivers

c)

Inter Process Communications

d)

All of these

9.

If one logs into the system as a guest user, the OS has to detect it and accordingly allow different resources to be accessed with permitted/limited privileges. This is called:

a)

Security Assessment

b)

Access Control

c)

Security management

d)

Synchronization

10.

Fragmentation can be defined as:

a)

Memory space is available but not adequate

b)

Memory space is available but not relocatable

c)

Memory space is available but not contiguous

d)

Memory space is available but not ready as OS is busy

11.

Given 5 memory partitions of 100kb, 500kb, 200kb, 300kb, 600kb (in order), how would the best fit algorithm place processes of size 212kb, 417kb, 112b, and 426kb (inorder)? The below show process->partition link mentioning allocation to that partition.

a)

212kb -> 500kb

417kb -> 600kb

112kb ->288kb

426kb -> wait

b)

212kb -> 600kb

417kb -> 500kb

112kb ->388kb

426kb -> wait

c)

212kb -> 300kb

417kb -> 500kb

112kb ->200kb

426kb -> 600kb

d)

212kb -> 300kb

417kb -> 500kb

112kb ->200kb

426kb -> 522kb

12.

In virtual memory, RAM is split into fixed size partitions called:

a)

Block

b)

Page Frame

c)

Segment

d)

Page Table

13.

Every time a memory location is accessed, the processor looks into the ____ to identify the corresponding _____

a)

block table, block number

b)

page table, block number

c)

page frame number, page table

d)

page table, page frame number

14.

The process page table is sorted according to:

a)

block number

b)

page frame number

c)

present bit

d)

dirty bit

15.

In virtual memory:

a)

process frame size = block size

b)

block size = process frame size

c)

process frame size varies

d)

Block size varies

16.

A _____ bit in the page table indicates if the block is in RAM or not.

a)

Dirty bit

b)

Protection bit

c)

Grey bit

d)

Present bit

17.

If a page is accessed that is not present in RAM, the processor issues a:

a)

interrupt

b)

page fault interrupt

c)

page frame interrupt

d)

block fault interrupt

18.

Consider the reference string: 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5.

In a memory of size 3-page frames what is the number of page faults, if the pages are accessed in the order they appear in the reference string?

a)

9

b)

10

c)

11

d)

8

19.

The replaced block in RAM need to be written back to swap space. This is called:

a)

Swap in

b)

Swap out

c)

Demand paging

d)

All of these

20.

The locality of reference that stores current data or instruction that is being fetched into cache is known as:

a)

Spatial locality of reference

b)

Temporal locality of reference

c)

Cache reference

d)

cache hit