|Course Title||Principles of Programming|
Timetable for all classes
Tuesday 6pm to 8pm, Friday 5:30pm to 7:30pm, on Blackboard Collaborate, run by tutors.
|Units of Credit||6|
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.
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.
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|
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.
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.
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:
|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|
Introduction to operators, lists, tuples, dictionaries, control structures, reading from files, printing, functions. Functions from the random module, exceptions.
Base systems, modulo operations. Unicode character set. Sorting, lambda expressions.
|Quiz 1 due Thursday 11:59am|
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|
Operations on files and directories, system operations. Default arguments. Bitwise operations. The collections and matplotlib modules.
|Quiz 3 due Thursday 11:59am|
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||
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|
Dynamic programming. Inheritance. Decorators.
|Quiz 7 due Thursday 11:59am|
Properties. Search techniques.
|Assignment 2 due Sunday 8pm||Quiz 8 due Thursday 11:59am|
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:
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.