Course Code | COMP3141 |
Course Title | Software System Design and Implementation |
Convenor | Christine Rizkallah |
Admin | Curtis Millar |
Classes | Lectures : Online via Zoom streamed live to YouTube . Wednesdays at 4pm and Fridays at 12pm. |
Consultations |
By request via email (cs3141@cse.unsw.edu.au) or class forum
|
Units of Credit | 6 |
Course Website | http://cse.unsw.edu.au/~cs3141/21T2/ |
Handbook Entry | http://www.handbook.unsw.edu.au/undergraduate/courses/current/COMP3141.html |
This course presents a variety of programming techniques that make use of semi-formal and formal methods for the design and implementation phases of real-world software system development. It introduces approaches to testing informed by formal designs, and it discusses trade-offs between static and dynamic approaches to improving software correctness. Throughout the course, the discussed methods are supported by software tools that assist in managing design, implementation, and testing. The course content is illustrated by weekly programming case studies and regular practical exercises. Central topics are the use of functional programming, logical properties and types to inform program design, implementation, validation, and verification. The course will introduces students to the strongly-typed Haskell programming language. No previous knowledge of Haskell is assumed.
As with any course which teaches a potentially unfamiliar language, this course involves a significant amount of programming, both during and outside of lectures.
You need to have successfully completed the core programming, algorithm, and software development courses. You should be a confident coder and be prepared to study the concepts of a new programming language in directed self-study.
The prerequisites of COMP3141 are COMP1927 or COMP2521, or a mark of at least 65 in COMP1921.
The course makes use of a number of discrete mathematics concepts. While it is possible to do well in the course without having done MATH1081 or COMP2111, familiarity with logic and set theory is valuable when studying COMP3141.
After completing this course, you should
The course gradually exposes students to a mathematically founded approach to specifying and implementing software systems. It develops basic skills required to engineer software with high confidence in the correctness of the final product. The whole course encourages critical examination and analysis of existing solutions.
This is a course about programming and formal reasoning, and to develop both of these skills requires extensive practice. That is why we devote over half of the course — practice lectures, quizzes, assignments and exercises — to give students opportunities to put their skills into practice. This applied learning approach has proven to be very successful in achieving our desired graduate outcomes.
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:
Item | Topics | Due | Marks | Contributes to |
Quizzes | All topics | Weeks 1,2,3,4,5,7,8,9 | 10% | 1,2,3 |
Exercises | All topics | Weeks 2,3,4,5,7,8 | 20% | 1,2,4,5 |
Assignment 1 | Functional programming, combinators, property-based testing | Week 5 | 10% | 1,2,4,5 |
Assignment 2 | Monads, GADTs | Week 9 | 10% |
1,2,4,5
|
Final Exam | All topics | Exam period | 50% |
2,3,4
|
Week | Lectures | Assignments | Quizzes | Exercises |
1 | Course Overview, Functional Programming | - |
Quiz 1
|
- |
2 | Data Types and Type Classes, Reasoning about Haskell | - |
Quiz 2
|
Exercise 1
|
3 | Property-based Testing and QuickCheck | - | Quiz 3 |
Exercise 2
|
4 | Devising program properties | - |
Quiz 4
|
Exercise 3
|
5 | Controlling Effects, State Spaces, Errors |
Assignment 1 due
|
Quiz 5 |
Exercise 4
|
6 |
flexibility week
|
- | - | - |
7 | Applicative Functors and Monads | - | Quiz 6 |
Exercise 5
|
8 | Rich types, GADTS | Ass2 due |
Quiz 7
|
Exercise 6
|
9 | Polymorphism and Parametricity, Type Theory |
Assignment 2 due
|
Quiz 8 | - |
To suppliment the teaching of Monads, students will be required to read the blog post You Could Have Invented Monads! prior to the introduction of Monads in week 5.
There is no textbook for the course. As tutorial and reference for Haskell, you can use any of these books:
The last two books in this list are available as online ebooks for free.
We draw from the first book for course material, along with:
Although this text is not recommended for undergraduates.
Further reading material will be announced in the lecture and/or on the course web page.
In addition, the Learning Haskell tutorial is written by former lecturers of this course and covers the basics of Haskell programming necessary to get started in COMP3141.
This course is evaluated each session using the myExperience system.
In the previous offering of this courses, students noted that the coverage of Monads was confusing as the motivation for them (effects) was presented afterwards. We are rearranging the order of this presentation this time to address that problem.
Other course feedback has been overwhelmingly positive.
Resource created Sunday 30 May 2021, 01:43:11 PM, last modified Wednesday 02 June 2021, 10:01:22 AM.