Computer Programming I - Lab

COP 2210

Spring Semester 2020

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 1 (Week of January 6th) - Using NetBeans and Introduction to Java - Strings, the print and println methods, Concatenation, and Escape Sequences
Activity Sheet
Hello.java (Java class to be used in this lab)

Lab 2 (Week of January 13th) - Variables, Assignments, and String Class Methods
Activity Sheet
MethodCalls.java | StringMethodsDemo.java (Java classes to be used for reference)

Lab 3 (Week of January 20th) - Using an Existing Class
Activity Sheet
Circle.java | CircleTest.java (Java classes to be used in this lab)
Circle.html (html "help" file for Circle class users)

Lab 4 (Week of January 27th) - Creating a Class
Activity Sheet
Circle.java (class to be used for reference)

Lab 5 (Week of February 3rd) - Arithmetic Operators and Expressions, Integer Division, and Type Conversion
Activity Sheet
SphereTester.java | GPA_CalculatorTest.java - classes to be used in this lab

Lab 6 (Week of February 10th) - Reading User Input and Math Class Methods
Activity Sheet
Classes to be used in this lab:
    Heron.java | HeronTest.java
    PaymentCalculator.java | PaymentCalculatorTest.java
Programs to be used for reference:
    InputDemo.java (input)
    PythagorasTest.java (Math class methods)

Lab 7 (Week of February 17th) - Intro to Decision-Making
Activity Sheet
Programs to be used in this lab:
TireGauge.java | TestGrader.java | GoldWatch.java

Week of February 24th - Spring Break!

Lab 8 (Week of March 2nd) - Decision-Making, Part 2
Activity Sheet
GoldWatch.java
SlotMachine.java | SlotMachineTest.java

Lab 9 (Week of March 9th) - Java "Documentation Comments" and Packages
Activity Sheet
Classes to be used in this lab:
    Circle.java | CircleTest.java | Time.java
For reference:
   Packages | Javadoc Comments

Lab 10 (Week of March 16th) - Intro to Repetition
Activity Sheet
Die.java | GallopingDominoes.java | GallopingDominoes2.java

Lab 11 (Week of March 23rd) Repetition and Debugging and Modifying Code
Activity Sheet
Die.java | GallopingDominoes.java | GallopingDominoes2.java
RectanglePrinterTest.java
N_SidedDie.java | DieTest.java
Craps.java | CrapsTest.java

Lab 12 (Week of March 30th) - Introduction to ArrayLists
Activity Sheet
NumberListTester.java

Lab 13 (Week of April 6th) - ArrayLists of Objects
Activity Sheet
Java classes to be used: AirData.java | AirDataList.java | AirDataListTest.java
Data file: AirData.txt
Classes to be used for reference: BankTester2.java (input files) | Bank2.java (output files)

Lab 14 (Week of April 13th) - ArrayList Processing

Do this lab only if you have completed Lab 13. Otherwise, use this session to complete Lab 13 before beginning this one

Activity Sheet
NameListTester.java
SearchTester.java
sorted.txt (Data file to be used with this lab)

Top               Home