13S113KDP - Concurrent and Distributed Programming

Course specification
Course title Concurrent and Distributed Programming
Acronym 13S113KDP
Study programme Software Engineering
Type of study bachelor academic studies
Lecturer (for classes)
Lecturer/Associate (for practice)
Lecturer/Associate (for OTC)
ESPB 6.0 Status mandatory
Condition Programming 1, Object-Oriented Programming 2
The goal Introducing basic concepts of concurrent and distributed programming to students. Introduction of concepts of different abstraction levels in concurrent and distributed programming. Enabling students to write concurrent and distributed programs for most common problems in different programming languages.
The outcome Understanding the basic concepts, algorithms, principles, problems, and solutions related to concurrent and distributed programming. Students should be able to identify different levels of abstraction in a concurrent and distributed programming, to independently write simple concurrent and distributed applications using Java language and to solve common problems of synchronization.
Contents of lectures Concepts of processes and synchronization. Locks and barriers. Synchronization algorithms. Different methods of barrier implementations. Semaphores. Distributed binary semaphores, Passing the baton, resource allocation. Monitors. Conditional variables, disciplines for the signal, analysis of monitor state. Message passing. Asynchronous and synchronous message passing. Remote procedure calls.
Contents of exercises Using semaphores, monitors, regions and message passing for solving typical problems: Readers- Writers, Producers-Consumers, One Lane Bridge, Dining Philosophers, Cigarette Smokers, Sleeping Barber, Roller coaster, Client-Server, etc. Distributed programming (CSP and Linda). Implementation of semaphores, conditional regions, monitors, message passing, and remote method invocation in Java.
  1. Zaharije Radivojević, Igor Ikodinović, Zoran Jovanović, Concurrent and distributed programming, Akademska misao, Belgrade, 2008.
  2. Gregory Andrews, Foundation of Multithreaded, Parallel and Distributed Programming, Addison Wesley, 2000
  3. Allen B. Downey, The Little Book of Semaphores, Green Tea Press, 2016
  4. Zoran Jovanović, Scripts for lectures
  5. Zaharije Radivojević, Collection of problems,
Number of hours per week during the semester/trimester/year
Lectures Exercises OTC Study and Research Other classes
2 2 1
Methods of teaching Lectures, exercises, laboratory exercises, projects
Knowledge score (maximum points 100)
Pre obligations Points Final exam Points
Activites during lectures 0 Test paper 30
Practical lessons 20 Oral examination 0
Projects 0
Colloquia 50
Seminars 0