logo

Crowdly

Browser

Додати до Chrome

IN1011 Operating Systems (PRD2 A 2024/25)

Шукаєте відповіді та рішення тестів для IN1011 Operating Systems (PRD2 A 2024/25)? Перегляньте нашу велику колекцію перевірених відповідей для IN1011 Operating Systems (PRD2 A 2024/25) в moodle4.city.ac.uk.

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

A process that requires 1.3 MB of space is swapped to a hard disk. The  transfer rate to the disk is 134.8 MB/s and there is a further latency of 3.2 microseconds. Calculate the total Context Switch Swapping time (that is swap out and swap in) of this process. Write down your answer in milliseconds.

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

A memory management scheme has a partition allocation with a

fixed page size of 256 bytes. If a process has a size of

62538 bytes, calculate the internal fragmentation in bytes.

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

Consider the sample directory listing shown in the figure below.

Which file or directory has the most links?

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

Definitions for n concurrently executing processes

29 processes P(1), ..., P(29) are concurrently executing on a system (see the pseudocode above with P(n)=P(29)). The shared variable called count is initialised to 6, while the semaphores s1, s2, ... , s(n-1), sn  are all initialised to 0.  What is the value of count when process P(16) executes semsignal(s15)?

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

Three processes A, B and C are admitted into the ready queue by the long-term scheduler. The processes are admitted -- first process C, then B, and then A -- without any delay between the admissions. The short-term scheduler uses a Round-Robin scheduling policy to assign processes to run on the CPU. The time quantum is 4ns. The CPU burst times are 48ns, 72ns and 92ns, for  A, B and C respectively. Assume that the processes make no I/O requests and all of them successfully complete. You may also assume that no other processes or OS activity are important for your computations. 

Based only on the information given, what is the average turnaround time (in ns) for these 3 processes? Give your answer to 2 decimal places.

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

A process that requires 3.8 MB of space is swapped to a hard disk. The  transfer rate to the disk is 138.8 MB/s and there is a further latency of 8.1 microseconds. Calculate the total Context Switch Swapping time (that is swap out and swap in) of this process. Write down your answer in milliseconds.

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

A memory management scheme has a partition allocation with a

fixed page size of 128 bytes. If a process has a size of

77239 bytes, calculate the internal fragmentation in bytes.

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

 

The following question may require you to experiment with the command mv or read the man page for mv.

Assume that file apples exists in the current directory, and file oranges does not, what is the effect of the command mv apples oranges?

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

Consider the sample directory listing shown in the figure below.

Which file or directory has the most links?

0%
0%
100%
0%
0%
Переглянути це питання
Consider a system that uses demand paging with the following characteristics: the base (hardware) memory access time is 100 nanoseconds, the page-fault service time is 10 milliseconds, and the Effective Access Time (EAT) is 120 nanoseconds. What is the page-fault rate?

Give your answer either as a simple decimal (eg 0.0075) or using E-notation (eg 7.5E-3, which is another way of writing 7.5x10

-3).
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle4.city.ac.uk?

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

Browser

Додати до Chrome