CS 3733 Operating Systems, Spring 2009 Assignment 0

Due Friday, January 23, 2009

Assignment 0 has 5 parts.


Part 0:
Access the web site: /classes/cs3733s2009 and find out about assignment 1.

Part 1
If you have not already done so, create a web page for yourself.
The address of your web page should be http://www.cs.utsa.edu/~username. Create a course web page with web address http://www.cs.utsa.edu/~username/cs3733/index.html. This should be globally accessible. Your course web page should be very simple without much graphics so that it will load quickly over a phone line.

The permissions of the public_html and cs3733 directories should be drwxr-xr-x and the permissions of the index.html file should be -rw-r--r--.

If you are not familiar with creating HTML files, you may want to use the template available here. Put the file index.html in your ~username/public_html/cs3733 directory. Edit this file and insert your name in two places.

Part 2:
Make sure you can send and receive mail using your CS account in the CS lab. You may have the mail sent to your CS account forwarded to another address, but be sure that the address is valid. If you send me email about this course, make sure CS 3733 is in the subject and if you send it from another account, please make sure you identify yourself.
Do not include any attachments in email to me, unless you are specifically asked to do so. Make sure you know how to include a small ASCII file in an email message without using an attachment.

Part 3:
Read and understand Assignment 1 which can be found here.

Write the code for Part 0 of Assignment 1. Run the code and save the output in a file.

Suppose the function fcfs from Part 1 of Assignment 1 is called with:
fcfs(s1, s2, 8, 7, 3, 6, 3, 2);
What are contained in the strings s1 and s2?
You do not have to write the fcfs program from Assignment 1 to answer this question, you just need to figure out what the output would be. Put your answer at the end of the file you generated from running Part 0.

Part 4:
When you have completed the other parts of the assignment send me email at srobbins@cs.utsa.edu informing me that you have completed all parts of Assignment 0. The subject line should be
CS 3733 Assignment 0
This email must be sent directly from your CS account.
The body of your mail message should contain a statement indicating that you have completed the prerequisites for the course and indicate how you satisfied each prerequisite. For example you can state that you took CS 2413 at UTSA last semester and took CS 2734 and CS 3233 the semester before.
Alternatively, you can attach a copy of an email message from me to you in which I state that you may take the course without having formally completed the prerequisites.

Also include a copy of the file generated in Part 3 above. What you send to me in this email should not be in the form of HTML or an attachment, just ASCII text. Use cut and past to directly put a copy of the contents of the file in the email.

If you are not prompted for a subject line when you send mail, insert an alias in your .cshrc as follows:
alias mail mailx
source your .cshrc and try again.

Grading
This assignment is worth 20 points. Most of the other assignments will be graded on a basis of 30 or 40 points. Your answer in Part 3 are worth 10 points of this assignment. To receive credit for this assignment, you must send the email by midnight on the due date. No late assignments will be accepted.