Class Lectures and Reading Assignments
CS 30200 / ECE 46810
Operating Systems
Spring, 2021
This page documents what we do in class. It contains C programs that we will discuss in class, reading assignments from our textbook, simple homework exercises that you can work on for practice and exam preparation (not for credit), links to other sources of information, etc.
The reading assignments and practice problems are listed by the date on which they were assigned. The sample program files are listed by the date on which they were used. When you are viewing a source code page, you can use your browser's "File -> Save As..." menu item to save a copy of the code on your computer. It is a good idea for you to "play" with these example programs; compile them, run them, make simple changes to them and compile and run them again.
The second exam is today. The exam can be downloaded from Brightspace at 11:00 a.m. The exam document is on the same page in Brightspace where you submit programming assignments. Your completed exam document is due back in Brightspace at 11:00 p.m. this evening. There are more detailed instructions about completing the exam on the first page of the exam document. If you have questions, please send me an email at any time during the exam.
Here are the pictures we used in class to explain demand paging and page faults. Open the two pictures into two tabs and then switch between them to compare the differences.
The first midterm exam is today. The exam can be downloaded from Brightspace when class ends at 1:45. The exam document is on the same page in Brightspace where you submit programming assignments. Your completed exam document is due back in Brightspace at 11 p.m. this evening. There are more detailed instructions about completing the exam on the first page of the exam document.
I have updated the course syllabus to change the date of the first midterm exam to March 31 (from March 10). That will be well after spring break and give you time to study the exam review material.
Here is a file that contains review questions for the midterm exam.
The code in the following zip file demonstrates how Windows functions handle complex parameters (both in and out parameters). This code makes use of automatic, dynamic and static allocation, pointers and malloc. It is not simple code. Run and visualize this code using the C Tutor
Today we will look at the C code in the following zip file which shows how to write code that creates Windows processes (which is what your second programming assignment is about).
If you want to add the "Open command window here" option to the right-click menu for Windows folders, then download the following zip file (which comes from this article) and double click on its included ".reg" file.
Here is a link to a zip file that contains a C compiler that we will use in this course. Download this zip file and unzip it into the top level of your C:\ drive. We will go over in class how to use this compiler.