100% Guaranteed Results


OS – Homework Assignment #1 Solved
$ 29.99
Category:

Description

5/5 – (1 vote)

Instructions
1. If any question is unclear, please ask for a clarification.
2. You are required to do all the homework assignments on Linux.
4. Unless stated otherwise, you are required to work on the homework assignment individually.
5. No late homework will be accepted.
6. No cheating.
Part I (50%)
As a preparation step for the second part of this and later homework assignments, for the first part of this homework assignment, you are required to do the following.
1. Install Linux on your computer. It is up to you to choose a distribution that you prefer.1 Make sure that it can connect to the Internet.

1Here are some Linux distributions that you might be interested.
• Debian: http://www.debian.org/
• Fedora: http://fedoraproject.org/
• Gentoo: http://www.gentoo.org/
• Ubuntu: http://www.ubuntu.org.tw/
Hand in a report to show that the newly compiled kernel works by showing the output of the following commands:
• uname -a
• ifconfig -a
• ping 140.117.11.1
Part II (50%)
For the second part of this homework assignment, you are required to write a shell that is similar to Fig. 1–10 of the text but contains enough code so that it actually works and you can use it as a shell on Linux.
For full credits, here are the minimum requirements of the shell you are required to write.
1. It should be able to run all the single-process commands.
2. It should be able to run all the two-process pipelines, the skeleton of which is as given in Fig. 1–13 of thetext.
3. It should be able to handle input and output redirection.
4. It should be able to execute commands in the background.
You are, of course, free to add more features to the shell you write.
In addition, all the programs you write must be well organized and come with a Makefile that can be used to correctly compile your program. Without a Makefile, your homework assignment will not be graded—meaning that you will receive zero points.
Grading Policy
The grading policy for this homework assignment is as follows:
• 10 points for the shell if it is capable of executing all the single-process commands correctly.
• 15 points for the shell if it is capable of executing all the two-process pipelines correctly.
• 15 points for the shell if it is capable of handling input and output redirection correctly.
• 10 points for the shell if it is capable of executing commands in the background correctly.
Gentle Reminder
Once again, as mentioned in the instructions, no late homework will be accepted.

Reviews

There are no reviews yet.

Be the first to review “OS – Homework Assignment #1 Solved”

Your email address will not be published. Required fields are marked *

Related products