Use the Tab and Up, Down arrow keys to select menu items.
Computer programming in a high-level language with special emphasis on style and structure. This course is a prerequisite for COSC122 and all 200 level COSC and SENG courses.
In COSC121 you will learn the fundamentals of computer programming using the Python language.Programming is the nuts and bolts of computer science; it is an essential tool but only a small part of the overall subject. Programming involves using a special language to issue a series of instructions to the computer in order to have it solve a particular problem. COSC121 is a prerequisite for all 200 level COSC courses and is normally required as preparation for COSC122.
Students will:Understand the following Python data types and their methods : strings, lists, tuples, files, sets and dictionaries.Be able to implement basic algorithms using selection, iteration and function calling.Be able to apply their understanding of the Python language in designing, implementing and testing programs to solve simple problems in science and engineering.Be able to (re)structure code using modules and functions to reduce complexity.Appreciate the performance benefits of hashed data structures in certain applications.Be familiar with simple object oriented programming in Python.Be able to implement simple Graphics User Interfaces in Python.Be able to review and assess the quality and maintainability of Python code.
COSC123
For further information see Computer Science and Software Engineering Head of Department
There are two main options for books to use to supplement the lectures and support your lab work.- The second edition of "Practical Programming: An Introduction to Computer Science Using Python 3" by Campbell, Gries, Montojo and Wilson is the best book for the course as it matches the lecture sequence well. It is available from the university bookshop, or you buy an e-copy for$US25 from http://pragprog.com/titles/gwpy2 You can probably find second hand copies of the first edition of the same book, but be aware that it uses version 2.7 of Python, and we are now using version 3. There are only a few minor changes that you will need to adjust for, and we'll give information about this in the course.- "How To Think Like a Computer Scientist'' is available free online at http://interactivepython.org. It uses the same version of Python as you'll need for labs (version 3).
Course Information on Learn
Domestic fee $817.00
International fee $3,525.00
* All fees are inclusive of NZ GST or any equivalent overseas tax, and do not include any programme level discount or additional course-related expenses.
For further information see Computer Science and Software Engineering .