7th/8th Grade Inglewood

7th/8th Grade Curriculum Overview

Review your grade-level pathway

Students in this course will learn how to code in JavaScript (JS), a text-based coding language. The curriculum will focus on fundamental coding concepts, like sequencing, loops and conditionals.

The curriculum will focus on the 4-step problem-solving process to aid students as they think through challenges.

Below is an in-depth descriptions of the first 10-lesson module, with the full Scope and Sequence linked.

Module G1: Surface Ops The module begins with a lesson that introduces the pickUp and putDown commands with a series of sequencing challenges. Students then learn the 4-step problem-solving process and practice self-inquiry as they encounter more complex challenges. In the following lessons, students are reintroduced to writing code with control structures such as loops and conditionals. By the end of this module, students will be able to use a combination of loops and conditionals to solve complex challenges efficiently. (Scope and Sequence)

Learn your core computer science (CS) concepts

Sequencing

A sequence is a set of steps carried out in order, and sequencing in computer science is the process of writing or following instructions in order.

The sequence to the right completes the steps in the order 1 through 8.  PixelBot first turns right, then moves forward one step, then paints the cell blue, then moves forward five steps, and so on and so forth.

Try it out!

 
 

This video will walk you through the solution to the writing challenge above:


Loops

A loop is a block of code that repeats a sequence.  Loops are useful because they allow us to repeat sequences of code without rewriting the same lines of code multiple times.

The loop on the right makes PixelBot move forward, paint black, move forward, and then paint purple. This loop repeats twice, as indicated by the “2” inside the parentheses on line 1.

Try it out!

This video will walk you through a writing challenge similar to the one above:


Conditionals

A conditional is a piece of code that executes depending on whether a condition is true or false. Conditionals are useful because they allow us to account for different scenarios in our code.

In PixelBots, the ifColor conditional is used to check what color pixel PixelBot is currently on. The code inside the conditional will execute only if PixelBot is on the specified color. For example, the code on the right has PixelBot pick up an item only if on an orange pixel.

Try it out!

This video will walk you through the solution to the writing challenge above:

Francisco Montenegro