This is an old revision of the document!
PHP's gd library is missing or unable to create PNG images
CMPU-101-04 Computer Science I and Lab. (Fall 2018)
Calendar
This calendar will evolve over the course of the semester. Typical entries will include links to the code we have studied in class, details of lab. problems and assignments, and sections of the textbook we covered in class.
Please note that Tuesday, 11th December and Wednesday, 12th December have a Thursday and Friday schedule.
Wk. | Tuesday |
Thursday |
Friday |
I |
Welcome and Introduction. |
Setting up a Computer Science (CS) department account. Introduction to the drRacket program. Poking the computer & seeing what happens. |
Creating directories with mkdir . Moving between directories with cd . Listing files with
ls . Your first program in Scheme. Running, saving and loading a program.
|
II |
Poking the computer (a second time). Data types. Evaluation of symbols to their definitions. The importance of parentheses. First explorations of Scheme's computational model. |
Reviewing data types. Review of Scheme's computational model ('evaluate and apply'). The output of a function. The printf command and side-effect printing. Line breaks and substituting into printed text.
What lambda does.
|
|
III |
Using predicates to answer yes/no questions. Arithmetic predicates. The multipurpose eq? function.
Shielding a datum from evaluation using the quote function, and its abbreviation. Beginning conditionals
and the if statement.
|
A brief review of if . Using cond for more complex situations, including the use of
else . Contracts, how to write them and why they are important.
|
|
IV |
|
|
|
V |
|
|
|
VI |
|
|
IN-CLASS MIDTERMCovers all material explored to date.5> |
Saturday, 13th to Sunday, 21st OctoberAUTUMN BREAKHappy holidays! :-) |
|||
VII |
|
|
|
VIII |
|
|
|
IX |
|
|
|
X |
|
|
|
XI |
|
No class! Happy Thanksgiving! | |
XII |
|
|
|
XIII |
|
|
IN-CLASS FINALFocuses on material since midterm,but covers all material. |
XIV |
Class |
Lab. |
No class! End of classes :'-( |