# Unit 11

# Computer Science

# 5

Computer Science 5

(This is part of the Young Coder program)

Teachers

Allison Bruning

Subjects

Computer Science

Ages

8 - 18 years old

Sessions

Sessions 1: Modulo for Arrays

LESSON OBJECTIVES:

Students will understand what the modulo operator does

Students will use the modulo operator to wrap around an array.

Sessions 2: Using Predefined Functions

LESSON OBJECTIVES:

Students will call a predefined function and use its return value appropriately.

Students will use different elements of an array to position an item as desired.

Sessions 3: String Searching

LESSON OBJECTIVES:

Students will traverse through a string one character at a time

Students will find a certain character in a string.

Students will find the index of a character in a string.

Students will find a string within a larger string.

Sessions 4: For Loops with Non-1 Steps

LESSON OBJECTIVES:

Students will use a for loop to increment by more than one item at a time

Students will place items a certain distance apart with the use of for loops.

Sessions 5: Array Push

LESSON OBJECTIVES:

Students will filter items in an array

Students will push elements into an array.

Sessions 6: Same Array Searching

LESSON OBJECTIVES:

Students will use nested for loops to iterate through the same array twice.

Students will compare elements within the same array.

Students will find duplicate items in a single array.

Sessions 7: Nested Fors as Grid

LESSON OBJECTIVES:

Students will use nested for loops to create a virtual grid.

Students will traverse through nested for loops to place items or perform actions in a grid-like manner.

Sessions 8: Nested Arrays as Grid

LESSON OBJECTIVES:

Students will use nested arrays to create a virtual grid.

Students will traverse through 2D arrays with the use of nested for loops.

Students will access a row, column, or element of a nested array.

Sessions 9: 2D Array Access

LESSON OBJECTIVES:

Students will access a specific element of a 2D array

Students will use zero based indexing for nested arrays.

Sessions 10: For Loop Array Access

LESSON OBJECTIVES:

Students will loop through multiple arrays at once.

Students will associate the elements of one array with another.

Sessions 11: Geometry

LESSON OBJECTIVES:

Students will computationally compute the perimeter and area of a rectangle.

Students will computationally form the 4 points of a square.

Sessions 12: Number Base Conversion

LESSON OBJECTIVES:

Students will understand the difference between base-10, base-2, and base-3 number systems.

Students will convert numbers from base-10 to base-2 or base-3.

Students will convert numbers from base-2 or base-3 to base-10.