Topics for the Week of March 3
- Quiz on Thurs on loops. Examples:
- Print the numbers from 0 to 100.
- Print the numbers from 0 to 100, backwards.
- Print the even numbers from 0 to 100.
- Print the numbers from 50 to 200.
- Sum the numbers from 0 to 100.
- Sum the even numbers from 0 to 100.
- Add up 1000 random numbers and compute their average.
- Lab:
- Lab 5 is due March 5. It must be demonstrated by the following Tues lab.
- Lab 6 is available. It is due March 12.
- Review: Numeric Computing
- for loops
- Math class
- type conversions
- Numeric expressions. Operators and their precedence (pp 180-181)
- See notes from past year.Primitive Types and
Java Statements.
- New Material
- More on Arrays
- List class
- div and mod functions
- Roman Numeral Conversions
[top]
[CS 231 Lectures Page]