Course Outline
Table of Contents
1 Course Details
Course Code | COMP3151/9154 |
Course Title | Foundations of Concurrency |
Course Convenor | Johannes Åman Pohjola |
Admin | Johannes Åman Pohjola |
Tutor | Raphael Douglas Giles |
Classes | In room Mat101, 2PM Wednesdays and 4PM Thursdays |
Units of Credit | 6 |
Course Website | https://www.cse.unsw.edu.au/~cs3151 |
Handbook Entry | COMP3151 COMP9154 |
2 Course Summary
In this course you will learn about the foundational concepts of concurrent programs (including multi-threaded, parallel, and distributed programs) and the crucial abstractions used to implement or understand behaviour of concurrent programs. Classical problems arising in concurrent programs will be examined and solutions to these problems will be analysed. Practical work will include proofs of program properties, plus some programming in a concurrent programming language (Java or a suitable alternative) with simultaneous model checking.
3 Assumed Knowledge
You need to have successfully completed the core programming, algorithm, and discrete mathematics courses.
The course makes use of a number of discrete mathematics concepts. You may find the course very difficult without MATH1081 or equivalent discrete mathematics background.
4 Student Learning Outcomes
After successfully completing this course, you are able to
- design and implement multi-threaded, parallel, and distributed programs,
- talk, write, and reason about such programs, and
- appreciate the complexities involved in the previous two.
5 Graduate Capabilities
This course also contributes to the development of the following graduate capabilities:
- Scholars capable of independent and collaborative enquiry, rigorous in their analysis, critique and reflection, and able to innovate by applying their knowledge and skills to the solution of novel as well as routine problems
- Entrepreneurial leaders capable of initiating and embracing innovation and change, as well as engaging and enabling others to contribute to change
- Professionals capable of ethical, self-directed practice and independent lifelong learning
- Global citizens who are culturally adept and capable of respecting diversity and acting in a socially just and responsible way
6 Teaching Strategies
The learning focus in this course is primarily on lectures and homework assignments. While marks are assigned to the homework, their primary purpose is to give you concrete tasks with deadlines to help you structure your learning.
- The lectures will introduce you to new material, which is being reinforced and practised in the assignments and homework. The course draws on two main textbooks for material, listed later in this document. More reading material covering specific topics will be identified throughout the course. Students are required to study reading material as advised during the lecture and/or on the course web page.
- There are eight homeworks released throughout the course. They will be a series of questions that keep you up to date with course content and structure your learning. Feedback will be provided by the lecturer to help you identify problems in your learning. It's expected that you will do this homework alone, to maximise its value to you as a learning resource. Don't cheat yourself by plagiarising. More information on plagiarism is provided below.
- There will be three assignments released throughout the course. One warm-up assignment worth 10%, and two main assignments worth 15%. The two main assignments will be done in pairs.
The learning focus in this course is primarily on lectures and homework assignments. While marks are assigned to the homework, their primary purpose is to give you concrete tasks with deadlines to help you structure your learning.
7 Teaching Rationale
Part of concurrency appreciation is getting the opportunity to put concurrency theory into practice solving real concurrent programming problems. We will introduce theory in lectures, and provide a mixture of theory and practical components in homeworks and assignments. This way, students will have many opportunities to apply their skills.
8 Student Conduct
The Student Code of Conduct (Information, Policy) sets out what the University expects from students as members of the UNSW community. As well as the learning, teaching and research environment, the University aims to provide an environment that enables students to achieve their full potential and to provide an experience consistent with the University's values and guiding principles. A condition of enrolment is that students inform themselves of the University's rules and policies affecting them, and conduct themselves accordingly.
In particular, students have the responsibility to observe standards of equity and respect in dealing with every member of the University community. This applies to all activities on UNSW premises and all external activities related to study and research. This includes behaviour in person as well as behaviour on social media, for example Facebook groups set up for the purpose of discussing UNSW courses or course work. Behaviour that is considered in breach of the Student Code Policy as discriminatory, sexually inappropriate, bullying, harassing, invading another's privacy or causing any person to fear for their personal safety is serious misconduct and can lead to severe penalties, including suspension or exclusion from UNSW.
If you have any concerns, you may raise them with your lecturer, or approach the School Ethics Officer, Grievance Officer, or one of the student representatives.
Plagiarism is defined as using the words or ideas of others and presenting them as your own. UNSW and CSE treat plagiarism as academic misconduct, which means that it carries penalties as severe as being excluded from further study at UNSW. There are several on-line sources to help you understand what plagiarism is and how it is dealt with at UNSW:
Make sure that you read and understand these. Ignorance is not accepted as an excuse for plagiarism. In particular, you are also responsible that your assignment files are not accessible by anyone but you by setting the correct permissions in your CSE directory and code repository, if using. Note also that plagiarism includes paying or asking another person to do a piece of work for you and then submitting it as your own work.
UNSW has an ongoing commitment to fostering a culture of learning informed by academic integrity. All UNSW staff and students have a responsibility to adhere to this principle of academic integrity. Plagiarism undermines academic integrity and is not tolerated at UNSW. Plagiarism at UNSW is defined as using the words or ideas of others and passing them off as your own.
If you haven't done so yet, please take the time to read the full text of
The pages below describe the policies and procedures in more detail:
You should also read the following page which describes your rights and responsibilities in the CSE context:
8.1 Assessment
- 40% Assignments
- Warm up: 10%
- Assignment 1: 15%
- Assignment 2: 15%
- 10% Homework
- 50% Final Examination (with a pass hurdle)
9 Course Schedule
Available on its own dedicated page (see the sidebar).
10 Resources for Students
The course has no textbook, but a lot of it is based on the following books, which you may peruse for background reading. They're sorted in descending order of readability.
- M. Ben-Ari, Principles of Concurrent and Distributed Programming, 2nd edition, Addison-Wesley, 2005.
- A.B. Downey, The Little Book of Semaphores, Green Tea Press. https://greenteapress.com/wp/semaphores/
- W.P. de Roever et al., Concurrency Verification: Introduction to Compositional and Noncompositional Methods, Cambridge 2012.
10.1 `Verification tools
10.2 Getting Help
Questions regarding the course material, assignments, exercises, and general
administrative questions should be asked on the course forum (accessible from
the course web page), where answers benefit the whole class. Alternatively,
approach the lecturer after class. To discuss matters concerning your
personal performance, please send an email to the course account
cs3151@cse.unsw.edu.au
. For identification purposes, if you wish to send
email concerning the course, you must send the mail from your CSE or UNSW
student account (not from GMail, Yahoo, Bigpond or similar), and include your
student id and your full name.
11 Course Evaluation and Development
This course is evaluated each session using the myExperience system.
In the previous offering of this course, students generally gave positive feedback.