Learn how to take a problem, figure out the algorithm to solve it, then write the code
The student will:
Be able to deconstruct problems to develop algorithms and eventually program code.
Understand how looping works in Java
The student will:
Describe the different looping statements, for, while, do-while.
Use the correct looping construct for the situation in their code.
Understand how branching works in Java
The student will:
Describe the different branching statements, if, if-else, if-else-if, and switch.
Use the correct branching construct, if, if-else, if-else-if, and switch in their code.
Understand Java Exceptions
The student will:
Describe what exceptions are in Java.
Handle exceptions in their programs.
Correctly generate exceptions in their programs.
Readings
Text: Ch. 3.1 - 3.2, Control
Blocks, Loops and Branches
SC: Ch. 3.1 - 3.2
Blocks, Loops, and Branches
Text: Ch. 3.3 - 3.4, Control
Loops
SC: Ch. 3.3 - 3.4
Loops
Text: Ch. 3.5 - 3.6, Control
Branches
SC: Ch. 3.5 - 3.6
Branches
Text: Ch. 3.7 - 3.9, Control
Exceptions, Arrays, GUI Programming
SC: Ch. 3.7 - 3.9
Exceptions, Arrays, GUI Programming
Experiential Learning
Practice Looping and Branching
Writing simple while loops with if statements.
Practice: More Loops
Programming with loops
H03: Simulate a pair of six sided dice.
Write a program that answers the question how many times must you roll the dice?
Practice: Branching
Practice: Exceptions
Working with exceptions
H04: Processing a file.
Write a program to process a text file.
Assessments
Q07: Algorithms
Outcome(s) assessed:
Learn how to take a problem, figure out the algorithm to solve it, then write the code
Q08: Loops
Outcome(s) assessed:
Learn how to take a problem, figure out the algorithm to solve it, then write the code,
Understand how looping works in Java
H03: Simulate a pair of dice.
Outcome(s) assessed:
Learn how to take a problem, figure out the algorithm to solve it, then write the code,
Learn basics of programming with a modern programming language, Java,
Learn how to produce robust programs in Java,
Employ a good Java development environment
Q09: Branching
Outcome(s) assessed:
Learn how to take a problem, figure out the algorithm to solve it, then write the code,
Understand how branching works in Java
Q10: Exceptions
Outcome(s) assessed:
Learn how to take a problem, figure out the algorithm to solve it, then write the code,
Understand Java Exceptions
H04: Processing a file.
Outcome(s) assessed:
Learn how to take a problem, figure out the algorithm to solve it, then write the code,
Learn basics of programming with a modern programming language, Java,
Learn how to produce robust programs in Java,
Employ a good Java development environment