wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Memory Management and Disk Scheduling Quiz

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

In paging, each process is divided into fixed-size blocks called:

a)

Segments

b)

Pages

c)

Frames

d)

Blocks

2.

Which of the following reduces external fragmentation?

a)

Fixed partitioning

b)

Variable partitioning

c)

Paging

d)

Swapping

3.

The memory unit that translates logical addresses to physical addresses is called:

a)

CPU

b)

ALU

c)

Memory Management Unit (MMU)

d)

DMA

4.

The time taken to position the disk arm over the required track is called:

a)

Latency

b)

Access time

c)

Seek time

d)

Rotational delay

5.

Which algorithm prevents deadlock by allocating resources only if it leaves the system in a safe state?

a)

Deadlock Detection

b)

Deadlock Prevention

c)

Banker’s Algorithm

d)

Resource Preemption

6.

Logical address space is generated by:

a)

CPU

b)

MMU

c)

Disk Controller

d)

I/O System

7.

In variable partition allocation, external fragmentation occurs due to:

a)

Variable size processes

b)

Fixed-size memory

c)

Paging

d)

Stack overflow

8.

The process of transferring entire processes between main memory and backing store is called:

a)

Paging

b)

Fragmentation

c)

Swapping

d)

Scheduling

9.

The “hold and wait” condition means a process is:

a)

Holding no resource

b)

Holding some resources and waiting for others

c)

Waiting for CPU

d)

In ready state

10.

Deadlock prevention ensures that:

a)

At least one necessary condition is violated

b)

All resources are preempted

c)

Processes terminate

d)

System stops requests

11.

In disk scheduling, which algorithm gives the shortest average seek time?

a)

FCFS

b)

SSTF

c)

C-SCAN

d)

LOOK

12.

Rotational delay is the time:

a)

To locate track

b)

For disk to rotate to correct sector

c)

For head movement

d)

For read/write operation

13.

Segmentation divides memory based on:

a)

Equal blocks

b)

Fixed sizes

c)

Logical divisions

d)

Random sizes

14.

Which of the following is not part of the memory hierarchy?

a)

Cache

b)

Registers

c)

ALU

d)

Magnetic Disk

15.

The main goal of disk scheduling is to:

a)

Minimize CPU usage

b)

Maximize memory

c)

Reduce seek time

d)

Avoid fragmentation

16.

The wait-for graph is used in:

a)

Deadlock prevention

b)

Deadlock detection

c)

Deadlock recovery

d)

Deadlock avoidance

17.

Caching improves performance because:

a)

It increases disk access time

b)

It stores frequently used data

c)

It compresses data

d)

It increases CPU speed

18.

Buffering is required because:

a)

I/O devices and CPU operate at different speeds

b)

Disk speed is same as CPU

c)

To reduce deadlock

d)

To compact memory

19.

The SCAN algorithm is also known as:

a)

Elevator Algorithm

b)

Rotational Method

c)

Random Access

d)

Head Movement Scheme

20.

Deadlock avoidance requires:

a)

No resources

b)

Infinite memory

c)

Prior knowledge of resource requirements

d)

Preemptive scheduling

21.

Segmentation with paging eliminates:

a)

Internal fragmentation

b)

External fragmentation

c)

Both A and B

d)

None

22.

The main disadvantage of swapping is:

a)

High disk I/O overhead

b)

Reduces fragmentation

c)

Improves speed

d)

Decreases memory size

23.

In Banker’s Algorithm, a system is safe if:

a)

There exists a safe sequence

b)

Resources are free

c)

All processes are blocked

d)

CPU is idle

24.

To recover from deadlock, the system may:

a)

Abort all processes

b)

Preempt resources

c)

Use rollback or process termination

d)

All of the above

25.

In segmentation with paging, each segment is divided into:

a)

Frames

b)

Pages

c)

Blocks

d)

Fields

26.

The optimal page replacement algorithm requires:

a)

Past references

b)

Future knowledge of references

c)

Random choice

d)

FIFO order

27.

If each segment is stored in non-contiguous locations, the OS uses:

a)

Segment table with page tables

b)

Page table only

c)

Inverted table

d)

Register map

28.

A resource allocation graph has a cycle only if:

a)

System is safe

b)

Deadlock is possible

c)

No resources allocated

d)

System idle

29.

When deadlock detection is used, the OS must:

a)

Periodically test for cycles

b)

Use Banker's algorithm

c)

Terminate processes immediately

d)

Ignore waits

30.

Which disk scheduling algorithm may cause starvation?

a)

FCFS

b)

SCAN

c)

SSTF

d)

LOOK

31.

Caching differs from buffering because caching:

a)

Stores copies of data for faster access

b)

Synchronizes I/O

c)

Holds data temporarily during transfer

d)

Compresses data

32.

The system is said to be in a deadlock state when:

a)

Processes wait indefinitely for resources

b)

CPU stops

c)

All processes terminate

d)

Memory full

33.

Disk throughput can be maximized by:

a)

Minimizing seek and rotational delay

b)

Increasing track distance

c)

Slowing disk

d)

Fragmenting files

34.

Deadlock prevention technique that denies "Hold and Wait" condition requires:

a)

Processes to request all resources at once

b)

Preemption

c)

Resource ordering

d)

Rollback

35.

If a process requests resources exceeding declared maximum, the system:

a)

Denies request (Banker’s Algorithm)

b)

Grants request

c)

Swaps process

d)

Detects deadlock

36.

In segmentation, a logical address consists of:

a)

Segment number and offset

b)

Page number only

c)

Offset only

d)

Frame number

37.

In paging, the page table is stored in:

a)

Main memory

b)

Cache

c)

Disk

d)

Registers only

38.

The main objective of rotational optimization is to:

a)

Reduce latency time

b)

Increase seek time

c)

Minimize buffer use

d)

Allocate more memory

39.

In deadlock detection using Resource Allocation Graph, edges are removed when:

a)

Process releases a resource

b)

Process requests

c)

Process terminates

d)

New process arrives

40.

A system becomes unsafe in Banker’s Algorithm when:

a)

No safe sequence exists

b)

Processes request resources

c)

Resources exceed max

d)

All processes waiting