Kungl Tekniska Högskolan

2G1506: Programming with Processes
(Programmering med Processer)
2003/2004 (Period 1) 

Programming with Processes (Programmering med processer) is a 5 credit elective/obligatory course for KS (IT3) , D4, E4 offered by the Dept. of Microelectronics and Information Technology (IMIT)

Since 2004/2005, the 2G1506 course is replaced by the 2G1915 course.

Exams:

Index

Course Description

  1. The course will provide study the core concepts and techniques for concurrent (process-oriented and multithreaded) programming which forms the basis for operating systems, reactive and real-time systems, distributed and multi-processor systems.  It will study concurrent programming with threads (processes) and shared variables; locks and barriers, semaphores and monitors. It also provides an overview of principles of distributed programming with processes and message passing. It will include an overview of distributed programming environments. The course will also include a short overview of principles and environments for parallel programming.
  2. Practical work: The course is intended to give you knowledge and skills in concurrent programming. You will be introduced to the Pthreads library and Java's threads and synchronization methods, as well as Message Passing Interface (MPI) in programming assignments (homework sets and a course project).

Prerequisites

Experience and skill in a high level programming language such as Java or C. Basic knowledge in computer architecture (2G1502 Computer Hardware Basics or equivalent). Acquaintance with object-oriented programming.

Contents

Literature


 
The course is based on readings from the textbook 
Foundations of Multithreaded, Parallel, and Distributed Programming, by Gregory R. Andrews, Addison-Wesley, 2000; ISBN 0-201-35752-6 
augmented by guest lecture(s). 
See a copy of the errata page provided by the author that contains corrections to the known errors. 
Check a new copy of the errata page for the second printing of the book. 

A copy of the textbook can be bought at the KTH bookstore Kårbokhandeln at Electrum in Kista or / and at KTH campus (Drottning Kristinas väg 29). 

Examination

The examination consists of
  1. Written reports of programming assignments:
  2. A final written exam (5 h).
Distribution of course points: See the exam schedule and deadlines for assignments in Schedule.

The exam will consist of tasks of problem solving and descriptive character. The exam will cover material from the course textbook presented at the lectures and/or listed in the reading instructions. Links to old exams can be found at http://www.imit.kth.se/courses/2G1506/old/exams/index.html

Bonus Policy:

Course Staff

(Email inquiries regarding the course should be addressed to the course administration pps-adm@it.kth.se)
Latest update: May 30, 2004
pps-adm@it.kth.se