January 25th 2005

 

NOTE:  items in red and blue were covered in class today

 

Review Lab 2 – updated key

 

Data types & operators ( started)

number representation 

represented in binary (i.e. base 2)

counting in base 2

DefaultLiteral.java

ShowConstants.java

 

reviewed DeMorgan’s laws  - KNOW THEM!!!!

 

Quiz2.java

show screen capture technique

 

Exceptions (review & continued)

          PriceCalculatorDriver.java      

          PriceCalculator.java

          NumberParser.java

          Divider.java                     already covered in a lab

          DividerDriver.java           already covered in a lab

          NestedBlockExample.java         

observed difference between

embedding try/catch in a for loop

embedding a for loop in a try/catch block

                    example command line: java NestedBlockExample 1 3 5 y 7 9 8 e 2

          Calculator.java          discussed terms operand and operator

                                           discussed use of command line arguments

                                       discussed indexes of command line arguments

                                       observed what caused each exception handler

          DoExample1.java

 

Homework:  Review all of the code from today