CS370: Operating Systems |
[Schedule] | [Assignments] | [Grading] | [Syllabus] | [Infospaces] | [Canvas] | [Home] |
All assignments are due at 8:00 PM on the due date. There is a late penalty of 10% per-day for up to a maximum of 2 days. All assignments will be posted at least 2 weeks prior to its due date. We will have a mix of both written and programming assignments. All assignments will be posted on this page. All assignments should be submitted using Canvas.
Hello World in C: https://infospaces.cs.colostate.edu/watch.php?id=268
Makefile for C Programs: https://infospaces.cs.colostate.edu/watch.php?id=269
Run Script for C Programs: https://infospaces.cs.colostate.edu/watch.php?id=273
Arrays in C: https://infospaces.cs.colostate.edu/watch.php?id=271
Remote SSH Using VS Code: https://infospaces.cs.colostate.edu/watch.php?id=272
The objective of this assignment is to get you to use the fork(), exec(), and wait() system calls on Unix. This assignment will account for 5 points towards your final course grade. Additional details are available here. The objective of this assignment is to get you to be comfortable with Shared Memory and Pipes for Inter Process Communications on Unix. This assignment will account for 5 points towards your final course grade. Additional details are available here. Some helpful Infospaces videos for this assignment:
This is an assignment on concurreny control using Threads to solve the producer-consumer problem with a bounded buffer. This assignment will account for 10 points towards your final course grade. Additional details are available here.
If your project has more than just a Schedule.cc file, you will need to adjust the Makefile to link them together. Included here is a testing input file of processes. For this testing file, you should be getting the following output: --- FCFS --- Note: Your Priority and SJFP output *might* vary slightly due to how you're breaking ties between equal priorities and remaining burst times respectively. You should be building a Gantt chart on paper with simple examples (~5 processes), doing the math by hand, then verifying that your code produces the same results before you try to run your code on 100+ process inputs.
Here's an easy sample input for FCFS to verify by hand: 1,0,3,5 You should be getting this output: --- FCFS ---
A couple of helpful Infospaces videos have been created for this assignment: File I/O video: https://infospaces.cs.colostate.edu/watch.php?id=295 Page Faults video: https://infospaces.cs.colostate.edu/watch.php?id=298
|
Department of Computer Science, Colorado State University, Fort Collins, CO 80523 USA © 2023 Colorado State University |