Sample Questions Best site for GRE, LSAT, SAT, GMAT, TOEFL, CCNA, CCSA and interview sample questions  

Technical Sample Questions : C |  C++ |  Oracle |  Java | Unix |  Operating Systems |  Data Structure

Sample Technical Questions

Unix Sample Questions

Questions on memory management in uinx

  1. What are conditions for a machine to support Demand Paging?

    Answer:

    Memory architecture must based on Pages,
    The machine must support the 'restartable' instructions.

  2. What is 'the principle of locality'?

    Answer:

    It's the nature of the processes that they refer only to the small subset of the total data space of the process. i.e. the process frequently calls the same subroutines or executes the loop instructions.
  3. What is the working set of a process?

    Answer:

    The set of pages that are referred by the process in the last 'n', references, where 'n' is called the window of the working set of the process.
  4. What is the window of the working set of a process?

    Answer:

    The window of the working set of a process is the total number in which the process had referred the set of pages in the working set of the process.
  5. What is called a page fault?

    Answer:

    Page fault is referred to the situation when the process addresses a page in the working set of the process but the process fails to locate the page in the working set. And on a page fault the kernel updates the working set by reading the page from the secondary device.
  6. What are data structures that are used for Demand Paging?

    Answer:

    Kernel contains 4 data structures for Demand paging. They are,
    • Page table entries,
    • Disk block descriptors,
    • Page frame data table (pfdata),
    • Swap-use table.
  7. What are the bits that support the demand paging?

    Answer:

    Valid, Reference, Modify, Copy on write, Age. These bits are the part of the page table entry, which includes physical address of the page and protection bits.

    Page addressAgeCopy on writeModifyReferenceValidProtection

« Previous || Next »

Unix Sample Question Number : 1-5 | 6-11 | 12-16 | 17-23 | 24-29 | 30-36 | 37-41 | 42-48 | 49-55 | 56-61 | 62-67 | 68-73
Sample Test Questions
GRE Sample Questions
CAT Sample Questions
GMAT Sample Questions
TOEFL Sample Questions
ACT Sample Questions
SAT Sample Questions
LSAT Sample Questions
PSAT Sample Questions
MCAT Sample Questions
PMP Sample Questions
GED Sample Questions
ECDL Sample Questions
DMV Sample Questions
CCNA Sample Questions
MCSE Sample Questions
Network+ Sample Questions
A+ Sample Questions
Technical Sample Questions
WASL Sample Questions
CISA Sample Questions

Other Sample Questions
Sample Interview Questions
Sample Teacher Interview Questions
Sample Citizenship Questions
Accuplacer Sample Questions
Science Bowl sample Questions
Driving Test Sample Questions
Sample Survey Questions Sample Essay Questions
Sample Behavioral Interview Questions

Copyright © 2004-2013, Best BSQ. All Rights Reserved.