SFU, Surrey, School of Computing ScienceSpring 2005Course Instructor: Snezana Mitrovic-Minic |
CMPT 120 D2 Introduction to Computing Science and Programming I
Syllabus
| Week 1 | January 11, Lecture 1 |
General information about the course. Computer, computing science. Algorithm, pseudocode, programming language, program. Variable, data structure, function. |
| January 13, Lecture 2 |
Variable names, Python keywords, data types, operations, expressions, functions, statements. Print statement and assignment statement. |
|
| Week 2 |
Input statement. Use pseudocode to write simple algorithms. Computer memory. Binary representation of integers. Representation of strings. Numerical system with other basis. |
|
| Week 3 |
Logical expressions. Program control: if statement and for loops. |
|
| Week 4 | Program control: while loops | |
| Week 5 | Write new functions. Variable scope. | |
| Week 6 | Errors. Debugging | |
| Week 7 |
Midterm. |
|
| Week 8 |
Lists, tuples, sequences. |
|
| Week 9 |
Read from and write to a text files. Exceptions. |
|
| Week 10 |
Recursion and recursive functions. |
|
| Week 11 |
Simple searching algorithms. Running time of an algorithm. |
|
| Week 12 |
Simple sorting algorithms. Running time of an algorithm. |
|
| Week 13 |
Review. |