Virtual Memory: Imaginary Memory Area in Conjunction With the Hardware

This is a computer science engineering quiz on the operating systems, which includes questions based on virtual memory, use of virtual memory, advantages of virtual memory, etc.

images.png
Start Quiz

_____ is the concept in which a process is copied into the main memory from the secondary memory according to the requirement.

Paging Demand paging Segmentation Swapping

The primary purpose of an operating system is:

To make the most efficient use of the computer hardware To allow people to use the computer To keep systems programmers employed To make computers easier to use

Which of the following operating system reads and reacts in actual time?

Quick Response System Real Time System Time Sharing System Batch Processing System

Consider the following page reference string. 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6 For FIFO page replacement algorithms with 4 frames, the number of page faults is? For FIFO page replacement algorithms with 4 frames, the number of page faults is?

16 15 14 11

Consider the following page reference string. 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6 For FIFO page replacement algorithms with 3 frames, the number of page faults is? For FIFO page replacement algorithms with 3 frames, the number of page faults is?

16 15 14 11

Because of virtual memory, the memory can be shared among ____________.

Processes

Threads

Instructions

None of the mentioned

The pager concerns with the ____________.

Individual page of a process

Entire process

Entire thread

First page of a process

Swap space exists in ____________.

Primary memory

Secondary memory

CPU

None of the mentioned

When a program tries to access a page that is mapped in address space but not loaded in physical memory, then ____________.

Segmentation fault occurs

Fatal error occurs

Page fault occurs

No error occurs

The Banker’s algorithm is used:

To rectify deadlock

To detect deadlock

To prevent deadlock

To solve deadlock

You can use print manage window:

To check status of files in the print queue

To cancel the print job

To interrupt printing

All of the above

All of the following are TRUE regarding virtual memory except:

Any amount of RAM can be allocated to virtual memory

The setting for the amount of hard disk drive space to allocate virtual memory can be manually change

This temporary storage is called the swap file or page file

Virtual memory is the physical space o the hard drive

When a subroutine is called ____________.

It defines a new locality

It is in the same locality from where it was called

It does not define a new locality

None of the mentioned

A program is generally composed of several different localities, which _____ overlap.

May

Must

Do not

Must not

If working set window is too small ____________.

It will not encompass entire locality

It may overlap several localities

It will cause memory problems

None of the mentioned

Quiz/Test Summary
Title: Virtual Memory: Imaginary Memory Area in Conjunction With the Hardware
Questions: 15
Contributed by:
james