Use the Tab and Up, Down arrow keys to select menu items.
Computer programming in a high-level language with special emphasis on numerical computation. This course is required for engineering and is an alternative to COSC121 as a prerequisite for COSC122 and all 200 level COSC and SENG courses. COSC131 teaches the fundamentals of computer programming using the Python language and can be taken by students who have no previous programming background. Topics include expressions, assignment, selection and iteration, structured data (lists, dictionaries, tuples, arrays), functional decomposition, file processing, numerical computation with numpy, graph plotting with matplotlib and an introduction to object-oriented programming.
1. Use Python data structures and flow control constructs and their applications [WA1]2. Apply the Python language to design, implement and test programs that solve simple problems in science and engineering [WA1]3. Reduce complexity through the (re)structuring of code [WA1]4. Use the NumPy numerical library to perform a range of numerical calculations and to use the Matplotlib library to plot graphs [WA1]5. Apply Object-Oriented Programming (OOP) in Python at a basic level [WA1]
1) EMTH117 or MATH101, or2) NCEA 14 Credits (18 strongly recommended) at level 3 Mathematics (including the standards 'Apply differentiation methods in solving problems (91578)' and 'Apply integration methods in solving problems (91579)'), or3) Cambridge: D at A level or an A at AS level in Mathematics, or4) IB: 4 at HL or 5 at SL in Mathematics, or5) approval of the Head of Department based on alternative prior learning. (01 Jan 2024 - present)
COSC121
Students must attend one activity from each section.
Richard Lobb
Notes on AssessmentThe Computer Science department's grading policy states that to pass a course you must meet two requirements: 1. You must achieve an average grade of at least 50% over all assessment items. 2. You must achieve an average mark of at least 45% on invigilated assessment items, which in COSC131 are the test and the final exam. However, COSC131 uses a form of “plussage” to calculate both the invigilated grade and the course total. If your final exam mark as a percentage is higher than your test mark, the final exam mark is used for the test mark as well. This means that your invigilated mark will be the maximum of: (a) The weighted average of the test and final exam marks using the weightings given in the table above, or (b) Just the final exam mark. If case (b) applies, the final exam is worth 75% of the course total and the test mark is disregarded.
There is no prescribed textbook for the course, as the lecture notes, videos and learning modules should be sufficient for most students. However, those wanting extra reading might wish to consider some of the recommended reading given on the course's Learn site.The software used in the course is free and is available on all course laboratory computers. It can be installed on nearly all reasonably modern home computers except Chromebooks.
If you satisfy both criteria (a) and (b) in the “Notes on Assessment” section, your grade will be determined by the following University-wide scale for converting marks to grades: an average mark of 50% is sufficient for a C- grade, an average mark of 55% earns a C grade, 60% earns a C+ grade and so forth. However if you do not satisfy both the passing criteria you will be given either a D or E grade depending on marks. Marks are sometimes scaled to achieve consistency between courses from year to year. Students prevented by extenuating circumstances from completing the course after the final date for withdrawing, may apply for special consideration for late discontinuation of the course. Applications must be submitted to the Examinations Office within five days of the end of the main examination period for the semester.
Please click HERE for the CSSE Department's policy for the academic remedy of applications for a special consideration for final exams.
Students who sit the final exam but fail either or both passing criteria in the section “General Assessment Notes” will be offered the opportunity to sit a remedial final exam (called the “resit” exam). This will take place on campus on the afternoon of Wednesday 1st July, 2026. If eligible, you will receive an emailed invitation. If you sit it, the remedial exam mark will replace the original exam mark if higher. If the passing criteria are then satisfied, your mark will be a C-. If you are unable to attend the resit exam, your existing mark will remain unchanged. Please keep this in mind when planning any activities for the break following the normal exam period.
Domestic fee $1,058.00
International fee $5,388.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 .