Lecture 2: Basic OS Concepts and Programming in C

19 August, 2011

In this lecture, we will first go through some basic concepts in an OS, including process, address space, file, and shell. We will then revisit how a system call is implemented in more detail. In the second half of the lecture, we will briefly introduce C programming, with an emphasis on pointers.

Download Slides: PDF

Having a hardcopy of slides during lecture would be helpful. Be prepare to take notes during lecture.

Reading:

  • Section 1.5: Concepts in OS.
  • Section 1.6: System calls (1.6.1 onwards are FYI at the moment — will visit them in details later in the semester).
  • Section 1.8: The world according to C.
  • Section 10.1, 10.2: Basic background on Linux (FYI)

Useful Materials on C for Java Programmers (from other universities)

Related Wikipedia entries are listed below. These are for students who are keen to go beyond what is covered in CS2106. Read the articles with a critical mind since Wikipedia is editable by anyone.

4 thoughts on “Lecture 2: Basic OS Concepts and Programming in C

  1. the first and the last one are good…the second one is kinda brief, the third one’s broken…=(

    thanks anyway!

Comments are closed.