Computer Programming I (COP 2210) - Lab

Caryl Rahn

Fall Semester 2016

NOTE: Students must download, print, and bring a copy of each week's Lab Activity Sheet to the lab session in order to get credit for the lab. (Activity Sheets are in MS Word '97 format)
Lab Week Description Files
0 8/22-8/28 Orientation, Using NetBeans, and Introduction to Java

Activity Sheet,
Hello.java (Java file to be used in this lab)

1 8/29-9/4 Strings, the print and println methods, Concatenation, and Escape Sequences

Activity Sheet,
Hello.java (Java file to be used in this lab)
Due to late registrations, misunderstood schedules, orientations and presentations during the lab, and the general confusion that reigns during the first week of the semester, this lab is a repeat of last week's. If you did not finish everything, here is your chance to do so)

2 9/5-9/11 Using an Existing Class

Activity Sheet
Circle.java (Java file to be used in this lab)
CircleTest.java (Java file to be used in this lab)
Circle.html (HTML "help" file for Circle class)
FunWithRectangles.java (class to be used for reference)

3 9/12-9/18 Creating a Class Activity Sheet
Circle.java (class to be used for reference)
4 9/19-9/25 Arithmetic Operators and Expressions, Integer Division, and Type Conversion Activity Sheet
SphereTester.java (program to be used in this lab)
GPA_CalculatorTest.java (program to be used in this lab)
5 9/26-10/2 Reading User Input and Math Class Methods

Activity Sheet
Heron.java (program to be used in this lab)
HeronTest.java (program to be used in this lab)
Payment Calculator.java (program to be used in this lab)
PaymentCalculatorTest.java (program to be used in this lab)
InputDemp.java (shows how to do input)
PythagorasTest.java (shows how to call Math class methods)

6 10/3-10/9 Decision-Making Activity Sheet
TireGauge.java
TestGrader.java
Gold Watch.java
7

10/10-10/16

Decision-Making, Part 2 Activity Sheet
GoldWatch.java
SlotMachine.java
SlotMachineTest.java
LeapYearTester.java
LeapYearTester2.java
8 10/17-10/23 Java "Documentation Comments" and Packages

Bring a flash drive or laptop if possible.

Activity Sheet
Circle.java
Time.java
Using the javadoc Utility in NetBeans
Packages

9 10/24-10/30 Intro to Repetition Activity Sheet
Die.java
GallopingDominoes.java
GallopingDominoes2.java
10 10/31-11/6 Repetition and Debugging and Modifying Code

Activity Sheet
Die.java
Galloping Dominoes.java
Galloping Dominoes2.java
RectanglePrinterTest.java
N_SidedDie.java
DieTest.java
Craps.java
CrapsTest.java

11 11/7-11/13 Introduction to ArrayLists Activity Sheet
NumberListTester.java
12 11/14-11/20 ArrayLists of Objects Activity Sheet
AirDataListTester.java
AirData.txt (Data file to be used with this lab)
InputDemo2.java (class to be used for reference)
BankTester2.java (class to be used for reference)
Bank2.java (class to be used for reference)
13 11/21-11/27 ArrayList Processing

Do this lab if you have completed Lab 12. Otherwise, use this session to complete Lab 12 before beginning this one
Activity Sheet
NameListTester.java
SearchTester.java
sorted.txt (Data file to be used with this lab)


Top               Home