| Lecture Slides | Chapter 1 |
| Examples | HiWorld.cs |
| Reading Assignment | Sections 1.1 to 1.17 |
| Lecture Slides | Chapter 3 |
| Excercise | Write a program that display your first and last name in two separate lines (follow the example HiWorld.cs) |
| Reading Assignment | Sections 3.1 to 3.5 |
09/10/2008
| Lecture Slides | Chapter 3 |
| Excercise | Write a program that computer the average of three integer values from user input |
| Reading Assignment | Sections 3.6 to 3.8 |
09/15/2008
| Lecture Slides | Chapter 3 |
| Excercise | Write a program that input an integer grade and display the corresponding letter grade |
| Reading Assignment | Sections 3.9 |
09/17/2008
| Lecture Slides | Chapter 4-1 |
| Example & Excercise | Box1Class , Box2Classes, Box3VoidMethods
, Box3Objects Modify Box2VoidMethods to create class for Rectangle |
| Reading Assignment | Sections 4.1-4.4 |
09/22/2008
| Lecture Slides | Chapter 4-1 |
| Example & Excercise | Box3VoidMethods
, Box3Objects Write a program following these specs |
| Reading Assignment | Sections 4.1-4.4 |
09/24/2008
| Lecture Slides | Chapter 5 |
| Excercise | Write a program that calculate 1+…+500 |
| Reading Assignment | Sections 5.1-5.7 |
09/29/2008
| Lecture Slides | Chapter 5 |
| Excercise | Write a program for the pseudocode on Slide 26 |
| Reading Assignment | Sections 5.8, 5.9, 5.11, 5.12 |
10/01/2008
| Lecture Slides | Chapter 6 |
| Excercise | Compute low+(low+1)+...+high using for loop, in which low and high are two integers |
| Reading Assignment | Sections 6.1-6.4 |
10/06/2008
| **Review for Exam 1" | No slides |
| Examp | Draw a line |
| Reading Assignment | All previous reading assignments |
10/13/2008
| Lecture Slides | Chapter 6 |
| Excercise | Write a program to compute 1000+990+980+970+...+0 using a for loop |
| Reading Assignment | Sections 6.5-6.9 |
10/15/2008
| Lecture Slides | Chapter 6 |
| Excercise |
1. Use switch to display Sunday, Monday, Tuesday, ..., Saturday corresponding to user input 0, 1, 2, ...6 2. Use nested for loop for 2-D drawing |
| Reading Assignment | Sections 6.1-6.9 (yes, read them again) |
10/20/2008
| Lecture Slides | Chapter 4, Part II |
| Excercise | Get familiar with private instance variables and properties |
| Reading Assignment | Sections 4.5, 4.7,4.8 |
10/22/2008
| Lecture Slides | Chapter 4, Part II |
| Excercise | Develop a Time class with properties and a single constructor |
| Reading Assignment | Sections 4.5, 4.7,4.8 |
10/27/2008
| Lecture Slides | No Slides |
| Excercise | Multiple constructors, Propoties that not only read from/write to instance variables |
| Reading Assignment | Sections 4.10, 4.11 |
10/29/2008
| Lecture Slides | Chapter 7 |
| Excercise | Use Math.Max( ) to compute the maximal values of three inputs. |
| Reading Assignment | Sections 7.1-7.5, 7.7, 7.9 |
11/03/2008
| Lecture Slides | Chapter 7 |
| Excercise | 1. Write a program to simulate dice and answer the following
questions: how many times do you need to cast your dice before getting
two consecutive 6's? 2. Use pass-by-reference to swap value of two variables |
| Reading Assignment | Sections 7.11, 7.12, 7.14 |
11/05/2008
| Lecture Slides | Chapter 7 |
| Excercise | Use pass-by-reference to swap value of two variables |
| Reading Assignment | Sections 7.11, 7.12, 7.14 |
11/10/2008
| Lecture Slides | Chapter 7 |
| Excercise | pass objects as parame, and he recently won the 2008 ACM TODAES Best Paper Award. -->ters |
| Reading Assignment | Review all materials since exam 1 |
11/17/2008
| Lecture Slides | Chapter 8 - I |
| Excercise | Generate an array of 1000 random integers between 1 and 100, and then compute the average value. |
| Reading Assignment | Sections 8.1, 8.2, 8.3, 8.4 |
11/19/2008
| Lecture Slides | Chapter8-sort |
| Excercise | Use foreach to search for an item in an integer array |
| Reading Assignment | Sections 8.6, 8.7, 8.8 |
11/24/2008
| Lecture Slides | Chapter 25 |
| Excercise | None |
| Reading Assignment | Sections 25.1, 25.2, 25.3.1, 25.3.2 |
12/01/2008
| Lecture Slides | Chapter 8 - II |
| Excercise | Declare a NxN array and set all the values on its diagonal lines to 1 |
| Reading Assignment | Sections 8.7, 8.8, 8.10 |
12/03/2008
| Lecture Slides | Chapter 19 |
| Example | FileLocations.7z, WriteFile.7z |
| Reading Assignment | Sections 19.1 - 19.6 |