wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Summative Quiz: Memory Management

Total questions: 40

Worksheet time: 35mins

Name
Class
Date
1.

Memory management is a central component of any operating system because:

a)

It controls the monitor display

b)

It manages efficient allocation of memory to processes

c)

It handles only I/O devices

d)

It prevents the CPU from overheating

2.

Which of the following is NOT a basic requirement of memory management?

a)

Relocation

b)

Protection

c)

Fragmentation

d)

Sharing

3.

In hierarchical memory, which level is the fastest but smallest in size?

a)

Registers

b)

Cache

c)

Primary memory

d)

Secondary memory

4.

When a program may be placed at different locations during execution, the requirement is called:

a)

Sharing

b)

Relocation

c)

Fragmentation

d)

Protection

5.

The method that protects one process from interfering with another’s memory space is:

a)

Swapping

b)

Protection

c)

Partitioning

d)

Overlay

6.

Which memory management requirement allows multiple processes to access the same portion of memory?

a)

Sharing

b)

Relocation

c)

Logical organization

d)

Partitioning

7.

In logical organization, modules can have different degrees of protection such as:

a)

Boot-only

b)

Delete-only

c)

Read-only or Execute-only

d)

Write-only

8.

Which memory is non-volatile, cheaper, and larger in capacity?

a)

Main memory

b)

Cache

c)

Secondary memory

d)

Registers

9.

Fixed partitioning results in:

a)

Internal fragmentation

b)

No wasted space

c)

Infinite partitions

d)

Dynamic resizing

10.

When processes are allocated exactly as much memory as required, this is called:

a)

Fixed partitioning

b)

Dynamic partitioning

c)

Segmentation

d)

Overlaying

11.

The algorithm that selects the smallest free block to fit a process in dynamic partitioning is:

a)

First-fit

b)

Worst-fit

c)

Best-fit

d)

Next-fit

12.

Paging divides memory into fixed-size blocks called:

a)

Segments

b)

Frames

c)

Pages

d)

Blocks

13.

In paging, the chunks of a process are called:

a)

Pages

b)

Frames

c)

Segments

d)

Buffers

14.

The table that maps each page of a process to a frame in physical memory is called:

a)

Process Control Block

b)

Frame Directory

c)

Page Table

d)

Memory Map

15.

Segmentation differs from paging in that segments are:

a)

Fixed-length

b)

Variable-length

c)

Always equal to frames

d)

Stored only in cache

16.

Internal fragmentation occurs in:

a)

Fixed partitioning

b)

Paging

c)

Segmentation

d)

Dynamic partitioning

17.

The process of moving a process between main memory and secondary storage is called:

a)

Mapping

b)

Swapping

c)

Fragmentation

d)

Linking

18.

Virtual memory allows:

a)

Execution of processes larger than main memory

b)

Elimination of secondary storage

c)

Faster cache access

d)

Permanent storage of processes

19.

Static linking means:

a)

All library routines are linked at load time

b)

Libraries are linked at compile time

c)

Linking happens only when program runs

d)

Linking changes during execution

20.

Dynamic loading means:

a)

The entire program is loaded at once

b)

Routines are loaded only when called

c)

Programs cannot be swapped

d)

Processes are fixed in memory

21.

Memory must be allocated efficiently to maintain a reasonable supply of (a)   processes.

22.

(a)   is the requirement that ensures a program can run regardless of its physical location.

23.

The OS must check memory permissions at (a)   time to guarantee protection.

24.

Programs are organized into modules such as stack, text, and (a)   data.

25.

Allowing processes to use the same copy of a program instead of separate copies is called (a)   .

26.

__________ memory is volatile and relatively expensive.

4 lines
27.

(a)   memory is slower, cheaper, and non-volatile.

28.

In fixed partitioning, unused parts of memory partitions result in (a)   fragmentation.

29.

(a)   partitioning allows partitions to vary in size and number.

30.

A (a)   algorithm assigns a process to the smallest block in dynamic partitioning.

31.

In paging, process chunks are called __________, while memory chunks are called __________.

a)

Pages

b)

Frames

32.

A (a)   contains the mapping between pages and frames.

33.

Segmentation uses (a)   -length blocks instead of fixed-length blocks.

34.

(a)   memory enables execution of processes larger than the available main memory.

35.

Moving processes between main memory and secondary storage is called (a)   .

36.

Explain why memory management is considered a central component of the operating system.

4 lines
37.

Compare fixed partitioning and dynamic partitioning in terms of advantages and problems.

4 lines
38.

Differentiate between paging and segmentation, with examples.

4 lines
39.

Why are relocation and protection requirements interrelated in memory management?

4 lines
40.

Explain how virtual memory solves the problem of limited physical memory.

4 lines