Unit 5: Loops
Home
Units
Hardware, Software, History, Memory, Linux, Conversion
Printing, Format, Compiling, Documentation, Design
IO, Math, Testing
Methods & Classes
If-Else & Inheritance
Ethics, Loops, Recursion
Final Exam Review - Semester 1
Objects & Strings
1-D Arrays & File I/O
Graphics, Images, Frames, Mouse, Focus, and Key Events
Components, Layouts, User Interface Design
Game Design
Final Exam Review - Semesters 1 & 2
References
Linux Primer
Eck Java Textbook
Java SE 5.0 API
Internal
External
Intro to Linux
Java Methods A & AB
Course
Java "Greensheet"
Java Lab Rubric
Home Setup
PC Users
Mac Users
Unit 5: Ethics, Loops, Recursion
Reading Questions:
Loops
(goes with all loop readings below)
Reading:
While Loops
Examples:
Asks For Initial Velocity, Prints Heights
Finds The Greatest Common Factor
Tracks An Investment Until It Doubles
Rolls A Pair Of Dice 1000 Times
Print Prime Numbers
Reading:
For, Do-While, and Nested Loops
Examples:
Prints Numbers 1 To 10 With For And While
Prints Letters 'A' To 'Z'
Draws A Rectangle Of Asterixes
Draws A Triangle Of Asterixes
Finds A List Of Prime Numbers
The '^' Character Takes A Random Walk
Rolls Two Dice 11000 Times, Finding Sums Of 2 - 12
Reading:
Recursion
Reading Questions:
Recursion
Examples:
Find Fibonacci Numbers Recursively
Find A Factorial Using Recursion
User Enters A String, String Is Deconstructed Recursively
A Pyramid Of Characters Is Printed Recursively
AreWeThereYet.java Directions
PigOut.java Directions
Hailstone.java Directions
NumberSequence.java Directions
Shuffleboard Directions
Loop Quiz 2014
Loop Timed Quiz with Switch
Practice Test A (Boolean, Classes, Loops)
Practice Test B (Recursion, Object (Class) Design, Inheritance)
Extra Recursion Practice
Practice Test C: Loop and Recursion Exam 2014
Monta Vista SchoolLoop Site