Here are the page replacement examples that we worked through in class.
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.
Here are the page replacement examples that we worked through in class.
Read Chapter 22 from our operating systems textbook (this is the last chapter that we will cover).
The second exam is on Monday, April 29 (according to the university's final exam schedule). Here is a file that contains sample questions for the exam.
See the homework assignment page for your fourth programming assignment.
Read Chapter 21 from our operating systems textbook.
Read Chapter 18 from our operating systems textbook.
The following zip file contains sample code and information about Windows virtual memory.
Read Chapters 14 and 16 from our operating systems textbook.
The first midterm exam is today.
Read Chapters 13 and 15 from our operating systems textbook.
Remember that the first midterm exam will be next Wednesday, March 27. Here are the review questions for the midterm exam.
Read Chapter 8 from our operating systems textbook.
Spring Break - No class today.
Spring Break - No class today.
See the homework assignment page for your third programming assignment.
The following zip file contains sample code and information about Windows scheduling.
The first midterm exam will be Wednesday, March 27. Here is a file that contains review questions for the midterm exam.
The following zip file contains sample code about system calls (see Section 6.2 from Mechanism: Limited Direct Execution).
Read Chapter 7 from the textbook.
The following zip file contains sample code that demonstrates the idea of process states from Section 4.5 of The Abstraction: The Process.
Read Chapter 6 from our operating systems textbook.
See the homework assignment page for your second programming assignment.
Read Chapter 4 from our operating systems textbook.
The following zip file contains sample code for creating a Windows process.
No class today because of the weather.
No class today because of the weather.
Read Chapter 2 from our operating systems textbook.
Read the Section 12.1 about structures from this book,
Read Sections 6.2 and 6.2.1 about structures from this book.
Today we will run the following sample C code on the C Tutor - Visualizer.
No class today, Martin Luther King Jr. Day.
Read the chapter about arrays from this book,
Read the chapter about arrays and pointers from this book.
Read the chapter about pointers from this book.
For practice, do theses exercises at the end of the chapter.
The following zip file contains the code for an example very similar to the first homework assignment.
See the homework assignment page for your first programming assignment.
The following zip file contains some sample C code.
The following zip file contains some introductory C references.
To help you prepare for the first homework assignment, read the following section from the course textbook.
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.
Here are links to two online, educational C compilers that we will use.
Here is a link to a third educational C compiler that we will use.