Current Semester
- Week 13:
- Week 12:
- Week 11:
- Week 10:
- Week 9: slightly modified Card class
(added array of suits), new
Deck.java
class (serves as a deck or hand of
cards), driver (test)
program, OrderedSet.java basic array operations
- Week 8: arrays.java demo
program, gradesDesign.txt problem
design, OO solution start: Student.java,
Course.java, Non-OO Solution files:
grades.java 2D array
version, grades
input
- Week 7: usingMethods.java
highlights some finer points about variable scoping and parameter
passing; new class development: Card.java,
CardMain.java,
Time.java, TimeMain.java.
- Week 6: We had the midterm, and then classes were cancelled on
Wednesday. But here is the example we were going to work through:
hangman.java program development
and sample input file.
- Week 5: filesDemo.java example,
sample input
file, RandomData.java
examples, UseRandom.java calls
methods from RandomData, alternate tutoring
program2 using methods, fledgling pigLatin
program using methods
- Week 4: loops.java demo program for
repetition control structures, tutor.java
math tutoring program (complete version), we also finished reviewing
decisions.java and strings.java (see below)
- Week 3: decisions.java demo program
for understanding decision statements, GPAprogram.java - a revised
version of our GPA program which converts grades to
points, strings.java gives some examples
of using basic string methods
- Week 2: GPAprogram.java - the
beginnings of our GPA program in java source
code, arithmetic.java demo program for
understanding operations and data
types, inputscan.java Scanner methods
demo program
- Week 1: gpa.txt planning file for GPA program
Examples by Topic
Many of these examples will be very similar to those of the current
semester. The topics are listed alphabetically. Each topic brings
you to a directory of files to browse.
|