Contents

Course Details

Course Code COMP9021
Course Title Principles of Programming
Convenor Eric Martin
Admin Eric Martin
Classes Lectures :
Timetable for all classes
Consultations Tuesday 6pm to 8pm, Friday 5:30pm to 7:30pm, on Blackboard Collaborate, run by tutors.
Units of Credit 6
Course Website http://cse.unsw.edu.au/~cs9021/20T2/
Handbook Entry http://www.handbook.unsw.edu.au/postgraduate/courses/current/COMP9021.html

Course Summary

This is a Level 0 course. It has no prerequisite. Like most Level 0 courses, it consists of bridging material in computing taught at an accelerated pace. It is a prerequisite to a number of courses that can be taken as part of Program 7543 , program 5543 and program 8543 . It is a core course in the last two programs. Students from other Faculties and Schools, enrolled in either coursework or research degrees and who have an interest in or a need for programming skills, especially in Python, can also enrol in the course.

The aim of the course is to provide students with a solid foundation on fundamental programming concepts and principles, develop problem solving skills, and master the programming language Python.

Students will learn to design solutions to a broad range of problems and implement those solutions in the form of small to medium programs, using appropriate programming techniques and tools.

Assumed Knowledge

Though there is no assumed knowledge, mathematical maturity and familiarity with some form of programming might reduce the amount of time and efforts that will have to be dedicated to the course, as the learning curve is steep and programming can be very time consuming, especially for beginners.

Student Learning Outcomes

  1. Know how to design, implement and test programs written in a language with procedural, object-oriented, and functional constructs.
  2. Be proficient in the Python language, including advanced syntax and programming techniques.
  3. Gain insights on what happens behind the scene when operating on Python data types, with an understanding of efficiency and memory use.
  4. Have a first acquaintance with fundamental data structures and algorithms.
  5. Know how to design programs to solve small to medium scale problems.
  6. Be able to write clear, reliable, well-structured, well-tested, well-documented programs.
  7. Be proficient in the use of appropriate tools, in particular for editing, testing and debugging.

This course contributes to the development of the following graduate capabilities:

Graduate Capability Acquired in
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 1-4 6-8
Entrepreneurial leaders capable of initiating and embracing innovation and change, as well as engaging and enabling others to contribute to change 9
Professionals capable of ethical, self- directed practice and independent lifelong learning 5
Global citizens who are culturally adept and capable of respecting diversity and acting in a socially just and responsible way 1-9

Teaching Strategies

  • Lectures: Use problem solving to present the material; they are designed to help acquire good learning strategies and provide valuable insight. Lectures will be live streamed and recorded with Echo 360, at the days and times lectures have been timetabled. For instructions on how to see the lectures live, see here . Of course, you will also be able to access (from Moodle) and watch lectures any time after they have been recorded, but the live stream gives you the option to "be with me", be it very virtually, and most importantly, ask questions for me to answer. I will also provide you with polished videos on some parts of the contents.
  • Consultations: Help resolve more individual issues and get personal support for the homework, clarify concepts, get feedback, practice better. There will be two 2 hour consultations: Tuesday 6pm to 8pm, Friday 5:30pm to 7:30pm. They will be run by two young, enthusiastic, very helpful, very competent tutors, Matthew Perry (matthew.perry@unsw.edu.au) and Sahil Punchhi (s.punchhi@unsw.edu.au), using Blackboard Collaborate. Instructions will be provided on how to participate.
  • Online discussions: For exchanges, being part of a community, where everyone seeks support and provides support to others on any matter than is of interest to other students. Whether we will be using either WebCMS3 or Ed remains to be determined.
  • Programming quizzes: Let you to master the fundamental notions and techniques that will have been presented during lectures up to the previous week, keep up to date with the current material, and give you confidence that you are well on track.
  • Assignments: Let you to turn theory into practice, transform passive knowledge into active knowledge, design solutions to problems, and experience the many ways of making mistakes and correcting them when translating an algorithmic solution to an implementation.

Teaching Rationale

You know that at university, the focus is on your self-directed search for knowledge. Lectures, consultations, online discussions, textbook and recommended reading, quizzes, practice exercises, assignments and exams are all provided as a service to assist you in this endeavour. It is your choice as to how much work you do in this course, whether it is preparation for classes, completion of assignments, study for final exam or seeking assistance or extra work to extend and clarify your understanding. You must choose the approach that best suits your learning style and goals in this course. Still note that the University expects you to do about 150 hours work for this course---including lectures and time spent on self-study and assignments. Of course this will vary according to your aims.

The course is designed in such a way that passing the course will only require a sufficient understanding of the fundamental notions as well as decent practical skills, thanks to regular work. If your aim is to obtain a high distinction then you will need to invest more time in this course.

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 Contributes to
Quizzes Topic of the week Weeks 2, 3, 4, 5, 7, 8, 9, 10 24% 1-7
Assignment 1 Procedural programming Week 6 13% 1-7
Assignment 2 Object oriented programming Week 10 13% 1-7
Final exam Everything covered in the course Exam period 50% 1-7

Course Schedule

Week Lectures Assignments Quizzes
1

Introduction to operators, lists, tuples, dictionaries, control structures, reading from files, printing, functions. Functions from the random module, exceptions.

2

Base systems, modulo operations. Unicode character set. Sorting, lambda expressions.

Quiz 1 due Thursday 11:59am
3

Approximation in computations. String formatting. Lists and sets, with a view on time complexity, plotting, timing. Slices, lists with a view on space complexity.

Quiz 2 due Thursday 11:59am
4

Operations on files and directories, system operations. Default arguments. Bitwise operations. The collections and matplotlib modules.

Quiz 3 due Thursday 11:59am
5

Special modules. Generator functions. 2-dimensional lists, numpy arrays and operations. Regular expressions.

Quiz 4 due Thursday 11:59am
6 Assignment 1 due Sunday 8pm
7

More special modules. Recursion, memoisation. From recursive implementations to iterative implementations

Quiz 5 due Thursday 11:59am
8 Classes, objects. Object-oriented programming. Special methods. Quiz 6 due Thursday 11:59am
9

Dynamic programming. Inheritance. Decorators.

Quiz 7 due Thursday 11:59am
10

Properties. Search techniques.

Assignment 2 due Sunday 8pm Quiz 8 due Thursday 11:59am

Resources for Students

For easy introductions to Python, I recommend:

For students with a good knowledge of Python already, I recommend:

Official references are richer and often invaluable:

They also offer the most complete coverage of the language:

Every week, there will be a widget, but to understand all aspects of their code, some resources are necessary. The official reference does the job perfectly:


Course Evaluation and Development

This course is evaluated each session using the myExperience system.

In the previous offering of this course, feedback was very good. Some students suggested to give more weight to assignments. This advice will be followed, and extended to quizzes. As a consequence, there will be a smaller weight on the final exam.

Resource created Friday 22 May 2020, 01:32:53 PM, last modified Friday 09 April 2021, 10:02:28 AM.


Back to top

COMP9021 20T2 (Principles of Programming) is powered by WebCMS3
CRICOS Provider No. 00098G