Contents

Course Details

Course Code COMP4128
Course Title Programming Challenges
Convenor Raveen de Silva (r.desilva@unsw.edu.au)
Admin Raveen de Silva (r.desilva@unsw.edu.au)
Classes Lectures : Tuesday 1-4pm
Timetable for all classes
Consultations Tuesday 5-6pm
Units of Credit 6
Course Website http://cse.unsw.edu.au/~cs4128/
Handbook Entry http://www.handbook.unsw.edu.au/undergraduate/courses/current/COMP4128.html

Course Summary

This is a course designed to introduce advanced problem solving techniques to those who have already mastered the fundamentals of programming.

A particular emphasis will be made on modifying existing algorithms to solve new problems in a novel way.

Students will not only develop theoretical approaches to challenging problems, but also implement them.

Assumed Knowledge

The pre-requisite for this course is COMP3821 (or COMP3121 and 75 WAM). Familiarity with the algorithms and data structures presented in COMP3821 will aid students in this course, although much of the material is reintroduced.

All code in COMP4128 is in C++. Expert knowledge of C++ from an object-oriented perspective is not required. However, students must be able to write, test and debug relatively short programs in C, and familiarity with the C++ Standard Template Library will be required early in the term.

Student Learning Outcomes

Upon completing this course, students will have mastery in applying various algorithms and data structures to solve competition-style problems, including implementation in C++.

Teaching Strategies

  • Lectures will introduce the theory behind the algorithms and data structures used in the course, as well as providing examples of applications to problems of varying difficulty.
  • Tute/labs will provide students further guided examples, and an opportunity to practice implementing these algorithms and receive guidance on how to solve problems using the concepts introduced in lectures.

Teaching Rationale

This course extends COMP3121/3821 to include applications of problem-solving techniques, in order to code solutions to problems, particularly in the style of programming contests.

As such, the course trains students to solve problems in this field across a variety of topics, including under time constraints.

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:

Assessment

Item Topics Due Marks
Problem sets All topics Weeks 3-10 40%
Problem diary All topics Weeks 3-10 8%
Contest 1 Introduction Week 1 6%
Contest 2 Introduction, DS1, DP1 Week 4 6%
Contest 3 Graphs, DS2, Shortest Paths, Network Flow Week 9 6%
Final exam All topics Exam period 34%

Course Schedule

Week Lecture Lab Problem Set Contest Notes
1 Introduction Introduction Set 1 released Contest 1 -
2 Data Structures I Data Structures I Set 2 released - -
3 Dynamic Programming I
Dynamic Programming I
Set 3 released - -
4 Graphs Graphs Set 4 released Contest 2 -
5 Data Structures II Data Structures II Set 5 released - -
6 Revision (optional) - - - Flexibility Week
7 Shortest Paths Shortest Paths Set 6 released - -
8 Network Flow Network Flow Set 7 released - -
9 Mathematics Mathematics Set 8 released Contest 3 -
10 Dynamic Programming II Revision - - -

Resources for Students

The course website will contain all relevant resources, and there are no textbooks required for the course.

The following textbooks are suitable for reference:

  • Any algorithms textbook, such as Introduction to Algorithms (Cormen, Leiserson, Rivest and Stein)
  • Programming Challenges (Skiena and Revilla)
  • Competitive Programming 3 (Halim). A free copy of Competitive Programming 1 can be found at CPBook

Students may find the following online resources helpful:

Further practice problems can be found in many places, e.g:

Students are encouraged to ask the lecturer or tutors for further resources.

Course Evaluation and Development

This course is evaluated each session using the myExperience system.

In the previous offering of this course, students reported that they liked the inclusion of subtasks in Contest 3 and wanted this extended to Contest 2.

Based on their comments, we will offer subtasks in Contest 2.

Resource created Monday 30 August 2021, 02:04:29 PM, last modified Sunday 19 September 2021, 11:34:22 PM.


Back to top

COMP4128 21T3 (Programming Challenges) is powered by WebCMS3
CRICOS Provider No. 00098G