![]() |
ANU College of Engineering and Computer Science
School of Computer Science
|
|
|
Introduction to Computer SystemsAssignment 1 Specification - Shell ProgramThe aim of this assignment is to give you some more experience in developing c programs. The basic part of this assignment aims to be simple enough for most students to be able to complete in less then 5 hours. The assignment also aims to provided a more open ended and challenging programming task for the student who wish to gain extra experience (and a higher mark).The assignment will be marked out of 100. And is worth 10% of the final mark. A late penalty of 10% per day applies (these are working days and apply from after the assignment is collected. The assignment will be collected some time after noon on the Friday. Also note this penalty is caped so it does not take your final mark for this assignment below 40 out of 100. Assignment work will not be accepted after the last day of semester. Extensions are possible in documented exceptional cases (e.g. medical certificate).
Part 1 - Basic shell program - 40 marksA shell program takes input from a terminal and this text is used to launch programs for a user. So for example if the program for printing "Hello World" is in the current directory (called "hello") and the user types "hello" then the "hello" program is executed. This will output "Hello World" to the terminal. Once the "hello" program has completed control goes back to the shell program and the user can launch another program.Develop your own basic shell program. This program will enable a user to launch programs that are either in the current directory or in the "/bin" or "/usr/bin" directories. Part 2 - README file - 20 marksWrite a 1 to 2 page README document that contains the following:
Part 3 - Optional Extension - 40 marksIn this part of the assignment you are free to explore a number of possible extensions to your shell program. These include:
You are also free to dream up some other extensions. Highest marks will be gained a doing one or two extensions very well, rather, than doing a lot of them poorly. MarkingEach part of the assignment will be separately marked. Marks will be given for:
Individual AssignmentThis is an individual assignment. You may help each other, however, the final submission must be original and your own work. Take care not to give parts of your solution to other students.Assignment SubmissionThe assignment must be submitted via a computer in the CSIT labs (or remotely via ssh to partch or one of our servers). Submit the assignment using the following command:submit comp2300 ass1 README shell.c otherProgramFiles.c A few hits for submission:
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Please direct all enquiries to: ericm@cs.anu.edu.au Page authorised by: Head of School, SoCS |
| The Australian National University — CRICOS Provider Number 00120C |