logo

Crowdly

Browser

Add to Chrome

2025W Operating Systems (CS-3520-01)

Looking for 2025W Operating Systems (CS-3520-01) test answers and solutions? Browse our comprehensive collection of verified answers for 2025W Operating Systems (CS-3520-01) at moodle31.upei.ca.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Consider a system that has a 16KB address space and 64 byte pages in a two-level and that the page directory and the page table with entries as in the image below (taken from OSTEP ch. 20, Figure 20.5). Suppose also that PTEs and PDEs are 4 bytes each.

How much less memory is used for storing the multi-level page table, compared to a linear page table?

0%
0%
0%
0%
View this question

Consider a system that has a 16KB address space and 64 byte pages in a two-level and that the page directory and the page table with entries as in the image below (taken from OSTEP ch. 20, Figure 20.5). 

Translate the virtual address 0x0178 to a physical address

View this question

Consider a system that has a 16KB address space and 64 byte pages in a two-level and that the page directory and the page table with entries as in the image below (taken from OSTEP ch. 20, Figure 20.5). Suppose also that PTEs and PDEs are 4 bytes each.

How much less memory is used for storing the multi-level page table, compared to a linear page table?

View this question

Consider a system that has a 16KB address space and 64 byte pages in a two-level and that the page directory and the page table with entries as in the image below (taken from OSTEP ch. 20, Figure 20.5). 

Translate the virtual address 0x0178 to a physical address

0%
0%
0%
0%
View this question

Consider a system that has a 16KB address space and 64 byte pages in a two-level and that the page directory and the page table with entries as in the image below (taken from OSTEP ch. 20, Figure 20.5). Suppose also that PTEs and PDEs are 4 bytes each.

How much less memory is used for storing the multi-level page table, compared to a linear page table?

View this question

Consider a system that has a 16KB address space and 64 byte pages in a two-level and that the page directory and the page table with entries as in the image below (taken from OSTEP ch. 20, Figure 20.5). 

Translate the virtual address 0x0178 to a physical address

View this question

Assume that we are employing the cooperative approach to switch between processes running on the CPU (i.e., no timer interrupts). We have included a function yield() that allows the process to transfer control of the CPU to the operating system. Which of the following code segments can keep control of the CPU from the operating system indefinitely?

0%
0%
0%
0%
View this question

What is the average turnaround time (rounded to two decimal places) under SJF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

0%
0%
0%
0%
View this question

What is the average response time (rounded to two decimal places) under SJF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

0%
0%
0%
0%
View this question

What is the average turnaround time (rounded to two decimal places) under STCF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

View this question

Want instant access to all verified answers on moodle31.upei.ca?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome