logo

Crowdly

Browser

Додати до Chrome

2025W Operating Systems (CS-3520-01)

Шукаєте відповіді та рішення тестів для 2025W Operating Systems (CS-3520-01)? Перегляньте нашу велику колекцію перевірених відповідей для 2025W Operating Systems (CS-3520-01) в moodle31.upei.ca.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

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%
Переглянути це питання

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

Переглянути це питання

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?

Переглянути це питання

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%
Переглянути це питання

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?

Переглянути це питання

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

Переглянути це питання

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%
Переглянути це питання

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%
Переглянути це питання

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%
Переглянути це питання

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)

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle31.upei.ca?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome