0% found this document useful (0 votes)
109 views

Ict246 - Tma - Jul 2021

This document contains instructions for a Tutor-Marked Assignment (TMA) in the course ICT246 Operating Systems. It includes 4 questions assessing students' knowledge of Android OS, virtual machines using Debian OS, and system security using Linux. Students must write responses in Word format, include all requested information and documentation, and submit their work before the due date of September 5, 2021. The TMA is worth 18% of the student's final course grade.

Uploaded by

zeeshan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views

Ict246 - Tma - Jul 2021

This document contains instructions for a Tutor-Marked Assignment (TMA) in the course ICT246 Operating Systems. It includes 4 questions assessing students' knowledge of Android OS, virtual machines using Debian OS, and system security using Linux. Students must write responses in Word format, include all requested information and documentation, and submit their work before the due date of September 5, 2021. The TMA is worth 18% of the student's final course grade.

Uploaded by

zeeshan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ICT246

Operating Systems

Tutor-Marked Assignment

July 2021 Presentation


ICT246 Tutor-Marked Assignment

TUTOR-MARKED ASSIGNMENT (TMA)

This assignment is worth 18% of the final mark for ICT246 Operating Systems.

The cut-off date for this assignment is Sunday, 05 Sept 2021, 2355 hrs.

Note to Students:

You are to include the following particulars in your submission: Course Code, Title of the
TMA, SUSS PI No., Your Name, and Submission Date.

Answer all questions. (Total 100 marks)

Question 1

In this task, you need to write 300 words on Android operating system (OS).

First, explain the core functions of the Android OS. Pick ONE (1) of the core functions and
dive deeper into it.

In addition, describe what Android OS is commonly used for, and what are the advantages of
using Android OS. A reflection should be given at the end of your writeup to describe what
you have learnt and what is your experience (if any) in using Android OS.

Appropriate references should be stated.

(15 marks)

SINGAPORE UNIVERSITY OF SOCIAL SCIENCES (SUSS) Page 2 of 5


ICT246 Tutor-Marked Assignment

Question 2

In this task, you need to demonstrate the creation and usage of virtual machine using Debian
OS.

A small glove manufacturing company has recently expanded to Singapore. The company has
purchased a server with 10 hard disks (each hard disk has a storage size of 1.5 TB). The server
is installed with Debian OS, and it has an operational life of 30 months.

The requirements for the storage space are stated as follow:

• 2.1 TB is needed for the manufacturing department to store various documents. No data
should be lost.

• 3 TB is needed for the research and development department to store various designs.
Loss of any of the design documents will impact the company competitive advantage.

• 4 TB is needed for all the staff for fast sharing of non-sensitive information. Loss of
data is not an issue, but performance is important.

• 2 TB is needed for the marketing department to store various documents and videos.
No data should be lost.

Note that besides the Debian operating system, which is installed in a hard disk, you will need
to use ZFS to implement the rest of the 9 hard disks.

Part (a)

Explain and justify how do you plan and utilize the 9 hard disks? Sketch a diagram to help in
your explanation. Appropriate RAID system(s) need to be used.
(15 marks)

Part (b)

Install additional hard drives in your Debian virtual machine, and simulate the scenario using
ZFS with relevant pools and reservations (For this task, you will need to install another 9 hard
disks in your Debian virtual machine).

Demonstrate what you have done with clear explanations and appropriate screen-shots.

(15 marks)

SINGAPORE UNIVERSITY OF SOCIAL SCIENCES (SUSS) Page 3 of 5


ICT246 Tutor-Marked Assignment

Question 3

In this task, you need to implement system security and access control in Linux operating
system. You could also describe how the processes are managed after you have implemented
your script.

Using Debian OS, write and implement ONE (1) bash shell script (only one script should be
written for whole Question 3). You are to use the root account to execute the script. The script
will implement a modified version of First Come First Served scheduling algorithm. The bash
shell script should have the following specifications:

Part (a)

1. The script will prompt the user to enter a text file (.txt) (Note: each line of the text file
consists of arrival time and service time of a process). As an example, if there are five
processes, and the processes arrival time are 0, 1, 2, 3, 4, and the service time are 2, 10, 8,
9, 20, then the text file will have 5 lines, and the content of the text file will be as follow
(use comma as delimiter between arrival time and service time):
0,2
1,10
2,8
3,9
4,20
2. It will check whether the text file exist, and if the text file does NOT exist, it will ask the
user to re-enter the text file (it will keep asking until the user enter a text file that exists)
3. It will read in the values from the text file and display the number of processes on the screen
4. It will then calculate the finish time for each process and display each process finish time
on the screen

(15 marks)

Part (b)

1. It will also calculate the turnaround time for each process and display each process
turnaround time on the screen
2. The average turnaround time for all processes will then be append to a file “time.txt”
3. The following will then be changed:
 Owner of “time.txt” to root user
 Group of “time.txt” to root user
 Permissions of “time.txt” to the owner can read and write, group can read, and
others do NOT have any permissions
(15 marks)

SINGAPORE UNIVERSITY OF SOCIAL SCIENCES (SUSS) Page 4 of 5


ICT246 Tutor-Marked Assignment

Part (c)

1. The size of the text file “time.txt” (in bytes) will then be displayed on the screen
2. Validation check needs to be done in the bash shell script whenever possible (e.g. when
inputting the text file, the script should check whether the text file is empty or not)
(10 marks)

Part (d)

A documentation (with appropriate screen-shots and explanations) needs to be produced on the


execution of the bash shell script with different conditions (e.g. text file existed, text file does
not exist, etc.). Necessary checking needs to be done (e.g. check that the permissions of the file
“time.txt” has changed, etc.).

Appropriate comments must be added in the script to make it easier to understand.


(15 marks)

IMPORTANT: A zero will be given if your bash shell script cannot be executed.

Note: Your bash shell script should be in text format within the WORD document. Marks
will be severely deducted if your bash shell script is NOT in text format (e.g. if you paste the
bash shell script in WORD as an image).

---- END OF ASSIGNMENT ----

SINGAPORE UNIVERSITY OF SOCIAL SCIENCES (SUSS) Page 5 of 5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy