GoConqr has a new look! Let us know what you think.

Quiz

os 10

Adam Whiteside 23 questions Updated 24 Apr 2019

Take the quiz

Questions in this quiz (23)

  1. 1Which of the following is a benefit of allowing a program that is only partially in memory to execute?
    1. APrograms can be written to use more memory than is available in physical memory.
    2. BCPU utilization and throughput is increased.
    3. CLess I/O is needed to load or swap each user program into memory.
    4. DAll of the above
  2. 2In systems that support virtual memory, ____.
    1. Avirtual memory is separated from logical memory.
    2. Bvirtual memory is separated from physical memory.
    3. Cphysical memory is separated from secondary storage.
    4. Dphysical memory is separated from logical memory.
  3. 3The vfork() system call in UNIX ____.
    1. Aallows the child process to use the address space of the parent
    2. Buses copy-on-write with the fork() call
    3. Cis not intended to be used when the child process calls exec() immediately after creation
    4. Dduplicates all pages that are modified by the child process
  4. 4Suppose we have the following page accesses: 1 2 3 4 2 3 4 1 2 1 1 3 1 4 and that there are
    three frames within our system. Using the FIFO replacement algorithm, what is the number of page faults for the given reference string?
    1. A14
    2. B8
    3. C13
    4. D10
  5. 5Suppose we have the following page accesses: 1 2 3 4 2 3 4 1 2 1 1 3 1 4 and that there are three frames within our system. Using the FIFO replacement algorithm, what will be the final configuration of the three frames following the execution of the given reference string?
    1. A4, 1, 3
    2. B3, 1, 4
    3. C4, 2, 3
    4. D3, 4, 2
  6. 6Suppose we have the following page accesses: 1 2 3 4 2 3 4 1 2 1 1 3 1 4 and that there are three frames within our system. Using the LRU replacement algorithm, what is the number of page faults for the given reference string?
    1. A14
    2. B13
    3. C8
    4. D10
  7. 7Given the reference string of page accesses: 1 2 3 4 2 3 4 1 2 1 1 3 1 4 and a system with three page frames, what is the final configuration of the three frames after the LRU algorithm is applied?
    1. A1, 3, 4
    2. B3, 1, 4
    3. C4, 1, 2
    4. D1, 2, 3
  8. 8Belady's anomaly states that ____.
    1. Agiving more memory to a process will improve its performance
    2. Bas the number of allocated frames increases, the page-fault rate may decrease for all page replacement algorithms
    3. Cfor some page replacement algorithms, the page-fault rate may decrease as the number of allocated frames increases
    4. Dfor some page replacement algorithms, the page-fault rate may increase as the number of allocated frames increases
  9. 9Optimal page replacement ____.
    1. Ais the page-replacement algorithm most often implemented
    2. Bis used mostly for comparison with other page-replacement schemes
    3. Ccan suffer from Belady's anomaly
    4. Drequires that the system keep track of previously used pages
  10. 10In the enhanced second chance algorithm, which of the following ordered pairs represents a page that would be the best choice for replacement?
    1. A(0,0)
    2. B(0,1)
    3. C(1,0)
    4. D(1,1)

Information

Description
Quiz on os 10, created by Adam Whiteside on 24/04/2019.
Language
English
Views
38
History
Created on 24 Apr 2019 · updated on 24 Apr 2019
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?