In this lesson, students will explore the language of computers, including programming languages, variables, and data types.
Students will be able to:
In this lesson, students learn how Karel the Dog can be given a set of instructions to perform a simple task. Additionally, students learn about functions, and how they can use functions to break down their programs into smaller pieces and make them easier to understand.
In this lesson, students learn how to use for loops and while loops in their programs. For loops allow Karel to repeat a specific part of code a fixed number of times, and while loops allow Karel to repeat a specific part of code while a certain condition is true. Additionally, while loops allow students to create general solutions to problems that will work on multiple Karel worlds, rather than just one.
Students will be able to:
In this lesson, students learn about an additional control structure, if/else statements. If/else statements let students do one thing if a condition is true, and something else otherwise.
Students will be able to:
In this lesson, students learn about lists/arrays and how to access an element in an array with an index so they can create ordered collections of items. Students also learn about another way to store data in JavaScript: objects. An object stores mappings from a key to a value.
Students will be able to:
In this lesson, students learn about the importance of planning when writing complex programs. Students learn that flowcharts and pseudocode are essential tools that help break down a problem. Students also learn how to use comments in JavaScript as a way to make their code more readable.
Students will be able to:
In this lesson, students review content with a 15 question Unit Quiz.
Students will be able to: