189k views
4 votes
When a process begins execution with no pages in memory :

a) process execution becomes impossible
b) a page fault occurs for every page brought into memory
c) process causes system crash
d) None of these

User Volo
by
8.0k points

1 Answer

3 votes

Final answer:

When a process starts with no pages in memory, a page fault occurs for every page that needs to be brought into memory. This is part of the normal operation of systems using demand paging and does not cause a process execution to become impossible or a system crash.

Step-by-step explanation:

When a process begins execution with no pages in memory, the correct answer is: b) a page fault occurs for every page brought into memory. This situation is typical in systems that use a demand paging strategy, where pages are only loaded when they are accessed. Initially, as no pages are in memory, the operating system must retrieve them from secondary storage (such as a hard disk) into memory, which triggers a page fault. A page fault is a normal event that informs the operating system that the requested page must be loaded into memory. The process does not become impossible to execute, nor does it cause a system crash under normal circumstances.

User Antonius Bloch
by
7.4k points