Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

This document is for GTUC/Coventry University students for their own use in completing their

assessed work for this module and should not be passed to third parties or posted on any
website. Any infringements of this rule should be reported to facultyregistry.eec@coventry.ac.uk

Faculty of Engineering, Environment and Computing

GTU207SE - Module Title: Operating Systems, Security and Networks

Assignment Brief May 2022

ModuleTitle: Ind/Group: Cohort Module Code


Operating Systems, Security and (Sept/Jan/May) GTU207SE
Networks Individual

Coursework Title(e.g. CWK1) Hand out date:


CWK1

Lecturer: Due date:


Sangeetha
EstimatedTime (hrs): Coursework type: % of Module Mark
Individual Work 60%
Word Limit*: 1,500
Submission arrangement online via GTUC LMS (Moodle):
File types and method of recording:
Mark and Feedback date:
Mark and Feedback method:

Module Learning Outcomes Assessed:

Portfolio 1:

2. Make use of services provided by the operating system, such as process control, threading, memory
management, device access.
3. Understand the mechanisms of a variety of file system and be able to use the tools associated with
them

Portfolio 2:

2. Understanding different approach for software to communicate over a network

5. Make use of services provided by the operating system, such as process control, threading, memory
management, device access.
This document is for GTUC/Coventry University students for their own use in completing their
assessed work for this module and should not be passed to third parties or posted on any
website. Any infringements of this rule should be reported to facultyregistry.eec@coventry.ac.uk

Portfolio 1:
Question 1: [20 pts]
A company, using a multi-programming operating system, has 1 megabyte of memory.
The operating system occupies 250K of memory and every process that is executed also
requires 250K of memory.
The processes have an average I/O wait time of 80%.
The company ask you if they should invest in more memory and, if so, how much. What
would you advise and why?
Would your advice change if the company said they had made a mistake and the average
I/O wait time was only 20%? If so, why? Explain step by step

Question 2: [20 pts]


Assume a computer with a memory size of 256K, initially empty. Requests are
received for blocks of memory of 5K, 25K, 35K and 20K. Show how the buddy system
would deal with each request, showing the memory layout at each stage and the status of
the lists at the end.
After allocating all the processes, what would be the effect of the 25K process
terminating and returning its memory?

Question 3: [20 pts]

Take a senacario and explain various 4 CPU scheduling algorithms and along with examples.

Portfolio 2:
Each question carries 20 Marks
1. When the UNIX filling system opens a file its i-node is copied into memory. It has
been suggested, that with memory getting cheaper that if n processes open the
same file then n copies of the I-node could be held in memory. Is this a good idea?
Give your reasons and examples for the same.

2. Write a shell script that accepts a file name, starting and ending line numbers as
arguments and displays all the lines between the given line numbers.

3. Write a shell script that takes a command –line argument and reports on whether
it is directory, a file, or something else. Write a shell script that accepts one or
more file name as arguments and converts all of them to uppercase, provided
they exist in the current directory.
This document is for GTUC/Coventry University students for their own use in completing their
assessed work for this module and should not be passed to third parties or posted on any
website. Any infringements of this rule should be reported to facultyregistry.eec@coventry.ac.uk
Notes:
1. You are expected to use the CUHarvard referencing format. For support and
advice on how this students can contact Centre for Academic Writing (CAW).
2. Please notify your registry course support team and module leader for disability
support.
3. Any student requiring an extension or deferral should follow the university process
as outlined here.
4. The University cannot take responsibility for any coursework lost or corrupted on
disks, laptops or personal computer. Students should therefore regularly back-up
any work and are advised to save it on the University system.
5. If there are technical or performance issues that prevent students submitting
coursework through the online coursework submission system on the day of a
coursework deadline, an appropriate extension to the coursework submission
deadline will be agreed. This extension will normally be 24 hours or the next
working day if the deadline falls on a Friday or over the weekend period. This will
be communicated via email and as a CUMoodle announcement.

Mark allocation guidelines to students (to be edited by staff per assessment)


0-39 40-49 50-59 60-69 70+ 80+
Work mainly Most elements Most elements Strengths in all Most work All work
incomplete completed; are strong, elements exceeds the substantially
and /or weaknesses minor standard exceeds the
weaknesses in outweigh weaknesses expected standard
most areas strengths expected

You might also like