logo

Crowdly

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 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,7,5   (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
A file that exists in a directory  has the permissions shown in the image, identify the permissions in a numeric way.

-rwx--x--x

View this question
Visit the Common Vulnerabilities and Exposures (CVE) website (https://www.cvedetails.com/top-50-products.php). Select the year 2015

, and observe which products had the highest number of vulnerabilities. Select the top five products (i.e. highest number of vulnerabilities). If you cannot find this year, select any year and then edit the date in

the URL e.g.,

https://www.cvedetails.com/top-50-products.php?year=2022.

(

Whilst

you are there, study other years. Is there a pattern on how things have

changed over the years? Are there any products that you expected to be

there but were not? Or the reverse?

)

View this question
Which of these is NOT a type of access control we have discussed in the lecture
View this question

A process that requires 3 MB of space is swapped to a hard disk. The  transfer rate to the disk is 139.5 MB/s and there is a further latency of 2.8 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 page-fault occurs. No free frames are available. All entries in the page table have the dirty-bit set. What happens next?
View this question
A file that exists in a directory  has the permissions shown in the image, identify the permissions in a numeric way.

--w--w--w-

View this question

The following image contains a listing of a unix directory with one of the attributes enclosed in a red box. Select the correct attribute from the options below.

 

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

Identify the correct permissions that are granted with the following commands

View this question

Consider a

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

9, 20, 15, 22,  18,  17,  19,  31,  11, 14 

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

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!