MC140.01 / MC140.02
Fall 2000
Syllabus (tentative!) with links
Note: the content of this syllabus changes frequently!!!
MC140 Final Exam (all four sections)
Monday, 18 December, 4pm
back to MC140.01/MC140.02 home page
week | Monday | Wednesday | Friday |
1 | 4 Sep | 6 Sep | 8 Sep |
Labor Day (no class) | Introduction | Using CodeWarrior "Hello World!" program introduction: ch 1 | |
2 | 11 Sep | 13 Sep | 15 Sep |
data types: strings, char, int input/output (scanf, printf) "Hello <user>!" program Assignment #1 Quick & Dirty CodeWarrior simple programs: ch 2.1-2.3 | data storage: bits, bytes, words binary arithmetic for loops Hello many times program for loops: ch 4.1-4.6 | nested loops functions ASCII (Appendix D) death star program Asciimation web site functions: ch 5.1-5.7 | |
3 | 18 Sep | 20 Sep | 22 Sep |
Assignment #1 due program flow, flow charts if and if/else Assignment #2 if, if/else: ch 3.1-3.6 | while loops error testing while: ch 3.7 | Menu graphics program Circle program | |
4 | 25 Sep | 27 Sep | 29 Sep |
Assignment #2 due arrays (2D) Assignment #3 arrays: ch 6.1-6.4 | logical operators math operators constants Truth table program constants (using #define): p 202 math operators: ch 2.4, ch 3.11-3.12 logical operators: ch 4.10 assignment (=) and equality (==) : ch 4.11 type casting: p 73-74, 152 | math operators (p 37) equality and relational operators (p 41) assignment operators (p 79) increment and decrement operators (p 80) logical operators (p 120) Program demonstrating division and modulus Code developed in class for assignment #3: note: this code is merely a starting point and isn't necessarily complete or correct!! --section 1 --section 2 Assignment #1 Solution Assignment #2 Solution | |
5 | 2 Oct | 4 Oct | 6 Oct |
this week: math functions error handling Hints for assignment #3 math library functions: ch 5.3 | Assignment #3 extended until Wed 11 Oct Review for midterm exam MORE hints for assignment #3 You can use the above code to get started with assignment #3. Note the use of #include <math.h>, which you will need in order to use the sqrt() function for solving the equation of the circle. | Midterm Exam #1 | |
6 | 9 Oct | 11 Oct | 13 Oct |
Columbus Day (no class) | this week: assignment #3 troubles exam follow-up | Assignment #3 due going over the exam Assignment #4 | |
7 | 16 Oct | 18 Oct | 20 Oct |
this week: program organization functions scope FIG05_12.c ch 1.14, ch 5.2, ch 5.12 | scope functions arguments ch 5.12, 5.3-5.6 | Assignment #4 due arrays Assignment #5 ch 6.1-6.4 | |
8 | 23 Oct | 25 Oct | 27 Oct |
passing arrays to functions ch 6.5 | linear search Hints for Assignment #5 | guest lecturer: Professor Straubing topic: binary search ch 6.8 | |
9 | 30 Oct | 1 Nov | 3 Nov |
guest lecturer: Professor Muller topic: recursion ch 5.13-5.15 | guest lecturer: Professor Yanco topic: sorting arrays ch 6.6-6.7 | assignment #5 review | |
10 | 6 Nov | 8 Nov | 10 Nov |
Assignment #5 due pointers bubble sort ch 6.6-6.7, 7.1-7.4, Assignment #6 Assignment #6 hints | linear search string functions ch 6.8, 8.6-8.7 Code from class | ||
11 | 13 Nov | 15 Nov | 17 Nov |
binary search ch 6.8 | Review for midterm exam Assignment #6 due | Midterm Exam #2 Term Project | |
12 | 20 Nov | 22 Nov | 24 Nov |
structures ch 10.1-10.6 | Happy Thanksgiving! (no class) | Thanksgiving! (no class) | |
13 | 27 Nov | 29 Nov | 1 Dec |
Exam #2 returned and reviewed | recursion, revisited | structures | |
14 | 4 Dec | 6 Dec | 8 Dec |
switch ch 4.7 | structures switch ch 4.7,10.1-10.6 | Project Due Review for final exam | |