Académique Documents
Professionnel Documents
Culture Documents
COMP1921 Computing 1B
Teaching Period 2 2011
Course Details
Course Code/Title: Units of Credit: Course WebSite: COMP1921 Computing 1B 6
http://mahler.orchestra.cse.unsw.edu.au/webcms2/course/index.php?cid=2197
(Also: http://www.cse.unsw.edu.au/~cs1921)
Course Staff
o N Paramesh (Lecturer and LIC) o Mei Cheng Whale (Subject Admin) o Tutors
Course Aims
o Develop proficiency in C programming. o Develop C programs in structured and systematic way. o Learn about uses of simple data structures in programming.
Develop programs in a well structured and systematic manner in the C language; Design modules which represent abstractions in your system using simple data structures and operations on them; Develop suites of test cases to ascertain the accuracy and robustness of your programs. Repair any errors discovered in testing; and Understand and explain the run-time behaviour of your programs at the machine level;
Graduate Attributes
Graduate Attribute Skills involved in scholarly enquiry Capacity for analytical and critical thinking and for creative problem solving Ability to engage in independent and reflective learning Skills to locate, evaluate and use relevant information (Information Literacy) Capacity for enterprise, initiative and creativity Respect for ethical practice and social responsibility Skills of effective communication
Where Acquired Reading documentation, lab work Developing programs in tuts, labs and assignments Exploring the C language in labs Reading documentation Developing programs in tuts, labs and assignments Building correct programs Discussions in tutorials
Release Ass1: Theme - List processing (12 marks) Problems on Week 1 materials + Practicing with Ass1 demo code.
02
Lect-a&b: Structures: struct, typedef, pointer to structures and unions, malloc(), linked structures, linked lists, applications: singly linked list; memory management, doubly linked list, pointer applications for building networks, state diagrams. Unstructured structures and recursive structures using pointers.
03
Lect-a&b: Linked list applications Problems on (contd): ADTs: stack applications: Week 2 post fix expressions, etc., queues materials. application in simulation use of header files, and make command. Lect-a&b: Trees binary tree operations, tree ADT. Lect-a&b: Programming with tree data structures, simple tree algorithms. Introduction to other types of trees: balanced trees, AVL trees and multiway trees representation, simple operations. Problems on Week 3 materials. Problems on Week 4 materials.
04
05
06
Lect-a&b: Files: text files, binary files, applications: saving and reading dynamic data structures in files, serialization issues.
Ass 1 due. Ass2 release Theme: Simulation using data structures 18 marks.
07
Ass 1 due. Ass2 release Theme: Simulation using data structures -18 marks. Lab Exam 2 hrs 10 marks
MIDTERM RECESS 08 Lect-a&b: Graph data structure: search, traversal, shortest path, spanning tree - programming challenges. Lect-a&b: Introduction to algorithms: searching, sorting, dictionary, performance. Lect-a&b: Programming with bits: Hardware simulation. Problems on Week 7 materials. Problems on Week 8 materials. Problems on Week 9 materials.
09
10
11
Lect-a&b: Problem solving: Problems on generate and test, divide and conquer, Week 10 simulation, approximation materials. techniques; testing, debugging, and performance. Lect-a&b: Review Problems on Week 11 materials. Problems on Week 12 materials.
Ass2 due
12
13
NIL
Assessment
Your final mark in this course is computed as follows:
Internal = Labs(10 marks) + Lab Exam(10 marks) + Assignment 1(12 marks) + Assignment 2(18 marks) = 50 marks Final Exam = Written Exam (20) + Practical Exam(30) = 50 marks Note: To pass the course, you need to score a minimum of 25 out of 50 in the Internal, and a minimum of 25 out of 50 in the Final Exam.
Make sure that you read and understand these. Ignorance is not accepted as an excuse for plagiarism.