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

QUESTION 5 Which two combinations of the Valid and Writable bits in a page table

ID: 3718964 • Letter: Q

Question

QUESTION 5 Which two combinations of the Valid and Writable bits in a page table entry will cause an attempt to fetch an instruction from this page to fail? (Check both.) W-1, V-1 W-1,V-0 QUESTION 6 10.00000 A segment is a contiguous block of memory defined by the start address, the size, and access permissions. What happens if two segments (say, two data segments) that belong to the same process overlap? An attempt to access any memory location in the overlapping area ill ause an exception. and the displacements within each segment. Overlapping segments are not possible (either at the hardware or at the software level). An attempt to access any memory location in any of the two segments will cause an exception OSome memory locations will be addressable in more than one way, using the start addresses of

Explanation / Answer

As per your requirement i have written solutions for both of your questions please follow it step by step clearly

Q5

For Question 5 the valid options are 1 and 3 let we see why these options are correct options clearly

Reason

For suppose if valid bit = 0, that means this page is not in the logical address space of

the program so the correct options are

V= 0 W = 1

V = 0 W = 0

are the two combinations where fetch will fail

Q6.

For Question 6 the correct option is option 2 let we see why by clearly

The answer is option 2

Reason

Actually some memory locations will be addressable in more than one way that’s y option 2 is correct option for Question 6