Quanlybonho

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Memory hierarchy comprises of Disk, RAM memory, Cache.

Select the increasing order of


their access time by CPU for an instruction or date.

A. Disk, RAM, Caches

B. RAM, Disk, Caches

C. Caches, RAM, Disk

D. Ram, Caches, Disk

_____memory allocation avoid problems of wastage of memory and the problems of


underestimating the memory size.

A. Dynamic memory allocation

B. Static memory allocation

C. Contiguous memory allocation

D. None-contiguous memory allocation

Given a two-level page table for 32-bit virtual address with each 10 bits for Page table 1 and
2 and the rest for the offset. Suppose that process A need 12 Mb for running, its virtual
address 0x00403004 refers to address range from:

A. 0 to 4 Mb-1

B. 4 to 8 Mb-1

C. 8 to 12 Mb-1

D. 12 to 16 Mb-1

Process B has a virtual address space with 4 KB for each page. Given its page 2, 3, 5 is
mapped to page frame 1, 4, 6 respectively. The physical addresses of the virtual addresses
20530, 8239, 12387 are:

A. 20245, 8196, 5277

B. 12433, 5641, 20128

C. 16434, 12335, 8291


D. 24626, 4143, 16483

Why Spooling helps?

A. while printing when computer release to do other things

B. jobs go more smoothly with less stop

C. printing it is a more secure method of accessing data

D. none of the mentioned

OS spends much of its time paging also instead of executing applications software, it is
called_________?

A. spooling

B. formatting

C. thrashing

D. booting

How much time will spend when LRU replaces the page?

A. shortest time in memory

B. shortest time in memory without being referenced

C. longest time in memory

D. longest time in memory without being referenced

An address space of 8 pages, each page is 1K in size and mapped into 32 page frames in
memory. How many bits must be used to represent the logical address of this address
space?

A. 32 bit

B. 8 bit

C. 24 bit

D. 13 bit
Memory management is_________.

A. Critical for even the simplest operating systems

B. Not used on multiprogramming systems

C. Replaced with virtual memory on current systems

D. Not used in modern operating systems

The address loaded into the memory address register of the memory is referred to as
____________

A. Physical address

B. Logical address

C. Neither physical nor logical

D. None of the mentioned

The run time mapping from virtual to physical addresses is done by a hardware device
called the ____________

A.Virtual to physical mapper

B.Memory management unit

C.Memory mapping unit

D.None of the mentioned

The size of a process is limited to the size of ____________

A. physical memory

B. external storage

C. secondary storage

D. none of the mentioned

Swapping requires a _________


A. motherboard

B. keyboard

C. monitor

D. backing store

The backing store is generally a ____________

A. fast disk

B. disk large enough to accommodate copies of all memory images for all users

C. disk to provide direct access to the memory images

D. all of the mentioned

The major part of swap time is _______ time.

A. waiting

B. transfer

C. execution

D. none of the mentioned

You might also like