Operating System

481. Thrashing can be avoided if

the pages, belonging to the working set of the programs, are in main memory
the speed of CPU is increased
the speed of I/O processor is increased
all of the above
✅ The correct answer is option A.

482. The disadvantages of “Compile and Go” loading scheme is (are):

a portion of memory is wasted because the core occupied by the assembler is unavailable to the object program.
it is necessary to retranslate the user’s program deck every time it is run.
it is very difficult to handle multiple segments, especially if the source programs are in different languages, and to produce orderly modular programs.
all of the above
✅ The correct answer is option D.

486. A page fault

is an error is a specific page
occurs when a program accesses a page of memory
is an access to a page not currently in memory
is a reference to a page belonging to another program
✅ The correct answer is option C.