Skip to main content
Subgoals
Contents
Search Book
close
Search Results:
No results.
Prev
Up
Next
Scratch ActiveCode
Profile
Course Home
Assignments
Practice
Peer Instruction (Instructor)
Peer Instruction (Student)
Change Course
Instructor's Page
Progress Page
Edit Profile
Change Password
Log Out
1
Demographic Survey
1.1
Demographic Survey
2
Expression Statements
2.1
Worked Example: Declaration and Initialization
2.1.1
2.1.2
SG1: Determine resultant data type of expression
2.1.3
SG2: Update variable for pre-increment or pre-decrement operators based on side effect
2.1.4
SG3: Evaluate arithmetic expression according to operator precedence
2.1.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.1.6
SG5: Update variable for post-increment or post-decrement operators based on side effect
2.2
Expressions-WE1-P1
2.2.1
2.2.1
Exercises
2.3
Expressions-WE1-P2
2.3.1
2.3.1
Exercises
2.4
Worked Example: Basic Knowledge
2.4.1
2.4.2
SG1 : Determine resultant data type of expression
2.4.3
SG2: Update variable for pre-increment or pre-decrement operators (side effect)
2.4.4
SG3: Evaluate arithmetic expression according to operator precedence
2.4.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.4.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.4.7
Questions to check understanding
2.5
Expressions-WE2-P1
2.5.1
2.5.1
Exercises
2.6
Expressions-WE2-P2
2.6.1
2.6.1
Exercises
2.7
Worked Example: Basic Operation Precedence
2.7.1
2.7.2
SG1 : Determine resultant data type of expression
2.7.3
SG2: Update variable for pre-increment or pre-decrement operators (side effect)
2.7.4
SG3: Evaluate arithmetic expression according to operator precedence
2.7.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.7.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.7.7
Questions to check understanding
2.8
Expressions-WE3-P1
2.8.1
2.8.1
Exercises
2.9
Expressions-WE3-P2
2.9.1
2.9.1
Exercises
2.10
Worked Example: Operation Precedence
2.10.1
2.10.2
SG1 : Determine resultant data type of expression
2.10.3
SG2: Update variable for pre-increment or pre-decrement operators (side effect)
2.10.4
SG3: Evaluate arithmetic expression according to operator precedence
2.10.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.10.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.10.7
Questions to check understanding
2.11
Expressions-WE4-P1
2.11.1
2.11.1
Exercises
2.12
Expressions-WE4-P2
2.12.1
2.12.1
Exercises
2.13
Assessment: Operation Precedence
2.13
Exercises
2.14
Worked Example: Compound Operators
2.14.1
2.14.2
SG1 : Determine resultant data type of expression
2.14.3
SG2: Update variable for pre-increment or pre-decrement operators (side effect)
2.14.4
SG3: Evaluate arithmetic expression according to operator precedence
2.14.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.14.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.14.7
Questions to check understanding
2.15
Expressions-WE5-P1
2.15.1
2.15.1
Exercises
2.16
Expressions-WE5-P2
2.16.1
2.16.1
Exercises
2.17
Worked Example: Prefix Operators
2.17.1
2.17.2
SG1 : Determine resultant data type of expression
2.17.3
SG2: Update variables for any pre-increment or pre-decrement operators (side effects)
2.17.4
SG3: Evaluate arithmetic expression according to operator precedence
2.17.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.17.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.17.7
Questions to check and extend understanding
2.18
Expressions-WE6-P1
2.18.1
2.18.1
Exercises
2.19
Worked Example: Prefix and Postfix Operators
2.19.1
2.19.2
SG1 : Determine resultant data type of expression
2.19.3
SG2: Update variables for any pre-increment or pre-decrement operators (side effects)
2.19.4
SG3: Evaluate arithmetic expression according to operator precedence
2.19.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.19.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.19.7
Questions to check and extend understanding
2.20
Expressions-WE7-P1
2.20.1
2.20.1
Exercises
2.21
Expressions-WE7-P2
2.21.1
2.21.1
Exercises
2.22
Assessment: Pre/Post Operators
2.22
Exercises
2.23
Worked Example: Assigning Booleans
2.23.1
2.23.2
SG1 : Determine resultant data type of expression
2.23.3
SG2: Update variables for any pre-increment or pre-decrement operators (side effects)
2.23.4
SG3: Evaluate arithmetic expression according to operator precedence
2.23.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.23.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.24
Expressions-WE8-P1
2.24.1
2.24.1
Exercises
2.25
Assessment: Boolean Relational Operators
2.25
Exercises
2.26
Worked Example: Boolean Relations
2.26.1
2.26.2
SG1 : Determine resultant data type of expression
2.26.3
SG2: Update variables for any pre-increment or pre-decrement operators (side effects)
2.26.4
SG3: Evaluate arithmetic expression according to operator precedence
2.26.5
SG4: Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
2.26.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.27
Expressions-WE9-P1
2.27.1
2.27.1
Exercises
2.28
Assessment: Boolean Logical Operators
2.28
Exercises
2.29
Worked Example: Swap
2.29.1
2.30
Expressions-WE10-P1
2.30.1
2.30.1
Exercises
2.31
Assessment: Swap
2.31
Exercises
2.32
Worked Example: Method Calls
2.32.1
2.32.2
SG1 : Determine resultant data type of expression
2.32.3
SG2: Update variables for any pre-increment or pre-decrement operators (side effects)
2.32.4
SG3: Evaluate arithmetic expression according to operator precedence
2.32.5
SG4: If an assignment statement (=), is Left Hand Side (LHS) a variable? Check data type of value against data type of variable.
2.32.6
SG5: Update variable for post-increment or post-decrement operators (side effect)
2.33
Expressions-WE11-P1
2.33.1
2.33.1
Exercises
2.34
Expressions-WE11-P2
2.34.1
2.34.1
Exercises
3
Write Expression Statements
3.1
Worked Example: Writing Expression Statements
3.1.1
3.1.2
SG1: Determine expression that will yield variable
3.1.3
SG2: Determine data type and name of variable and data type of expression
3.1.4
SG3: Determine arithmetic equation with operators
3.1.5
SG4: Determine expression components
3.1.6
SG5: Operators and operands must be compatible
3.2
Writing Expression Statements - WE1
3.2.1
3.2.1
Exercises
3.3
Writing Relational Expressions
3.3.1
3.3.2
3.3.2
Exercises
3.4
Assessment: Relational Expressions
3.4.1
Write Relational Expressions
3.4.2
Exercises
4
Object Usage
4.1
Worked Example: Create Instance of Scanner
4.1.1
4.1.2
SG1: Declare variable of appropriate class datatype.
4.1.3
SG2: Assign to variable: keyword new, followed by class name, followed by ().
4.1.4
SG3: Determine whether parameter(s) are appropriate (API)
4.2
ObjUse-WE1-P1
4.2.1
4.2.1
Exercises
4.3
Worked Example: Create Instance of Random
4.3.1
4.3.2
SG1: Declare variable of appropriate class datatype.
4.3.3
SG2: Assign to variable: keyword new, followed by class name, followed by ().
4.3.4
SG3: Determine whether parameter(s) are appropriate (API)
4.4
ObjUse-WE2-P1
4.4.1
4.4.1
Exercises
4.5
Worked Example: Create Instance of Widget
4.5.1
4.5.2
Programmer-Defined Classes
4.5.3
SG1: Declare variable of appropriate class datatype.
4.5.4
SG2: Assign to variable: keyword new, followed by class name, followed by ().
4.5.5
SG3: Determine whether parameter(s) are appropriate (API)
4.6
ObjUse-WE3-P1
4.6.1
4.6.1
Exercises
4.7
Assessment: Construct A Scanner
4.7
Exercises
4.8
Worked Example: Call a method of Scanner
4.8.1
4.8.2
Problem Statement
4.8.3
SG1: Classify method as static method or instance method
4.8.4
SG2: Write (instance / class) dot method name and ( )
4.8.5
SG3: Determine whether parameter(s) are appropriate
4.8.6
SG4: Determine what the method will return and where it will be stored
4.8.7
SG5: Evaluate right hand side (RHS) of assignment. Value is dependent on method’s purpose
4.9
ObjUse-WE4-P1
4.9.1
4.9.1
Exercises
4.10
Worked Example: Call a method of Random
4.10.1
4.10.2
Problem Statement
4.10.3
SG1: Classify method as static method or instance method
4.10.4
SG2: Write (instance / class) dot method name and ( )
4.10.5
SG3: Determine whether parameter(s) are appropriate
4.10.6
SG4: Determine what the method will return and where it will be stored
4.10.7
SG5: Evaluate right hand side (RHS) of assignment. Value is dependent on method’s purpose
4.11
ObjUse-WE5-P1
4.11.1
4.11.1
Exercises
4.12
Worked Example: Call a method of Math
4.12.1
Problem Statement
4.12.2
4.12.3
SG1: Classify method as static method or instance method
4.12.4
Write (instance / class) dot method name and ( )
4.12.5
Determine whether parameter(s) are appropriate
4.12.6
Determine what the method will return and where it will be stored
4.12.7
Evaluate right hand side (RHS) of assignment. Value is dependent on method’s purpose
4.13
ObjUse-WE6-P1
4.13.1
4.13.2
4.13.2
Exercises
4.14
Assessment: Call a Method of Random
4.14
Exercises
4.15
Worked Example: String methods
4.15.1
Problem Statement
4.15.2
SG1: Classify method as static method or instance method
4.15.3
SG2: Write (instance / class) dot method name and ( )
4.15.4
SG3: Determine whether parameter(s) are appropriate
4.15.5
SG4: Determine what the method will return and where it will be stored
4.15.6
SG5: Evaluate right hand side (RHS) of assignment. Value is dependent on method’s purpose
4.16
Assessment: String methods
4.16
Exercises
5
Selection
5.1
Worked Example: If Statements
5.1.1
5.1.2
SG1: Diagram which statements go together.
5.1.3
SG2: For if statement, determine whether true or false
5.1.4
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.2
Selection-WE1-P1
5.2.1
5.2.1
Exercises
5.3
Worked Example: If-Else Statements
5.3.1
5.3.2
SG1: Diagram which statements go together.
5.3.3
SG2: For if statement, determine whether true or false
5.3.4
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.4
Selection-WE2-P1
5.4.1
5.4.1
Exercises
5.5
Worked Example: Sequential If Statements
5.5.1
5.5.2
SG1: Diagram which statements go together.
5.5.3
SG2: For if statement, determine whether true or false
5.5.4
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.5.5
SG2: For if statement, determine whether true or false
5.5.6
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.6
Selection-WE3-P1
5.6.1
5.6.1
Exercises
5.7
Worked Example: Sequential If-Else Statements
5.7.1
5.7.2
SG1: Diagram which statements go together.
5.7.3
SG2: For if statement, determine whether true or false
5.7.4
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.7.5
SG2: For if statement, determine whether true or false
5.7.6
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.8
Selection-WE4-P1
5.8.1
5.8.1
Exercises
5.9
Assessment: Sequential If-Statements
5.9
Exercises
5.10
Worked Example: Nested If Statements
5.10.1
5.10.2
SG1: Diagram which statements go together.
5.10.3
SG2: For if statement, determine whether true or false
5.10.4
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.10.5
SG2: For if statement, determine whether true or false
5.10.6
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.10.7
SG2: For if statement, determine whether true or false
5.10.8
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.11
Selection-WE5-P1
5.11.1
5.11.1
Exercises
5.12
Worked Example: Nested If-Else Statements
5.12.1
5.12.2
SG1: Diagram which statements go together.
5.12.3
SG2: For if statement, determine whether true or false
5.12.4
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.12.5
SG2: For if statement, determine whether true or false
5.12.6
SG3: If true, follow true branch. If false, follow else branch (OR do nothing if there is no else branch).
5.12.7
Practice Pages
5.13
Selection-WE6-P1
5.13.1
5.13.1
Exercises
5.14
Assessment: Nested If-Statements
5.14
Exercises
6
Write Selection Statements
6.1
Worked Example: Write Selection Statements
6.1.1
6.1.2
SG1: Define how many mutually exclusive paths are needed
6.1.3
SG2: Order from most restrictive/selective group to least restrictive
6.1.4
SG3: Write if statement with Boolean expression
6.1.5
SG4: Follow with true bracket including action
6.1.6
SG5 : Follow with else bracket
6.1.7
SG6: Repeat until all groups and actions are accounted for
6.1.8
Equivalent solution using the other ordering of the range/case groups.
6.2
WriteSelection-WE1-P1
6.2.1
6.2.1
Exercises
6.3
Worked Example: Write Switch Statements
6.3.1
6.3.2
Problem Statement
6.3.3
SG1: Determine variable / expression for mutually exclusive ranges
6.3.4
SG2: Write switch statement based on variable / expression
6.3.5
SG3: Each range is a ‘case’
6.3.6
SG4: Include break statements and default case if needed
6.4
Worked Example: Ranges of Values
6.4.1
Problem Statement
6.4.2
SG1: Define how many mutually exclusive paths are needed
6.4.3
SG2: Order from most restrictive/selective group to least restrictive
6.4.4
SG3: Write if statement with Boolean expression
6.4.5
SG4: Follow with true bracket including action
6.4.6
SG5: Follow with else bracket
6.4.7
SG6: Repeat until all groups and actions are accounted for
6.4.8
Equivalent Switch Statement:
6.5
WriteSelection-WE2-P1
6.5.1
6.5.1
Exercises
6.6
Assessment: Writing Selection Statements
6.6
Exercises
7
Evaluating Loops
7.1
Worked Example: While Loops - Counter
7.1.1
7.1.2
SG1: Diagram which statements go together.
7.1.3
SG2: Define and initialize variables
7.1.4
SG3: Trace the loop
7.2
Loops-WE1-P1
7.2.1
7.2.1
Exercises
7.3
Worked Example: For Loops - Counter
7.3.1
7.3.2
SG1: Diagram which statements go together.
7.3.3
SG2: Define and initialize variables
7.3.4
SG3: Trace the loop
7.4
Loops-WE2-P1
7.4.1
7.4.1
Exercises
7.5
Worked Example: Complex Conditional
7.5.1
7.5.2
SG1: Diagram which statements go together.
7.5.3
SG2: Define and initialize variables
7.5.4
SG3: Trace the loop
7.6
Worked Example: While Loops - Sentinel
7.6.1
7.6.2
SG1: Diagram which statements go together.
7.6.3
SG2: Define and initialize variables
7.6.4
SG3: Trace the loop
7.7
Loops-WE3-P1
7.7.1
7.7.1
Exercises
7.8
Loops-WE4-P1
7.8.1
7.8.1
Exercises
7.9
Worked Example: For Loops - Sentinel
7.9.1
7.9.2
SG1: Diagram which statements go together.
7.9.3
SG2: Define and initialize variables
7.9.4
SG3: Trace the loop
7.10
Loops-WE5-P1
7.10.1
7.10.1
Exercises
7.11
Assessment: While and For Loops
7.11
Exercises
7.12
Worked Example: Nested Loops
7.12.1
7.12.2
SG1: Diagram which statements go together.
7.12.3
SG2: Define and initialize variables
7.12.4
SG3: Trace the loop
7.12.5
SG1: Diagram which statements go together.
7.12.6
SG2: Define and initialize variables
7.12.7
SG3: Trace the loop
7.13
Loops-WE6-P1
7.13.1
7.13.1
Exercises
7.14
Assessment: Nested Loops
7.14
Exercises
8
Writing Loops
8.1
Worked Example: Writing Loops Part 1
8.1.1
8.1.2
SG1: Determine purpose of loop
8.1.3
SG2: Define and initialize variables
8.1.4
SG3: Define termination condition invert to continuation condition
8.1.5
SG4: Write loop body
8.2
Worked Example: Writing Loops Part 2
8.2.1
8.2.2
SG1: Determine purpose of loop
8.2.3
SG2: Define and initialize variables
8.2.4
SG3: Define termination condition invert to continuation condition
8.2.5
SG4a: Update condition (LCV) to reach termination
8.2.6
SG4: Write loop body
8.3
WriteLoops-WE1-P1
8.3.1
8.3.1
Exercises
8.4
Assessment: Writing Loops
8.4
Exercises
9
Writing Methods
9.1
Worked Example: Writing Method Headers
9.1.1
9.1.2
9.1.3
Practice Pages
9.2
Write Method Headers-WE1-P1
9.2.1
9.2.1
Exercises
9.3
Worked Example: Writing Method Headers 2
9.3.1
9.3.2
Practice Pages
9.4
Write-Methods-WE2-P1
9.4.1
9.4.1
Exercises
9.5
Worked Example: Writing Methods
9.5.1
9.5.2
SG1: Define method header based on problem
9.5.3
SG2: Define return statement at the end
9.5.4
SG3: Define method body/logic
9.5.5
Practice Pages
9.6
Write-Methods-WE3-P1
9.6.1
9.6.1
Exercises
9.7
Assessment: Writing Methods
9.7
Exercises
9.8
Worked Example: Parameter Passing
9.8.1
9.8.2
Evaluate code
9.8.3
10
Writing Classes
10.1
Worked Example: Writing Classes - Defining Attributes
10.1.1
10.1.2
SG1: Name it
10.1.3
SG2: Differentiate class-level (static) vs. instance/object-level variables
10.1.4
SG3: Differentiate class-level (static) vs. instance/object behaviors/methods
10.1.5
SG4: Define class variables (static) as needed
10.1.6
SG5: Define instance variables (that you want to be interrelated)
10.2
WrClasses-WE1-P1
10.2.1
10.2.1
Exercises
10.3
Worked Example: Writing Classes - Constructors
10.3.1
10.3.2
SG6: Create constructor (behavior) that creates initial state of object
10.3.3
10.4
WrClasses-WE2-P1
10.4.1
10.4.1
Exercises
10.5
WrClasses-WE2-P2
10.5.1
10.5.1
Exercises
10.6
Worked Example: Writing Classes - Getters and Setters
10.6.1
10.6.2
SG7: Create 1 accessor and 1 mutator behaviors per attribute
10.6.3
10.7
WrClasses-WE3-P1
10.7.1
Classes-WE3-P1
10.7.1
Exercises
10.8
Assessment: Writing Classes 1
10.8
Exercises
10.9
Worked Example: Writing Classes - Other Methods
10.9.1
10.9.2
SG8: Write toString method
10.9.3
SG9: Write equals method
10.9.4
SG10: Write other methods
10.9.5
10.10
WrClasses-WE4-P1
10.10.1
10.10.1
Exercises
10.11
WrClasses-WE4-P2
10.11.1
10.11.1
Exercises
10.12
Assessment: Writing Classes 2
10.12
Exercises
11
Evaluate Arrays
11.1
Worked Example: Arrays - Instantiate and Alter
11.1.1
11.1.2
SG1: Declaration and initialization of array
11.1.3
SG2: Determine access or action
11.1.4
11.1.5
11.1.6
11.1.7
11.1.8
11.1.9
Practice Pages
11.2
Arrays-WE1-P1
11.2.1
11.2.1
Exercises
11.3
Worked Example: Arrays - Traverse
11.3.1
11.3.2
SG1: Declaring and initialization of array
11.3.3
SG2: Determine access or action
11.3.4
SG4: Change array element
11.3.5
Practice Pages
11.4
Arrays-WE2-P1
11.4.1
11.4.1
Exercises
11.5
Arrays-WE2-P2
11.5.1
11.5.1
Exercises
11.6
Worked Example: Arrays - Initializer List and Reverse Traverse
11.6.1
11.6.2
SG1: Declaring and initialization of array
11.6.3
SG2: Determine access or action
11.6.4
Evaluating code
11.6.5
Practice Pages
11.7
Arrays-WE3-P1
11.7.1
11.7.1
Exercises
11.8
Assessment: Arrays 1
11.8
Exercises
11.9
Worked Example: Arrays - Sum
11.9.1
11.9.2
SG1: Declaring and initialization of array
11.9.3
SG2: Determine access or action
11.9.4
Evaluating code
11.9.5
Practice Pages
11.10
Arrays-WE4-P1
11.10.1
11.10.1
Exercises
11.11
Worked Example: Arrays - Average
11.11.1
11.11.2
SG1: Declaring and initialization of array
11.11.3
SG2: Determine access or action
11.11.4
Evaluating code
11.11.5
Practice Pages
11.12
Arrays-WE6-P1
11.12.1
11.12.1
Exercises
11.13
Worked Example: Arrays - Minimum Value
11.13.1
11.13.2
SG1: Declaring and initialization of array
11.13.3
SG2: Determine access or action
11.13.4
Evaluating code
11.13.5
Practice Pages
11.14
Arrays-WE5-P1
11.14.1
11.14.1
Exercises
11.15
Worked Example: Arrays - Find Value
11.15.1
11.15.2
SG1: Declaring and initialization of array
11.15.3
SG2: Determine access or action
11.15.4
Evaluating code
11.15.5
Practice Pages
11.16
Arrays-WE7-P1
11.16.1
11.16.1
Exercises
11.17
Worked Example: Enhanced For Loops
11.17.1
11.17.2
SG1: Declaring and initialization of array
11.17.3
SG2: Determine access or action
11.17.4
11.18
Arrays-WE8-P1
11.18.1
11.18.1
Exercises
11.19
Worked Example: Array Parameters
11.19.1
11.19.2
SG1: Declaring and initialization of array
11.19.3
SG2: Determine access or action
11.19.4
SG2: Determine access or action
11.19.5
SG6: Whole array actions, parameter passing
11.19.6
Evaluate code
11.19.7
SG6: Whole array actions, array assignment
11.19.8
11.20
Arrays-WE9-P1
11.20.1
11.20.1
Exercises
11.21
Assessment: Arrays 2
11.21
Exercises
12
Write Arrays
12.1
Worked Example: Writing Arrays - Storing Multiplication Table
12.1.1
12.1.2
SG1: Declaring an array variable
12.1.3
SG2: Instantiating an array object
12.1.4
SG5: Traversing an array
12.1.5
SG4: Changing the value of an array element
12.1.6
12.1.7
Practice Pages
12.2
Writing-Arrays-WE1-P1
12.2.1
12.3
Worked Example: Writing Arrays - Shifting Array Values
12.3.1
12.3.2
SG1: Declaring an array variable and SG2: Instantiating an array object
12.3.3
Practice Pages
12.4
Writing-Arrays-WE2-P1
12.4.1
12.4.1
Exercises
12.5
Worked Example: Write Arrays - Reverse
12.5.1
12.5.2
Solution 1 – copy to new array with reverse traverse
12.5.3
Solution 2 – same array with swaps
12.5.4
Practice Pages
12.6
Writing-Arrays-WE3-P1
12.6.1
12.6.1
Exercises
12.7
Assessment: Write Arrays
12.7
Exercises
13
Evaluate 2D Arrays
13.1
Evaluating 2D Arrays
14
Write 2D Arrays
14.1
Writing 2D Arrays
15
Evaluate Array Lists
15.1
Evaluating Array Lists
16
Write Array List
16.1
Writing Array Lists
1
Demographic Survey
2
Expression Statements
3
Write Expression Statements
4
Object Usage
5
Selection
6
Write Selection Statements
7
Evaluating Loops
8
Writing Loops
9
Writing Methods
10
Writing Classes
11
Evaluate Arrays
12
Write Arrays
13
Evaluate 2D Arrays
14
Write 2D Arrays
15
Evaluate Array Lists
16
Write Array List
🔗