0
0
Operating Systemsknowledge~10 mins

Demand paging in Operating Systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to describe demand paging.

Operating Systems
Demand paging loads a page into memory only when it is [1].
Drag options to blanks, or click blank then click option'
Areferenced
Bcreated
Cdeleted
Dwritten
Attempts:
3 left
💡 Hint
Common Mistakes
Assuming all pages are loaded at process start.
2fill in blank
medium

Complete the sentence to explain what causes a page fault.

Operating Systems
A page fault occurs when a process tries to access a page that is not currently [1] in memory.
Drag options to blanks, or click blank then click option'
Aloaded
Bdeleted
Ccreated
Dstored
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing page fault with process crash.
3fill in blank
hard

Fix the error in the statement about demand paging.

Operating Systems
Demand paging loads pages of a process into memory on [1].
Drag options to blanks, or click blank then click option'
Aruntime
Bstart
Conce
Ddemand
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking all pages load at process start.
4fill in blank
hard

Fill both blanks to complete the demand paging process description.

Operating Systems
When a page fault occurs, the operating system [1] the page from [2] into memory.
Drag options to blanks, or click blank then click option'
Aloads
Bdeletes
Cdisk
Dcache
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing cache with disk.
5fill in blank
hard

Fill all three blanks to describe the page replacement step in demand paging.

Operating Systems
If memory is full, the OS [1] a page using a [2] algorithm and then [3] the new page.
Drag options to blanks, or click blank then click option'
Aremoves
BFIFO
Cloads
Dcreates
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the OS creates pages instead of loading them.