Operating Systems (Spring 2016)
This class is taught by Jay McCarthy. Call him Jay. Email him at first-name DOT last-name AT gmail DOT com.
We meet in Olsen 402 at 0930-1045.
Jay McCarthy’s office hours are MWF 0700-1130 TR 0900-1530 in Olsen 221.
There is a mailing list hosted at Google Groups. Use it to ask non-revealing questions and receive answers, as well as general course announcements. You are responsible for reading the content of this mailing list.
Presents an introduction to major operating systems and their components. Topics include processes, concurrency and synchronization, deadlock, processor allocation, memory management, I/O devices and file management, and distributed processing. Techniques in operating system design, implementation, and evaluation will be examined.
MO 1 (slides)
Processes & Threads
MO 2-2.1 (slides)
Threads & IPC Problems
MO 2-2.2 (slides)
IPC Problems cont.
MO 2-2.3 (slides)
Finish Chapter 2
MO 2 (slides)
MO 6 (slides)
MO 3-3.2 (slides)
MO 3-3.3 (slides)
Exam 1 Review
See Exam 1*
MO 3-3.4 (slides)*
MO 3-3.4 (slides)
VM Design Issues
MO 3-3.5 (slides)
VM Implementation Issues
MO 3-3.6 (slides)
MO 4-4.2 (slides)
MO 4-4.3 (slides)
MO 4-4.4 (slides)
Finish Chapter 4
MO 4 (slides)
Exam 2 Review
See Exam 2
Virtualization & the Cloud
Exam 2 Recap and Virtualization
Finish Chapter 7
Final @ 8am in normal room. See Final
Jay will not be present on days marked with a * in the Notes column.
This schedule is likely to change.
Out dates are suggestions—
This schedule may change.
4 Turn-In and Grading
I highly recommend that you read this article about grading. I also recommend you read this article about the stress that you may experience in a computer science program. Please try to make healthy productive choices in your life. I would love the opportunity to help you in any ways I can.
Create a Bitbucket account if you do not have one.
Create a repository named 2016-Spring-91.308.
Ensure it is configured as a Git repository that is private. You can configure it with No forks, if you want.
Click on Settings and then click on Access management then add me (username: jeapostrophe) to the repository with the Read permission.
Initialize the repository by following the instructions on the Bitbucket site.
As you work on assignments, you should create a directory in the repository with the name of assignment and do all your work in that directory. You should commit and push often. I will watch over your shoulder and try to give you advice as you work. Thus, the more you push, the easier it will be for you, because you’ll get more attention from me. This video is a good tutorial on Git.
You turn in your assignments by tagging a revision on Bitbucket and then emailing me a link to the tag. Both of these things should be done before 6PM Lowell time on the due date listed. If either is late (even by a single second), it will not be graded. This is a real due date and due time. Please use this early due time to get a good night’s sleep and enjoy your evenings.
You should tag the revision with code of the assignment. You should email the link to me with [CS308] code as the subject, where code is the code listed on the assignment table under the Code column. Do not send multiple emails and do not make multiple tags.
Your email should contain nothing else in it.
Turn-ins that are not in the correct format will not be graded.
4.3 Assignment Scores
Each assignment’s page describes how it will be graded. All assignments will receive a grade from the closed interval between 0 and 1.
4.4 Exam Policy
Exams must be taken in person, at the scheduled time, and must be turned in on stapled-together paper with your writing on it as produced by your hand and a pen or pencil, except in special situations as required by students with special needs.
Exams must be completed without any notes, books, or resources of any kind, except for one single-sided hot-pink 3-inch-by-5-inch index card, such as is available from Amazon. No other colors or sizes are acceptable.
Each exam will receive a grade from the closed interval between 0 and 1.
4.5 Numeric Grade
I will take your various points and combine them with this function to get a numeric grade:
> (define (sum l) (foldl + 0 l))
> (define (average l) (/ (sum l) (length l)))
> (define (combine a1 a2 a3 a4 a5 a6 exam1 exam2 final) (+ (* 0.4 (average (list exam1 exam2))) (* 0.2 final) (* 0.4 (average (list a1 a2 a3 a4 a5 a6)))))
> (combine 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)
> (combine 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5)
> (combine 0.5 0.6 0.7 0.8 0.9 1.0 0.5 0.9 1.0)
> (combine 1.0 1.0 1.0 1.0 1.0 1.0 0.8 0.8 0.8)
> (combine 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0)
4.6 Letter Grade
> (define (convert-to-letter ng) (cond [(> ng 0.93) "A"] [(> ng 0.9) "A-"] [(> ng 0.86) "B+"] [(> ng 0.83) "B"] [(> ng 0.8) "B-"] [(> ng 0.76) "C+"] [(> ng 0.73) "C"] [(> ng 0.7) "C-"] [(> ng 0.66) "D+"] [(> ng 0.6) "D"] [else "F"]))
> (convert-to-letter 1)
> (convert-to-letter 0.94)
> (convert-to-letter 0.899999)
> (convert-to-letter 0.81)
> (convert-to-letter 0.74)
> (convert-to-letter 0.6999999)
> (convert-to-letter 0.62)
> (convert-to-letter 0.57)
My job is to help you.
If you need a "shallow" amount of help, then look at the Google Group. First, see if I have already answered your question. Then, send your own email.
Only send me personal email if you need to talk about something private, such as your grades. Anything else is best discussed in public, so others can benefit. If you do send personal email, put [CS308] as a prefix in the subject.
If you need a "deep" amount of help, please come to my office or call me (801-361-0732) and we’ll talk and try to resolve whatever ails you.
(MO) We’ll be using the book Modern Operating Systems (4th Edition), by Andrew S. Tanenbaum and Herbert Bos (Amazon link).
You are expected to procure MO yourself. It is available in digital formats. I highly recommend searching for it.
The programming assignments should be written in C.
If you’d like a refresher on C, I recommend this tutorial and if you want an in-depth study, I suggest Learn C the Hard Way.
I highly suggest that you learn to do all your editting and programming in either Emacs or Vim and do everything using the command-line.
I highly suggest that you do all your work on your personal Linux computer. If you do not have one, I highly suggest that you download the free VirtualBox VM software along with a free pre-built image of a distribution like Ubuntu. I do not recommend using the department servers.
Finally, I’d like you to do all your work on a Bitbucket repository that you share with me, so make sure you get yourself set up with that.
8 Fine Print
In this course, all work is to be each student’s own. Students should therefore be familiar with the University’s rules on academic dishonesty, which can be found in the Bulletin of Undergraduate Studies and in the Schedule of Classes. In particular, plagiarism will not be tolerated! Any student caught plagiarizing another’s work will automatically receive a grade of F for the course. If you are unsure as to what constitutes plagiarism, it is your responsibility to check with the instructor. Other forms of dishonesty will result in similar actions. You may collaborate with your classmates on the design and results of the programs you will write in this course, but each student must implement these programs alone. Submission of shared student code is not permissible, and will result in a grade of F for the course. Help files are typically provided for each programming assignment, and students are encouraged to cut and paste useful code from these help files into their assignment submissions, but all other code must be the specific work of each student.
This course is based on 91.308 by Prof. Moloney.