Lab 1: Simple Java
|
This lab explores the beginnings of Java use
including comments, style issues, methods, and arithmetic.
|
Lab 2: More Java
|
This lab explores some more usage of Java including
string manipulations, conditionals, and typecasting
(temporarily changing a variable's type). A hopeful
side-effect of doing this lab will be good knowledge of
Sun's online Java JDK documentation.
|
Lab 3: Simple Classes
|
The goal of this lab is to explain the basics of objects
and classes, as well as construct a class for a Remote
Control object giving it properties (fields) and
behavior (methods).
|
Lab 4: Classes and Loops
|
The purpose of this lab is to help you get exposed to
looping mechanisms and play around with using them.
This will include looping through elements in a string,
modifying big numbers and trimming zeros.
|
Lab 5: Guesser
|
The purpose of this lab is to make a guesser that when
given a range, will guess what number you are
thinking. It explores the use of the main
method as well as the command-line java tools.
|
Lab 6: Arrays!
|
The purpose of this lab is to illustrate the purpose and use
of arrays in java. It will include metaphors, examples, and
other odds and ends.
[ Sid's Notes]
|
Lab 7: Practice Practical
|
The purpose of this lab is to prepare you for programming in a timed environment in advance of the March 1 practical exam.
[ Solution]
|
Lab 8: Selection Sort
|
In this lab, we implement our first Java sorting algorithm, the ever-powerful selection sort.
[ Jerry's Solution]
|
Lab 9: Inheritance!
|
In this lab, we study stuff that has parents and
children. The word protected becomes useful,
and so does abstraction and encapsulation!
[ the beings classes] [ Rob's Solution]
|
Lab 10: GUIs
|
|
Lab 12: Breakout 2
|
Week 2 of writing our Breakout clone
In this lab, you get to write a version of breakout
where there is a paddle and two balls that bounce
around. Fun stuff, let me tell ya. Further, you get
to tell the balls to bounce when they hit a paddle
and stop when they hit the bottom... what's next?
My Breakout solution isn't perfect, but it's a
documented start!
[
Dot Dragger Program
]
[
Sid's Breakout2 solution
]
|