3.1 Writing Classes
Skills
Determine an appropriate program design to solve a problem or accomplish a task (not assessed).
Determine code that would be used to complete code segments.
Determine code that would be used to interact with completed program code.
Write program code to define a new type by creating a class.
Describe the initial conditions that must be met for a program segment to work as intended or described.
Explain why a code segment will not compile or work as intended.
Identify errors in program code.
Describe the behavior of a given segment of program code.
Determine the result or output based on the statement execution order in a code segment containing method calls.
Essential Questions
How can using a model of traffic patterns improve travel time?
How can programs be written to protect your bank account balance from being inadvertently change?
What responsibility do programmers have for the consequences of programs they create, whether intentional or not?