Quiz
COIS 3620H - Chapter 3
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (40)
1The primary advantage of storing programs in noncontiguous page frames (in a paged memory allocation scheme) is that main memory is used more efficiently because an empty page frame can be used by any page of any job.
- ATrue
- BFalse
2Paged memory allocation offers the advantage that it doesn’t require the entire job to be stored in memory during its execution.
- ATrue
- BFalse
3The Job Table (JT) contains two values for each active job: the size of the job and the memory location where its Page Map Table is stored.
- ATrue
- BFalse
4In a paged memory allocation scheme, to find the actual position of an instruction in memory, first the page number and displacement are determined. Then the operating system refers to the job’s PMT to correlate the page with its page frame.
- ATrue
- BFalse
5Demand paging introduced the concept of loading only a part of the program into memory for processing
- ATrue
- BFalse
6The key to the successful implementation of demand paging is the use of a high-speed CPU
- ATrue
- BFalse
7With demand paging, three additional fields are introduced for each page in each PMT: one to determine if the page being requested is already in memory, a second to determine if the page contents have been modified while in memory, and a third to determine if the page has been referenced most recently.
- ATrue
- BFalse
8With demand paging, if there are no empty page frames available, to move in a new page, one of the current resident pages must be placed into main memory
- ATrue
- BFalse
9Thrashing is a problem that occurs when there are a large number of jobs and many free pages so that pages are being moved around too much.
- ATrue
- BFalse
10In a demand paging scheme, the first-in first-out (FIFO) page replacement policy chooses the page least recently accessed to be swapped out
- ATrue
- BFalse
11When using a FIFO scheme, adding more memory always results in better performance.
- ATrue
- BFalse
12A variation of the LRU page replacement algorithm known as the clock page replacement policy is implemented using a pointer to step through the reference bits of the active pages, simulating a clockwise motion.
- ATrue
- BFalse
13In the bit-shifting variation of the LRU page replacement policy, the process of shifting bits to the right and resetting the leftmost bit to 1 when a page is referenced gives a history of each page’s usage
- ATrue
- BFalse
14A job’s working set is the collection of pages that must be loaded from secondary storage.
- ATrue
- BFalse
15With segmented memory allocation, each job is divided into several segments of the same size, one for each module containing pieces that perform related functions
- ATrue
- BFalse
16The segmented/demand paged memory allocation scheme is a combination of segmentation and demand paging, and it offers the logical benefits of segmentation, as well as the physical benefits of paging.
- ATrue
- BFalse
17Associative memory is a name given to several hardware registers that are allocated to each active job whose task is to associate segment and page numbers belonging to the job being processed with their main memory addresses.
- ATrue
- BFalse
18Virtual memory can be implemented with both paging and segmentation.
- ATrue
- BFalse
19Cache memory is based on the concept of using a large, fast, and expensive memory to supplement the workings of main memory.
- ATrue
- BFalse
20The optimal selection of cache size and replacement algorithm can result in 80 to 90 percent of all requests being in the cache.
- ATrue
- BFalse
21The primary advantage of storing programs in noncontiguous locations is that ____.
- Amultiple programs can run at the same time
- Bevery program will be able to run
- Csecondary storage is accessed more quickly
- Dmain memory is used more efficiently
22In a paged memory allocation scheme, the ____ contains two values for each active job: the size of the job and the memory location where its Page Map Table is stored.
- AMemory Management Table
- BJob Table
- CPage Access Table
- DMemory Map Table
23In a paged memory allocation scheme, a simple ____ has one entry for each page frame that shows its location and its free/busy status.
- AMemory Management Table
- BJob Table
- CPage Access Table
- DMemory Map Table
24In a paged memory allocation scheme, a page size that is too small will generate ____.
- Avery long Page Map Tables
- Bexcessive internal fragmentation
- Cexcessive page faults
- Dexcessive external fragmentation
25One of the most important innovations of demand paging is that it makes ____ feasible.
- Aparallel memory
- Bautomatic allocation
- Cspontaneous allocation
- Dvirtual memory
26In demand paging, pages are ____ between main memory and secondary storage
- Aswapped
- Btraded
- Callocated
- Dfaulted
27In demand paging, when an excessive number of pages are moved back and forth between main memory and secondary storage, it is called ____.
- Aswapping
- Bfaulting
- Cpaging
- Dthrashing
28The ____ page replacement policy is based on the theory that the best page to remove is the one that has been in memory the longest.
- ATRU
- BLRU
- CLIFO
- DFIFO
29The ____ demonstrates that when using a FIFO policy, in rare cases, adding more memory to a system can cause an increase in page interrupts.
- APaging Anomaly
- BBelady Anomaly
- CInterrupt Anomaly
- DLaszlo Anomaly
30A variation of the LRU page replacement algorithm known as the ____ replacement policy is implemented with a circular queue.
- Aclock page
- Bround robin
- Cperformance page
- Dbit shifting
31In demand paging schemes, the ____ in a Page Map Table indicates whether the page is currently in memory.
- Areferenced bit
- Bmodified bit
- Cmemory bit
- Dstatus bit
32In demand paging, the collection of pages residing in memory that can be accessed directly without incurring a page fault is called the ____.
- Apage set
- Bworking set
- Cjob set
- Ddenning set
33The term “____” means that during any phase of its execution, a program references only a small fraction of its pages.
- Adynamic paging
- Bstructured programming
- Clocality of reference
- Dworking set
34With segmented memory allocation, each job is divided into several ____ of different sizes, one for each module that contains pieces that perform related functions.
- Apages
- Bmodules
- Csegments
- Dpartitions
35To access a location in memory when using segmented memory management, the address is composed of two entries: ____.
- Athe segment number and the line number
- Bthe segment number and the displacement
- Cthe line number and the displacement
- Dthe segment number, the line number, and the displacement
36A disadvantage of segmented memory allocation is ____.
- Athe physical size requirements of main memory
- Bthe number of page faults
- Cinternal fragmentation
- Dexternal fragmentation
37____ effectively removes restrictions on maximum program size.
- ASegmenting
- BVirtual memory
- CShared memory
- DMultithreading
38____ can be thought of as being an intermediary between main memory and the special-purpose registers, which are the domain of the CPU.
- AVirtual memory
- BCache memory
- CPaging
- DSegmenting
39The purpose of cache memory is to keep handy the most recently accessed data and instructions so that the CPU can access them repeatedly without wasting time. This purpose is similar to that of the ____ of a Web browser.
- Acache file
- Bbookmark file
- Cpage file
- Dblock file
40Cache memory is divided into blocks of equal size called ____.
- Aslots
- Bpages
- Csegments
- Dpartitions
Information
- Description
- Computer Science Quiz on COIS 3620H - Chapter 3, created by Jareed Brown on 20/10/2017.
- Author
- Jareed Brown
- Language
- English
- Views
- 6
- Tags
- Rating
- No ratings yet Rate this quiz