AP CS A Unit 2
Unit 3, Day 1
Mr. Jones | AP Computer Science A
Discuss with your table - in what ways is the function machine a
good representation of methods in Java?
Function Robot
3 Parts of a method
- Parameters
- Return Value
- Behavior (side effects)
Types of methods
- “Pure functions”
- “Void” methods
- Have only side effects, no returns
Practice with void methods
Upcoming Schedule
- Today - Start Unit 3
- Thursday - Q1 Exam (aka retakes)
- Monday (11/6) - More Unit 3
- Tuesday (11/7) - No school! Teacher workday
- Friday(11/10) - No school! Veteran’s Day
Unit 3:
- A few odds and ends:
- One more boolean operator
- Working with Strings
- ConsoleProgram
- Methods
Strings and ConsoleProgram
Work on CodeHS Problem: 2.15.4 Three Strings
This is a recap slide
(To be completed)