Lectures

CSE101 fall 2010

See the MATLAB (mostly) by example sheet (last updated 17 November 2010) and the list of examinable material

You can also get solutions to in-class exercises up to the midterm.

Date Description and Resources
8 Sep Introduction to the course. We played a little game of “guess the number” then wrote out the algorithms for the number-picker and the guesser.
22 Sep In-class exercise 1 (spheres, lightning, hello, factorial, and future value)
29 Sep In-class exercise 2 (if statements: BMI, leap years, largest of three)
4 Oct In-class exercise 3 (while loops and for loops: countdown and largest of n)
11 Oct In-class exercise 4 (while loops and for loops: Fibonnaci sequence and linear search)
25 Oct Binary encoding and the unsigned integer part of Encoding integers
1 Nov The remainder of Encoding integers
10 Nov The Von Neumann architecture. See also the Von Neumann architecture slides and the Relatively Simple CPU Simulator from Carpinelli's textbook.
17 Nov ASCII, Unicode, and MATLAB strings
22 Nov Program errors
 

This web site is not an official publication of the Royal Military College of Canada nor of the Department of National Defence. Ce site web n’est pas une publication officielle du Collége militaire royal du Canada ni du Ministère de la défense nationale.