CS 302 Lecture 5 Home Page
Fall 2011, LECTURE 5 HOME PAGE
Lecture Information |
Lecture Announcements
Lecture
- Location: 1289 CSS
- Time: MWF: 11:00 AM - 11:50 AM
Instructor
- Alicia Maxwell
Email: amaxwell AT cs.wisc.edu (include CS 302 with a descriptive subject)
Office: 1308 CSS
Office Hours: Tuesday 2:00-3:00, Wednesday 1:00-2:00 or by appointment
Lecture 5 Announcements
- Piazza Webpage
We will use Piazza as a forum for questions relating to programming assignments.
You will have the ability to post questions, see responses, and answer questions.
Your invitation to enroll in 302 on Piazza will arrive this week.
- Program 1 Assigned
Assignment is due Friday, 2/24 by 10PM
Register your partner by Friday 2/17
Extra Credit will be added later
- Code Lab Assigned
The majority of code lab assignments come at the beginning of the course.
Start early to maximize extra credit.
The first set of code lab problems has been assigned and is due by the end of the day 2/13/2012.
- Syllabus
See Info Sheet.
- Would you like to get more programming practice and earn extra credit?
CS 302 offers two ways to earn extra credit:
1) Code Lab. See the CodeLab page.
2) Programming Assignments. See the Programming Assignments page.
For more information see Extra Credit.
- Set up Java/Eclipse your own computer.
See the Software Download page for instructions.
Lectures, Code Samples, and Handouts
- Wednesday, 2/8/2012: Chapter 3 (applications), Chapter 4 (While loops)
Lecture Slides: See Friday 2/3/2012 for updated chapter 3 slides,
Chapter 4 Lecture
Code Samples: Number Guessing Game,
Average Value,
Digital Pet
Handout: In class problems
Practice Set: Practice Set 3
- Monday, 2/6/2012: Chapter 3 (switch statement, non-integer comparisons)
Lecture Slides: See Friday 2/3/2012 (updated version posted)
Handout: Boolean Logic
- Friday, 2/3/2012: Chapter 3 (if, if-else, if-else-if statements)
Lecture Slides: Chapter 3 Lecture (pdf),
Chapter 3 Lecture (pptx)
Code Samples: Maze,
Maze Solver,
Maze Solving Main Class,
Song Lyrics Generation
- Wednesday, 2/1/2012: Chapter 2 (Writing Complete Programs)
Lecture Slides: See Friday 1/27/2012 (versions posted are updated)
Code Samples: Elementary Math,
Rectangle,
RectangleComponent
Practice Problems: Practice Set 2
Lecture Outline: Chapter 2 Outline
- Monday, 1/30/2012: Chapter 2 (String and Random Classes)
Lecture Slides: See Friday 1/27/2012
Code Samples: Circle,
Coin Toss,
Employee,
Test Employee
Information on Strings (in addition to Friday handout): Strings
- Friday, 1/27/2012: Chapter 2 (Fundamental Data Types)
Lecture Slides: Chapter 2 Lecture (pdf),
Chapter 2 Lecture (pptx)
Code Samples: Reading Input ,
Dialog Box
Handout: Sample Program, Fundamental Data Types, Strings,
Random, and Java Operators
- Wednesday, 1/25/2012: Chapter 1 (Hardware, Software, Java Basics)
Lecture Slides: Chapter 1 Lecture (pdf),
Chapter 1 Lecture (pptx)
Handout: Parts of a Computer and High Level Languages
Lecture Outline: Chapter 1 Outline
Practice Problems: Practice Set 1
- Monday, 1/23/2012: Introduction to Course
Lecture Slides: First Day Lecture (pdf),
First Day Lecture (pptx)
Handout: Info Sheet (pdf)