CPT: Prelim/01 Computer Programming Techniques v Objectives –to give some background on this subject CPT, Semester Preliminaries Please ask questions
CPT: Prelim/02 Overview 1. Lecturers 2. Outline of the Course 3.Meeting Time / Location 4. Workload 5. Course Materials 6. Books
CPT: Prelim/03 1. Lecturers v This course (CPT) will be taught by two Ajarn: –Dr. Pichaya Tandayya Room 101, CoE –Dr. Andrew Davison Room 101, CoE
CPT: Prelim/04 A. Introduction to UNIX –taught in two 2nd year labs –your project work will be on a UNIX machine B. Review of Basic C –control flow, functions, character processing, arrays, user-defined type, testing and debugging –sections 1-7 –taught quickly 2. Outline of the Course continued
CPT: Prelim/05 C. Pointers, etc. –introduction to pointers, array with pointers, strings, structures with pointers, file processing –sections 8-13; lab D. Abstract Data Types –what is an ADT?, various forms of lists, various forms of trees, stacks, graphs –sections –labs on lists, stacks, binary trees continued
CPT: Prelim/06 E. Searching and Sorting –measuring complexity, various forms of searching, various forms of sorting –sections 17,18 –lab on searching and sorting
CPT: Prelim/07 3. Meeting Time / Location v Wednesday, pm, R200 v Friday, 11.00am -- noon, R201 v These times/places may change.
CPT: Prelim/08 4. Workload (% of total score) v 2 Exercises:10% total –each exercise is worth 5% –ex1: starts Wednesday 20th June (week 3) u 1 week long; hand in Wed. 27th June –ex2: starts Friday 27th July (week 8) u 1 week long + 1 exam week; hand in Friday 10th August continued
CPT: Prelim/09 v 1 Project:20% –starts Wednesday 29th August (week 13) –lasts 2 weeks; hand in Wed. 12th September –coded on the UNIX student machine ( calvin ) continued
CPT: Prelim/010 v Mid-term Exam:30% (2 hours) –4th August, week 9, pm v Final Exam:40% (3 hours) –26th September, pm
CPT: Prelim/011 Non-Attendance Penalty v We may take registration at the start of a class. v If someone does not attend a class, they lose 0.5% (unless they have a good excuse). v A maximum of 10% can be lost –deducted from final mark
CPT: Prelim/ Course Materials v You should buy a copy of the CPT book from the copy shop in the Engineering faculty –it contains hard copies of the slides v We will hand out one copy of the exercises, past exam papers, and extra slides. continued
CPT: Prelim/013 The code examples from the C text book (D&D) can be found on calvin in: ~ad/teach/cpt/dandd/ v The examples can also be downloaded from the D&D Web site (see slide 14).
CPT: Prelim/ Books v Any good book on UNIX –there are several in the CoE library v For example: –A Practical Guide to the UNIX System Mark G. Sobell Benjamin/Cummings, 1995, (3rd ed.) continued
CPT: Prelim/015 v Any good book on C. We will use: –C: How to Program H.M. Deitel & P.J. Deitel Prentice Hall, 1994 (2nd ed.) – v We call the book ‘D&D’. v A copy is in the CoE library, and we have a copy that can be borrowed.