wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OS Module-4 Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the primary purpose of memory management?

a)

To manage network connections efficiently.

b)

To store user data permanently.

c)

The primary purpose of memory management is to efficiently allocate and manage computer memory resources.

d)

To increase the speed of the CPU.

2.

Explain the concept of swapping in memory management.

a)

Swapping is a method to increase CPU speed by reallocating processor cores.

b)

Swapping refers to the process of compressing data in RAM to save space.

c)

Swapping is a technique in memory management that moves data between RAM and disk storage to optimize memory usage.

d)

Swapping is a technique that only involves moving data between different RAM modules.

3.

What is contiguous memory allocation?

a)

Contiguous memory allocation involves dividing memory into multiple segments.

b)

Contiguous memory allocation is a method of allocating a single contiguous block of memory for a process.

c)

Contiguous memory allocation allows for dynamic resizing of memory blocks.

d)

It is a method of allocating memory in a non-linear fashion.

4.

Define paging and its significance in memory management.

a)

Paging requires all processes to be stored in contiguous memory blocks.

b)

Paging is significant in memory management as it allows for efficient memory utilization, eliminates external fragmentation, and enables processes to be loaded into non-contiguous memory locations.

c)

Paging is only used in disk storage management.

d)

Paging is a method to compress data in memory.

5.

What is the structure of a page table?

a)

Each entry in a page table contains only the virtual address.

b)

Page tables are structured as linked lists of pages.

c)

The page table consists only of physical addresses.

d)

The structure of a page table includes entries with frame numbers, status bits, and access permissions.

6.

Describe the concept of segmentation in memory management.

a)

Segmentation is a memory management technique that divides memory into segments based on logical divisions of a program.

b)

Segmentation refers to the physical division of memory into fixed-size pages.

c)

Segmentation is a method for compressing data in memory to save space.

d)

Segmentation is a technique that combines all memory into a single block.

7.

What is virtual memory and why is it used?

a)

Virtual memory is a type of physical storage device.

b)

Virtual memory allows for the permanent storage of data.

c)

Virtual memory is used to increase the speed of the CPU.

d)

Virtual memory is used to extend the available memory beyond physical RAM, allowing for more efficient multitasking and the ability to run larger applications.

8.

Explain demand paging and its advantages.

a)

Demand paging is a method that requires all data to be in physical memory before execution.

b)

Demand paging increases memory usage by loading all programs at once.

c)

Demand paging eliminates the need for virtual memory entirely.

d)

Demand paging allows for efficient use of memory, reduces load times, and enables the execution of larger programs than the available physical memory.

9.

What is copy-on-write in the context of memory management?

a)

Copy-on-write is a technique that immediately duplicates memory pages upon modification.

b)

Copy-on-write requires all memory pages to be copied before any changes are made.

c)

Copy-on-write is a method that prevents any sharing of memory pages between processes.

d)

Copy-on-write is a memory management technique that defers copying of shared memory pages until a modification is made.

10.

What is thrashing and how can it be avoided?

a)

Thrashing is a type of virus that affects computer systems.

b)

Thrashing is excessive paging that degrades system performance, and it can be avoided by managing memory usage effectively.

c)

Thrashing is a method of data compression used in storage systems.

d)

Thrashing occurs when the CPU is overloaded with tasks and cannot process them.