Concurrent and Operating Systems Programming, 4 credits

Process- och operativsystemprogrammering, 4 hp

TDIU16

Main field of study

Computer Science and Engineering Programming

Course level

First cycle

Course type

Programme course

Examiner

Klas Arvidsson

Director of studies or equivalent

Ahmed Rezine

Education components

Preliminary scheduled hours: 60 h
Recommended self-study hours: 47 h
ECV = Elective / Compulsory / Voluntary
Course offered for Semester Period Timetable module Language Campus ECV
6IDAT Computer Engineering, B Sc in Engineering (Embedded Systems) 4 (Spring 2017) 2 3 Swedish Linköping, Valla C
6IDAT Computer Engineering, B Sc in Engineering (Software Engineering) 4 (Spring 2017) 2 3 Swedish Linköping, Valla C
6KIPR Programming 4 (Spring 2017) 2 3 Swedish Linköping, Valla C

Main field of study

Computer Science and Engineering, Programming

Course level

First cycle

Advancement level

G2X

Course offered for

  • Computer Engineering, B Sc in Engineering
  • Programming

Specific information

Overlapping course contents: TDDB63, TDDB68, TDDB72, TDDI12, TDDI81

Entry requirements

Note: Admission requirements for non-programme students usually also include admission requirements for the programme and threshold requirements for progression within the programme, or corresponding.

Prerequisites

The course presume very good proficiency in programming and basic data structures, as well as good knowledge about operating systems; processes, threads and system calls.

Intended learning outcomes

After the course, the student will be able to:

  • implement a basic set of system calls in the educational operating system Pintos
  • explain concepts related to synchronization
  • analyse program code to identify critical sections and busy wait, and use suitable mechanisms to make it thread safe in a correct and adequate way

Course content

The course is very hands-on and involve many hours programming in a larger code base consisting of the educational operating system Pintos. The course includes:

  • work in and expansion of a larger system.
  • implementation of a basic set of system calls.
  • concepts related to synchronization, such as thread, critical section, atomic operation.
  • how to mechanisms like locks, semaphores and conditions works and are used in an adequate way.
  • how to avoid busy wait.
  • how deadlocks occur and methods to prevent them, for example bankers algorithm.

Teaching and working methods

Students will (in approximate order):

  • be introduced to C programming and synchronization concepts during lectures
  • implement a set of thread safe system calls in the educational operating system Pintos (implemented in C)
The course is given in Swedish to the extent possible. If Swedish speaking faculty, or suitable Swedish literature, is missing those parts will be in English.

Examination

LAB1Computer exercises3 creditsU, G
TEN1Written examination1 creditsU, 3, 4, 5

Grades

Four-grade scale, LiU, U, 3, 4, 5

Other information

Supplementary courses:
Parallel programming, real time systems, embedded systems 

Department

Institutionen för datavetenskap

Director of Studies or equivalent

Ahmed Rezine

Examiner

Klas Arvidsson

Education components

Preliminary scheduled hours: 60 h
Recommended self-study hours: 47 h

Course literature

Operating Systems Concepts av Silberschatz A, Galvin P, Gagne G, 9:e upplagan eller senare. Valda forskningsartiklar relevanta för ämnet.
Code Name Scope Grading scale
LAB1 Computer exercises 3 credits U, G
TEN1 Written examination 1 credits U, 3, 4, 5

Regulations (apply to LiU in its entirety)

The university is a government agency whose operations are regulated by legislation and ordinances, which include the Higher Education Act and the Higher Education Ordinance. In addition to legislation and ordinances, operations are subject to several policy documents. The Linköping University rule book collects currently valid decisions of a regulatory nature taken by the university board, the vice-chancellor and faculty/department boards.

LiU’s rule book for education at first-cycle and second-cycle levels is available at http://styrdokument.liu.se/Regelsamling/Innehall/Utbildning_pa_grund-_och_avancerad_niva. 

Operating Systems Concepts av Silberschatz A, Galvin P, Gagne G, 9:e upplagan eller senare. Valda forskningsartiklar relevanta för ämnet.

Note: The course matrix might contain more information in Swedish.

I = Introduce, U = Teach, A = Utilize
I U A Modules Comment
1. DISCIPLINARY KNOWLEDGE AND REASONING
1.1 Knowledge of underlying mathematics and science (G1X level)

                            
1.2 Fundamental engineering knowledge (G1X level)
X
X
X
LAB1
TEN1

                            
1.3 Further knowledge, methods, and tools in one or several subjects in engineering or natural science (G2X level)
X
X
LAB1
TEN1

                            
1.4 Advanced knowledge, methods, and tools in one or several subjects in engineering or natural sciences (A1X level)

                            
1.5 Insight into current research and development work

                            
2. PERSONAL AND PROFESSIONAL SKILLS AND ATTRIBUTES
2.1 Analytical reasoning and problem solving
X
LAB1
TEN1

                            
2.2 Experimentation, investigation, and knowledge discovery
X
X
LAB1

                            
2.3 System thinking
X
X
LAB1

                            
2.4 Attitudes, thought, and learning

                            
2.5 Ethics, equity, and other responsibilities

                            
3. INTERPERSONAL SKILLS: TEAMWORK AND COMMUNICATION
3.1 Teamwork

                            
3.2 Communications
X
LAB1
TEN1

                            
3.3 Communication in foreign languages

                            
4. CONCEIVING, DESIGNING, IMPLEMENTING AND OPERATING SYSTEMS IN THE ENTERPRISE, SOCIETAL AND ENVIRONMENTAL CONTEXT
4.1 External, societal, and environmental context

                            
4.2 Enterprise and business context

                            
4.3 Conceiving, system engineering and management
X
LAB1

                            
4.4 Designing

                            
4.5 Implementing
X
LAB1

                            
4.6 Operating

                            
5. PLANNING, EXECUTION AND PRESENTATION OF RESEARCH DEVELOPMENT PROJECTS WITH RESPECT TO SCIENTIFIC AND SOCIETAL NEEDS AND REQUIREMENTS
5.1 Societal conditions, including economic, social, and ecological aspects of sustainable development for knowledge development

                            
5.2 Economic conditions for knowledge development

                            
5.3 Identification of needs, structuring and planning of research or development projects

                            
5.4 Execution of research or development projects

                            
5.5 Presentation and evaluation of research or development projects

                            

This tab contains public material from the course room in Lisam. The information published here is not legally binding, such material can be found under the other tabs on this page.

There are no files available for this course.