CPS125
Digital Computation and Programming
Winter 2016

with Prof. Kosta Derpanis


Course description. The C programming language is used to develop good programming techniques. Topics covered include: C program form, language statements, pseudo-code algorithmic representation, numeric data types, flow of control with selection and repetition, standard C libraries, functions and call modes, arrays, pointers, sorting, matrix operations, character and string data types, dynamic storage, structures and linked lists, file I/O.

Contact information. kosta[at]scs.ryerson[dot]ca

Office. Engineering and Computing Building (ENG), room 265

Homepage. www.scs.ryerson.ca/~kosta

Office hours. Fridays 1pm - 2pm

Lectures. Below is the tentative schedule of topics.  Links to slides will be made available after each lecture.

LESSON # TOPIC SLIDES
ALL SECTIONS
PDF   PP
SLIDES
SECTIONS 1 TO 3
PDF   MOV
0
Introduction
PDF MOV
1
Introduction and Data Representations PDF PPT Part 1
PDF MOV

Part 2
PDF MOV
2
Introduction to C PDF PPT Part 1
PDF MOV

Part 2
PDF MOV
3
Variables, Pointers, Arithmetic and I/O Redirection PDF PPT Part 1
PDF MOV

Part 2
PDF MOV
4
Mathematical Functions, Conditional Expressions,
  Branching Control Structures and
Switch Statement
PDF PPT Part 1
PDF MOV

Part 2
PDF MOV
5
Loops PDF PPT Part 1
PDF MOV

Part 1 - Review
PDF MOV

Part 2
PDF MOV

Part 2 - Review
PDF MOV
6 Functions
PDF PPT PDF MOV
7
Functions and Recursion PDF PPT PDF MOV
8
Arrays PDF PPT Part 1
PDF MOV

Part 2
PDF MOV
9
2D Arrays
PDF PPT PDF MOV

Review
PDF MOV
10
Structures
PDF PPT PDF MOV
11
Linked lists
PDF PPT PDF MOV

Review
PDF MOV
12 Command Line Arguments PDF PPT PDF MOV
13
Final Review
Part 1
PDF MOV

Part 2
PDF MOV

Part 3
PDF MOV

Online viewing. The MOV video files contain the lecture slides with manual advance enabled. For Mac users, this functionality is no longer available in the default Quicktime player on OS X Mavericks and later. To view the videos with manual advance, use Apple's Quicktime Player 7. For Windows users, use Apple's Quicktime Player for Windows to advance the slides manually.  Note that some videos contain audio.  To hear the audio portion of the MOV files you may have to download the video to your local machine; audio support seems to be problematic in Google Drive for Education.