COSC122-24S2 (C) Semester Two 2024

Introduction to Computer Science

15 points

Details:
Start Date: Monday, 15 July 2024
End Date: Sunday, 10 November 2024
Withdrawal Dates
Last Day to withdraw from this course:
  • Without financial penalty (full fee refund): Sunday, 28 July 2024
  • Without academic penalty (including no fee refund): Sunday, 29 September 2024

Description

An introduction to Computer Science, including algorithms, complexity and data structures.

Covid-19 Update: Please refer to the course page on AKO | Learn for all information about your course, including lectures, labs, tutorials and assessments.

This course develops a thorough understanding of basic data structures and algorithms that are commonly used in software development, and introduces students to broad concepts from Computer Science that enable them to develop effective programs. A series of labs and assignments will give students practice applying the ideas that they have learnt in lectures. Along the way, students will gain an understanding of why different data structures and algorithms are needed, the applications that they are suited for, and the advantages and disadvantages of their possible implementations.

Learning Outcomes

1. Analyse algorithms and estimate their worst-case and average-case behaviour (in simple cases) including the application of asymptotic complexity ("big-O" notation) [WA1, WA2, WA7]
2. Discuss how the algorithm and data structure used to solve a problem will be the main factor in how quickly it is solved across a range of areas of computer science [WA1, WA5]
3. Analyse general algorithmic problem types, particularly in sorting, searching, and graph algorithms [WA1, WA2]
4. Choose and justify the choice of common data structures (linked lists, stacks, queues, hash tables, trees, priority queues, graphs) [WA1, WA2, WA3]
5. Implement and empirically compare fundamental algorithms and data structures for practical problems [WA1, WA3, WA7]

University Graduate Attributes

This course will provide students with an opportunity to develop the Graduate Attributes specified below:

Critically competent in a core academic discipline of their award

Students know and can critically evaluate and, where applicable, apply this knowledge to topics/issues within their majoring subject.

Employable, innovative and enterprising

Students will develop key skills and attributes sought by employers that can be used in a range of applications.

Prerequisites

Timetable 2024

Students must attend one activity from each section.

Lecture A
Activity Day Time Location Weeks
01 Monday 09:00 - 10:00 C1 Lecture Theatre
15 Jul - 21 Jul
02 Monday 14:00 - 15:00 C1 Lecture Theatre
15 Jul - 25 Aug
9 Sep - 20 Oct
Lecture B
Activity Day Time Location Weeks
01 Wednesday 14:00 - 15:00 E9 Lecture Theatre
15 Jul - 25 Aug
9 Sep - 20 Oct
02 Wednesday 14:00 - 15:00 C1 Lecture Theatre
15 Jul - 25 Aug
9 Sep - 20 Oct
03 Wednesday 14:00 - 15:00 E6 Lecture Theatre
15 Jul - 25 Aug
9 Sep - 20 Oct
Computer Lab A
Activity Day Time Location Weeks
01 Wednesday 16:00 - 18:00 Jack Erskine 010 Computer Lab (17/7-21/8, 11/9-16/10)
Jack Erskine 001 Computer Lab (17/7-21/8, 11/9-16/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
02 Tuesday 09:00 - 11:00 Jack Erskine 010 Computer Lab (16/7-20/8, 10/9-15/10)
Jack Erskine 001 Computer Lab (16/7-20/8, 10/9-15/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
03 Tuesday 11:00 - 13:00 Jack Erskine 010 Computer Lab (16/7-20/8, 10/9-15/10)
Jack Erskine 001 Computer Lab (16/7-20/8, 10/9-15/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
04 Thursday 09:00 - 11:00 Jack Erskine 010 Computer Lab (18/7-22/8, 12/9-17/10)
Jack Erskine 001 Computer Lab (18/7-22/8, 12/9-17/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
05 Thursday 15:00 - 17:00 Jack Erskine 010 Computer Lab (18/7-22/8, 12/9-17/10)
Jack Erskine 001 Computer Lab (18/7-22/8, 12/9-17/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
06 Friday 14:00 - 16:00 Jack Erskine 010 Computer Lab (19/7-23/8, 13/9-18/10)
Jack Erskine 001 Computer Lab (19/7-23/8, 13/9-18/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
07 Thursday 11:00 - 13:00 Jack Erskine 010 Computer Lab (18/7-22/8, 12/9-17/10)
Jack Erskine 001 Computer Lab (18/7-22/8, 12/9-17/10)
15 Jul - 25 Aug
9 Sep - 20 Oct
08 Friday 10:00 - 12:00 Jack Erskine 010 Computer Lab (19/7-23/8, 13/9-18/10)
Jack Erskine 001 Computer Lab (19/7-23/8, 13/9-18/10)
15 Jul - 25 Aug
9 Sep - 20 Oct

Examinations, Quizzes and Formal Tests

Test A
Activity Day Time Location Weeks
01 Thursday 18:30 - 19:30 Jack Erskine 001 Computer Lab
9 Sep - 15 Sep
02 Thursday 18:30 - 19:30 Jack Erskine 010 Computer Lab
9 Sep - 15 Sep
03 Thursday 18:30 - 19:30 Jack Erskine 134 Lab 3
9 Sep - 15 Sep
04 Thursday 18:30 - 19:30 Jack Erskine 131 Lab 1
9 Sep - 15 Sep
05 Thursday 18:30 - 19:30 Jack Erskine 133 Lab 2
9 Sep - 15 Sep
06 Thursday 18:30 - 19:30 Jack Erskine 136 Lab 4
9 Sep - 15 Sep
07 Thursday 18:30 - 19:30 Jack Erskine 248 Computer Lab
9 Sep - 15 Sep
08 Thursday 18:30 - 19:30 Rata 342 CAD Lab
9 Sep - 15 Sep
17 Thursday 18:30 - 19:30 Rata 216 CAD Lab
9 Sep - 15 Sep
18 Thursday 18:30 - 19:30 Civil - Mech E201 Mech Computer Lab
9 Sep - 15 Sep

Timetable Note

COSC122 involves about 30 hours of lectures, but only 24 hours of lectures are scheduled. The remainder of the lecture time will be through “flipped lectures”, which are videos that you can view online before attending the next class. These are more flexible than scheduled lectures, but you will need to have viewed them to make sense of the next lecture, so please make sure you allow time for this each week. The first week of lectures will be in person, and you’ll be given more information about how these work once lectures start.

You need to attend two hours of labs per week. These will be allocated via the online timetable system. Labs begin in the second week of term.

Depending on final student numbers, some of the advertised lab/tutorial streams may not run. Final lab/tutorial options will be available for self-allocation closer to the start of the semester through My Timetable.

Course Coordinator / Lecturer

Tim Bell

Assessment

Covid-19 Update: Please refer to the course page on AKO | Learn for all information about your course, including lectures, labs, tutorials and assessments.

Textbooks / Resources

This can be bought from the bookshop, and is also available online at no charge at:
https://runestone.academy/ns/books/published/pythonds/index.html.

Notes

There are several important documents available online about departmental regulations, policies and guidelines. We expect all students to be familiar with these.  

Notices about this class will be posted to the class forum in the Learn system.

COSC students will also be made members of a class called “CSSE Notices”, where general notices will be posted that apply to all classes (such as information about building access or job opportunities).

Additional Course Outline Information

Academic integrity

Every year several students fail the course because of dishonest practice. Please do not be among them.

You are encouraged to discuss the general aspects of a problem with others. However, anything you submit for credit must be entirely your own work and not copied, with or without modification, from any other person. If you share details of your work with anybody else then you are likely to be in breach of the University's General Course and Examination Regulations and/or Computer Regulations (both of which are set out in the University Calendar) and/or the Computer Science Department's policy (see section 9). The Department treats cases of dishonesty very seriously and, where appropriate, will not hesitate to notify the University Proctor.

If you need help with specific details relating to your work, or are not sure what you are allowed to do, then contact your tutors or lecturer for advice.

Grade moderation

The Computer Science department's grading policy states that in order 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.

If you satisfy both these criteria, 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 may apply for special consideration if their performance in an assessment is affected by extenuating circumstances beyond their control.

Applications for special consideration should be submitted via the Examinations Office website within five days of the assessment.

Where an extension may be granted for an assessment, this will be decided by direct application to the Department and an application to the Examinations Office may not be required.

Special consideration is not available for items worth less than 10% of the course.

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.

Special Consideration Applications for the Final Exam

Please click HERE for the CSSE Department's policy for the academic remedy of applications for a special consideration for final exams.

Course Outline

The topics covered in lectures will be as follows. The main references are for the current edition of the text book (2nd edition and online). Where a reference is given in square brackets, it is for the first edition.
• Introduction to algorithms, and the relationship with Software Engineering
• Algorithm analysis (Chapter 2 [4])
• Basic data structures – stacks and queues (Chapter 3 [2])
• Lists (Chapter 3 [7])
• Recursion (Chapter 4 [3])
• Searching (Chapter 5 [4])
• Sorting (Chapter 5 [4])
• Trees – binary trees and heaps (Chapter 6 [5])
• Graphs (Chapter 7 [6])
• Overview of major ideas in Computer Science

Preparation

The course assumes that you are proficient in Python, as taught in COSC121 or COSC131. If you are enrolling in COSC122 but haven't already passed COSC121, COSC131, or the equivalent, you should consult the course supervisor before enrolling.

Indicative Fees

Domestic fee $942.00

International fee $4,988.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 .

All COSC122 Occurrences