Recent Question/Assignment

Assessment Details and Submission Guidelines
Unit Code MN404 – T1 2018
Unit Title Fundamentals of Operating Systems and Programming
Assessment Type Individual Assignment
Assessment Title Assignment-1: Role of Operating Systems and Command Line Interface (CLI)
Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements in them.
a. Describe the role of Operating Systems (OS) and its different subsystems in controlling computer hardware
b. Demonstrate competency in the use of a command line interface to operate and perform simple OS administration
Weight 20% of the total assessments
Total Marks 45
Word limit Not applicable
Due Date Week 7, Friday, 11.55 PM
Submission Guidelines • Submit a word document that contains the screen shots of the answers to all the questions in section 2 (Unix exercises) along with the answers for questions in section 1. All screen shots submitted on Moodle must carry your unique id such as MITID, names etc.
• All work must be submitted on Moodle by the due date along with a completed Assignment Cover Page.
• The assignment must be in MS Word format, 1.5 spacing, 11-pt Calibri (Body) font and 2 cm margins on all four sides of your page with appropriate section headings.
• Reference sources must be cited in the text of the report, and listed appropriately at the end in a reference list using IEEE referencing style.
• Students must ensure before submission of final version of the assignment that the similarity percentage as computed by Turnitin has to be less than 10%. Assignments with more than 10% similarity may not be considered for marking.
Extension If an extension of time to submit work is required, a Special Consideration Application must be submitted directly through AMS. You must submit this application within three working days of the assessment due date. Further information is available at:
http://www.mit.edu.au/about-mit/institute-publications/policies-procedures-and-guidelines/specialconsiderationdeferment
Academic Misconduct
Academic Misconduct is a serious offence. Depending on the seriousness of the case, penalties can vary from a written warning or zero marks to exclusion from the course or rescinding the degree. Students should make themselves familiar with the full policy and procedure available at: http://www.mit.edu.au/about-mit/institute-publications/policies-procedures-and-guidelines/Plagiarism-Academic-Misconduct-Policy-Procedure. For further information, please refer to the Academic Integrity Section in your Unit Description.
Assignment 1 Specifications
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬_________________________________________________________________________________
Section 1: Operating Systems (15 marks)
I. List ?ve services provided by an operating system(OS). Explain how each service provides convenience to the users. Can some of the OS services be provided by user level programs?
(4 marks)
II. To which extent are the two OSs (Linux/Unix and Windows) essentially the same and importantly different? (4 marks)
III. Discuss multiprocessing systems and explain how multiprocessing increases the utilisation of resources. (3 marks)
IV. Illustrate the concept of batch processing operating system. (4 marks)

_________________________________________________________________________________
Section 2: OS Administration using Command Line Interface (CLI) (20 marks)
1. Directory Navigation (8 marks)
Manipulate directory structures.
1. Create a new subdirectory called MN404-temp in your home directory.
2. Create a new subdirectory called assign1 in MN404-temp.
3. Create a new subdirectory called assign2 in MN404-temp.
4. Display the contents of the directory MN404-temp.
5. Delete the directory assign2.
6. Display the contents of the directory MN404-temp
7. Change your current working directory to MN404-temp.
8. Create a new subdirectory called assign2 in MN404-temp.
9. Create a new file called MyFile.txt using the touch command and insert two lines into the file.
i. The first line should be a sentence that tells me your favourite movie.
ii. The second line should be a sentence that tells me your favourite food.
10. Display the contents of the file MyFile.txt to the standard output (screen).
11. Copy the file MyFile.txt to directory assign1 and rename it to t_1.txt.
12. Change your working directory to assign1.
13. Make a copy of t_1.txt with the name t_2.txt (in the same directory).
14. Display the contents of the directory assign1.
15. Copy the t_1.txt file to directory assign2.
16. Display the contents of the directory assign2.
Q2: Manipulate files using wildcards. (10 marks)
1. Change your current working directory to MN404-temp. (Stay in this directory for the rest of the steps in question 2)
2. Create a new directory called assign3 in your working directory.
3. Create 9 new files (in directory assign3) named as follows:
i. Test_1.txt
ii. Test_2.txt
iii. Test_1-1.txt
iv. Test_2-1.txt
v. Test_1-2.txt
vi. Test_2-2.txt
vii. Test_1-1.bak
viii. Test_2-2.bak
ix. File_1.bat
4. Display a listing of all the files in the working directory.
5. Display a listing of all the files ending in txt using one command.
6. Display a listing of all the files ending in t using one command.
7. Copy all the files containing -t_1- to the directory assign3 using one command.
8. Display a listing of the contents of the directory assign3.
9. Create a read-only file in your home directory.
10. How will you find which operating system your system is running on in UNIX?
Q 3: Use the man command to first learn the syntax and parameters for the commands du, wc and date, and then use the commands as follows: (2 marks)
1. Print the newline count, the byte counts and the longest line length for the file MyFile.txt in the directory MN404-temp.
2. Print the current date using the default format.
Marking criteria:
Questions Description Marks
Section 1

Question 1
Question 2
Question 3
Question 4
15
4
4
3
4
Section 2
All the commands in this section have to be executed on Ubuntu in the lab.
1. Directory Navigation
2. Manipulate files using wildcards
3. Use the man command to first learn the syntax for the commands ‘wc’ and ‘date’, and then use the commands to answer the questions
20
8
10
2
Reference style Follow IEEE reference style (should have both in-text citation and reference list) 5
Viva Voce Tutor will assess your understanding of work done for this assignment. This will be done during week -6 and Week-7 lab . 5
Total 45
Grades HD D
Credit P N (fail)
Section -1 Concise and specific answers to the questions Answers are relevant and soundly analysed. Generally relevant and analysed. Some relevance and briefly presented. This is not relevant to the assignment topic.
Section 2 Perfect usage of commands for the given tasks Commands used are relevant Generally relevant Some relevance Not relevant to the assigned tasks.
Demonstration Logic is clear and easy to follow with strong arguments Consistency logical and convincing Mostly consistent logical and convincing Adequate cohesion and conviction Argument is confused and disjointed
IEEE Reference style Clear styles with excellent source of references. Clear referencing style Generally good referencing style Sometimes clear referencing style Lacks consistency with many errors

Looking for answers ?