# Unit 10

# Computer Science

# 4

Computer Science 4

(This is part of the Young Coder program)

Teachers

Allison Bruning

Subjects

Computer Science

Ages

8 - 18 years old

Sessions

Sessions 1: While Conditionals

LESSON OBJECTIVES:

Students will create a while loop with a conditional.

Students will choose appropriate expressions.

Students will increment a while loop condition.

Students will understand what makes a loop run infinitely.

Sessions 2: Arrays

LESSON OBJECTIVES:

Students will recognize the array data structure

Students will access an element in an array using an index

Students will determine the length of a list in Python

Students will iterate over an array with a loop

Sessions 3: Nested While Loops

LESSON OBJECTIVES:

Students will construct a nested while loop.

Students will read and understand a nested while loop.

Students will properly increment nested while loops.

Sessions 4: Optimization

LESSON OBJECTIVES:

Students will compare values to each other.

Students will set an initial value to compare to.

Students will use optimization in problem solving.

Sessions 5: Objects

LESSON OBJECTIVES:

Students will construct an object literal.

Students will use an object literal as an argument.

Sessions 6: For Loops

LESSON OBJECTIVES:

Students will construct a for loop.

Students will use a for loop to loop through the elements in an array.

Students will use a for loop to execute an action a certain number of times.

Sessions 7: Capstone Project - Multiplayer Arena

LESSON OBJECTIVES:

Students will use an iterative process to develop a program that solves a problem.

Students will test and debug a program.