logo

Crowdly

Browser

Add to Chrome

IN1011 Operating Systems (PRD2 A 2024/25)

Looking for IN1011 Operating Systems (PRD2 A 2024/25) test answers and solutions? Browse our comprehensive collection of verified answers for IN1011 Operating Systems (PRD2 A 2024/25) at moodle4.city.ac.uk.

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

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

View this question

A system with a First In First Out page replacement algorithm can store 3 pages in memory at any given time.

Assume that a series of pages arrive in the following order:

 (first)   7,0,1,2,3,7   (last)

The diagram below illustrates the process, three time points have already been completed:

Complete the remaining pages with the incoming pages. Answer which pages are stored in the locations denoted "a?" and "b?". Write down your answer as a two digit response, e.g. if the pages were 8 and 9, write down 89 without spaces, commas or other symbols

View this question

As we learned in the lecture, the memory is divided into different locations in a hierarchy, with some locations holding more memory than others. Below are several options that indicate some options in growing order. Select the option that is NOT CORRECT.

0%
0%
0%
0%
0%
0%
0%
View this question

Memory can be organised in many different ways, with the length of the word / cell / bit width determining how bits are grouped.

Match the diagrams with the number of bits they contain

View this question

Consider a

swapping system that has a series of holes (all in MB) with the following sizes (in order):

10,  4,  10,  18,  7,  9,  12,  15 

Three processes of sizes  5, 6, 11 MB arrive in order.  Select the correct order of the holes selected if a  best fit strategy is used.

View this question

Consider a

swapping system that has a series of holes (all in MB) with the following sizes (in order):

20, 15, 22,  18,  17,  29,  21,  11, 14 

Three processes of sizes  19, 11, 13 MB arrive in order.  Select the correct order of the holes selected if a  worst fit strategy is used.

View this question

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

View this question

A LINUX program uses POSIX-compliant API methods (i.e. pthread_create, pthread_join, etc.) to create and synchronise 9 threads. How many PCBs does the OS need, to manage these threads' executions? 

View this question
View this question
Assume the 5 state process model. Suppose 15 processes have been admitted from the "new" state and are all executing on a system with a single CPU, where 12 of these processes make I/O requests. Assume that at any given time, one of these processes is assigned to the CPU. Based only on this information, before any of these processes terminate, what is the minimum number of processes that can be in the:

1) ready state;

2) blocked state?

0%
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle4.city.ac.uk?

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

Browser

Add to Chrome