**CS in Algebra**

Unit 1 - Course A (code.org)

__Lesson 1: Evaluation Blocks and Arithmetic Expressions__

Students will begin using Evaluation Blocks to explore the concept of math as a language, and more specifically, a programming language. By composing arithmetic expressions with Evaluation Blocks, students will be able to visualize how expressions follow the order of operations.

__Lesson 2: Strings and Images__

To compute more than just numbers, students will need to learn about two new data types, Strings (any string of alphanumeric characters) and Images. Using these new data types, we’ll compose programs that produce and manipulate images.

__Lesson 3: Contracts, Domain, and Range__

Contracts provide a way for students to better understand and discuss functions. Through this lesson, students will look at known functions and come up with the contracts that describe those functions.

__Lesson 4: Writing Contracts__

Students will work their way through a number of new functions, first using each to solve a problem, and then writing a contract which describes it.

__Lesson 5: Defining Variables and Substitution__

In this activity, students will learn to define variables that can be used to reference values and expressions. Once defined, their variables can be used repeatedly throughout a program as substitutes for the original values or expressions.

__Lesson 6: Fast Functions__

In this lesson we will build on students’ understanding variables by making functions that reduce the number of inputs required. These ‘fast functions’ allow students to practice using the Design Recipe to develop simple functions without the additional overhead of parsing a word problem.

__Lesson 7: Composite Functions__

In the past lessons students have defined Variables and written Fast Functions. In this stage, they will continue to explore function writing with ever increasing complexity.

__Lesson 8: The Design Recipe__

In the last stage, students wrote some very simple functions - but more sophisticated functions demand a more thoughtful approach. The Design Recipe is a structured approach to writing functions that includes writing a purpose statement and test cases to ensure that the function works as expected. Once students have mastered the Design Recipe process, they can apply it to any word problem they encounter.

__Lesson 9: Solving Word Problems with the Design Recipe__

In this stage students practice using the Design Recipe to write functions which solve for word problems. Towards the end of the lesson students should be ready to begin using the Design Recipe on problems from your own math curriculum.

__Lesson 10: Rocket Height__

Using the Design Recipe, students will work through a series of word problems about calculating the height of a rocket after a given number of seconds from launch. The functions they write will be used to animate the rocket launch.

**Unit 2 - Course B - (Culminating Project)**

Students work through lessons and learn how to make a simple game utilizing these math skills.

Unit 1 - Course A (code.org)