1)Virtual memory is ?
6) Determine the number of page faults when references to pages occurs in the order 1,2,4,5,2,1,2,4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2. With page 1 having been brought earlier that page 2(Assume LRU algorithm is used) ?
- Extremely large main memory
- Extremely large secondary memory
- An illusion of an extremely large memory
- A type of memory used in super computers
Show/Hide Answer
Answer = C
Explanation: Virtual memory is a feature of Operating System that enables a process to use a memory independent of other processes.
2) Spatial locality refers to the problem that once a location is referenced ? Explanation: Virtual memory is a feature of Operating System that enables a process to use a memory independent of other processes.
- It will not be referenced again
- It will be referenced again
- A nearby location will be referenced soon
- None of Above
Show/Hide Answer
Answer = B
Explanation: Spatial locality or locality of reference stats that the same value or related value is going to be referenced again.
3) Which of the following is an example of SPOOLED device? Explanation: Spatial locality or locality of reference stats that the same value or related value is going to be referenced again.
- The terminal used to enter the input data for a program being executed
- The secondary memory device in a virtual memory system
- A line printer used to print the output of number of job's
- None of above
Show/Hide Answer
Answer = C
Explanation:Line printer used to print the output of number of job's is an example of print spooling. In print spooling documents are loaded into the buffer and then the printer pulls then off the buffer at its own rate.
4) Page fault occurs when ? Explanation:Line printer used to print the output of number of job's is an example of print spooling. In print spooling documents are loaded into the buffer and then the printer pulls then off the buffer at its own rate.
- The page in corrupted by application software
- The page is in main memory
- The page is not in main memory
- One tries to divide number by 0
Show/Hide Answer
Answer = C
Explanation:Page fault occurs when the page that is not in the main memory is tried to be accessed.
5) Overlays is ? Explanation:Page fault occurs when the page that is not in the main memory is tried to be accessed.
- A part of Operating System
- A specific memory location
- A single contiguous memory that was used in the olden days for running large programs by swapping
- Overloading the system with many user files
Show/Hide Answer
Answer = C
Explanation: An overlay is when a process replaces itself with the code of another program.
Explanation: An overlay is when a process replaces itself with the code of another program.
6) Determine the number of page faults when references to pages occurs in the order 1,2,4,5,2,1,2,4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2. With page 1 having been brought earlier that page 2(Assume LRU algorithm is used) ?
- 3
- 5
- 4
- None
Show/Hide Answer
Answer = C
Explanation:As the reference string is 1,2,4,5,2,1,2,4 so if LRU page replacement algorithm is used then there will be 4 page faults.
7) Concurrent processed are processed that ? Explanation:As the reference string is 1,2,4,5,2,1,2,4 so if LRU page replacement algorithm is used then there will be 4 page faults.
- Do not overlap in time
- Overlap in time
- Are executed by processor at the same time
- None of Above
Show/Hide Answer
Answer = B
Explanation:Concurrent means something that executed at the same time ad something else.
8) The rage replacement policy that sometimes leads to more page faults when the size of the memory is increased is ? Explanation:Concurrent means something that executed at the same time ad something else.
- FIFO
- LRU
- no such policy exists
- None of Above
Show/Hide Answer
Answer = A
Explanation:If the size of memory is increased and FIFO page replacement algorithm is used then there will be more page faults.
9) The only transition that is initiated by the user process itself is ? Explanation:If the size of memory is increased and FIFO page replacement algorithm is used then there will be more page faults.
- block
- dispatch
- wake up
- None of Above
Show/Hide Answer
Answer = A
10) Working set(r,k) at an instance of time t, is a set of ? - k future references that operating system will make
- Future references that the operating system will make in the next 'k' time units
- k references with high frequency
- Pages that have been referenced in the last k time units
Show/Hide Answer
Answer = D
Do You Like This? Please take 5 seconds to share with your firends.
1 comments:
explanation is very good
Post a Comment