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.

7 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!

  2. 8 inch Super AMOLED display blurs the distinction between a traditional phone and a tablet.
    The Android operating-system this phone uses is capable of doing supporting several gamers that may play both Mp3
    and Mp4 format files. Veteran bookbinders know how to intermingle different raw components including fabrics and hardboards
    into a full form of beautiful shields available in attractive designs
    and colors of red, magenta, green, orange, etc.

Comments are closed.