Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

If a page fault occurs but all frames are filled, the requested page will __ be

ID: 3720911 • Letter: I

Question

If a page fault occurs but all frames are filled, the requested page will __

be pushed onto the stack or the process control block until a frame becomes available

be swapped out to the swap space of the hard drive

be terminated or masked so a higher priority process is not interrupted

overwrite an unwanted page in memory which has been copied to the swap space

Repeated uncontrollable page faulting is called thrashing, caused by repeatedly swapping pages out of RAM only to have those pages called for immediately after. You need to find a means by which this problem can be solved. Your choices are i) terminate an application whenever thrashing occurs; ii) Add more real memory; iii) increase virtual memory iv) get a faster hard drive. Which is the best choice?

i) as a short-term measure, and ii) as a long-term measure, but not iii) or iv).

ii) as a short-term measure, and iii) as a long-term measure, but not i) or iv)

iii) as a short-term measure, but not i) or ii) or iv)

None of the suggestions given is appropriate.

be pushed onto the stack or the process control block until a frame becomes available

be swapped out to the swap space of the hard drive

be terminated or masked so a higher priority process is not interrupted

overwrite an unwanted page in memory which has been copied to the swap space

Repeated uncontrollable page faulting is called thrashing, caused by repeatedly swapping pages out of RAM only to have those pages called for immediately after. You need to find a means by which this problem can be solved. Your choices are i) terminate an application whenever thrashing occurs; ii) Add more real memory; iii) increase virtual memory iv) get a faster hard drive. Which is the best choice?

i) as a short-term measure, and ii) as a long-term measure, but not iii) or iv).

ii) as a short-term measure, and iii) as a long-term measure, but not i) or iv)

iii) as a short-term measure, but not i) or ii) or iv)

None of the suggestions given is appropriate.

Explanation / Answer

please do upvote.If you have any problem do comment and i will be happy to help you.Thanks for using chegg.

1.

If a page fault occurs but all frames are filled, the requested page will

answer: be swapped out to the swap space of the hard drive

explaination: when a page fault occurs and frames are full, the requested page is put into swap sapce untill a frame is made empty. As soon as cpu makes a frame empty it brings in requestd page.

we do not mask it , since we need that page and hence a page fault has occurred nor we put it on stack.

2.

Repeated uncontrollable page faulting is called thrashing, caused by repeatedly swapping pages out of RAM only to have those pages called for immediately after. You need to find a means by which this problem can be solved. Your choices are i) terminate an application whenever thrashing occurs; ii) Add more real memory; iii) increase virtual memory iv) get a faster hard drive. Which is the best choice?

i) as a short-term measure, and ii) as a long-term measure, but not iii) or iv).

ii) as a short-term measure, and iii) as a long-term measure, but not i) or iv)

iii) as a short-term measure, but not i) or ii) or iv)

None of the suggestions given is appropriate.

answer:

i) as a short-term measure, and ii) as a long-term measure, but not iii) or iv).

explaination:

thrashing : when lots of page faults occur hence consuming lot of cpu time therbeby decreasing the performance of system.

we can avoid thrashing for short term by terminating programs because it will empty frames in main memory

if we increase main memory then the number of frames will increase there by avoiding thrashing for long term.

but increasing virtual memory and getting a faster hard drive wont help because it is the shortage of main memory that is causing thrashing.

answer: be swapped out to the swap space of the hard drive

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote