NEWS

Check this page regularly for announcements and updates!

December 25: Final exam marks and overall grades have been posted. Report errors to me by email ASAP and also cc the TA (lan @ cse . yorku . ca). Report an error only if the correct mark(s) will result in a change in your letter grade. Happy Holidays!

December 7: Lab test 2 problems have been posted for your review. Remaining office hours of the term: Wednesday, Dec. 8, 2pm-3pm and Monday, Dec. 13, 11:30am-1pm.

November 30: Office hour on Wednesday is cancelled and replaced by Friday, Dec. 3, 11:00 - 12:30. More info on Lab Test 2 has been posted.

November 24: Today's office hour is cancelled and replaced by Friday, Nov. 26, 11:30-12:30.

November 22: Lab test 1 questions have been posted for your study for the next test.

November 16: Preliminary information about Lab Test 2 has been posted.

October 28: Assignment 1 due date is extended to Wednesday, Nov. 3, 16:00. We have also simplified the implementation of array deques. See the updated program specification.

October 14: LAB 5 has been posted. Office hours during the reading week: Thursday, 2pm-3pm, CSEB-2052 and Friday, 12pm-1pm, CSEB-2024.

October 10: Assignment 1 has been posted.

October 8: The TA is still working on the C templates of Assignment 1. The assignment questions will be posted on Sunday the 10th. The due date is extended accordingly to Oct. 30.

September 30: An updated course schedule has been posted.

September 15: The lab sessions on Sept. 17 and 20 are mock tests and the submissions will not be graded. Be sure to come to the labs to learn how to use the editors and compiler and to submit your work. The TA will be there to answer your questions. The TA also gives office hour on Thursday the 16th, 2pm-3pm in CSEB-2052.

September 13: First lecture. NO LAB. The first lab has been posted.


Lecture Notes

The instructor reserves the right to update the notes right up to class time and within two weeks after the corresponding lecture. Check the time and date at the bottom left corner of the slides to make sure you have the most up-to-date version.

Course Information

Introduction to C. Basic I/O - Reading: Chapter 1 - LAB 1

Sample C programs - Reading: Chapter 1

References: Floating-point numbers. EOF character

Types, Operators and Expressions (updated Sept. 26) - Reading: Chapter 2 - LAB 2

Reference: C data types

Control Flow - Reading: Chapter 3 - LAB 3

Arrays and Pointers (part 1) (updated Oct. 17) - Reading: Chapter 5 - LAB 4

Structures - Reading: Chapter 6 - LAB 5

Midterm and lab test info and academic honesty reminder

Program structure - Reading: Chapter 4 - LAB 6

Midterm test solutions: to be discussed in class (not posted). LAB 7

Pointers (part 2) - Reading: Chapter 5 - LAB 8

An example of pointer to pointer

Introduction to UNIX - Reading: Chapters 1 and 2, UNIX book.

Introduction to UNIX - part 2 - Reading: Sections 3.1 to 3.5, UNIX book.

Reference: chmod tutorial

Writing Shell Scripts - Reading: this tutorial (will be removed after Nov. 16) - LAB 9

Shell Script Control Structures - Reading: Sections 3.6 to 3.8 and Chapter 5, UNIX book.

Writing Shell Scripts - part 3 - Reading: Sections 3.6 to 3.8 and Chapter 5, UNIX book; this tutorial.

File access - Reading: Section 7.5, C book.

NSERC USRA