Unit 4: if...else and switch
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 4: if...else and Inheritance
Reading:
Overview of control structures, if...else
Reading:
De Morgan's Laws (Negating Conditions)
- Read only first half (parts A and B)
Reading Questions:
If...Else and De Morgan's Laws
Examples:
An If-Else Block That Checks An Age
An If-Else Chain
An If-Else Chain That Checks An Age
Finds If Leap Year Using If-Else
Finds Roots Of A Quadratic
Reading:
Inheritance
Reading Questions:
Inheritance
Examples:
Parent Box, Child Cube, Client BoxClient
Superclass Quad, Subclass Rect, Client Client
Old Timed Quiz and Error Quiz
Practice Test for HW: If-Else and Methods Exam
Practice Test: If-Else Exam 2014
Practice Quiz: Timed Error and If-Else Quiz 2014
Postage.java Directions
Practice Quiz: Inheritance Quiz 2014
Review: Methods, Classes, Inheritance
Assignment:
Food Inheritance
Monta Vista SchoolLoop Site