# ALEX Classroom Resource

## Computer Science Fundamentals Unit 7 Course F Lesson 2: Coding With Comments (2018)

Classroom Resource Information

Title:

Computer Science Fundamentals Unit 7 Course F Lesson 2: Coding With Comments (2018)

URL:

https://curriculum.code.org/csf-18/coursef/2/

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

In this set of puzzles, students will begin with an introduction (or review depending on the experience of your class) of Code.org's online workspace. There will be videos pointing out the basic functionality of the workspace including the `Run``Reset`, and `Step` buttons. Also discussed in these videos: dragging Blockly blocks, deleting Blockly blocks, and connecting Blockly blocks. Next, students will practice their sequencing and debugging skills in a maze.

We recognize that every classroom has a spectrum of understanding for every subject. Some students in your class may be computer wizards, while others haven't had much experience at all. In order to create an equal playing (and learning) field, we have developed these ramp-up lessons. This can be used as either an introduction or a review of how to use Code.org and basic computer science concepts.

Students will be able to:
- order movement commands as sequential steps in a program.
- modify an existing program to solve errors.
- break down a long sequence of instructions into the largest repeatable sequence.

Note: You will need to create a free account on code.org before you can view this resource.

Content Standard(s):
 Digital Literacy and Computer Science DLIT (2018) Grade: 5 2) Create an algorithm to solve a problem while detecting and debugging logical errors within the algorithm. Examples: Program the movement of a character, robot, or person through a maze. Define a variable that can be changed or updated. Unpacked Content Evidence Of Student Attainment:Students will: create an algorithm to solve a problem. detect and debug logical errors within an algorithm.Teacher Vocabulary:algorithm debug detect logical errorsKnowledge:Students know: an algorithm is a logical set of steps to solve a problem. detecting and debugging logical errors within an algorithm will ensure the algorithm serves to solve a problem successfully.Skills:Students are able to: create an algorithm to solve a problem while detecting and debugging logical errors within the algorithm.Understanding:Students understand that: debugging an algorithm is searching for logical errors within the algorithm. an algorithm is a set of steps to solve a problem. how to create an algorithm to solve a problem while detecting and debugging logical errors within the algorithm. Digital Literacy and Computer Science DLIT (2018) Grade: 5 6) Create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs. Unpacked Content Evidence Of Student Attainment:Students will: create a working program in a blockbased visual programming environment. create a program in a blockbased visual programming environment using arithmetic operators such as AND, OR, and NOT. create a program in a blockbased visual programming environment using conditionals such as IF, THEN, and/or ELSE. create a program in a blockbased visual programming environment using repetition or loops.Teacher Vocabulary:program block-based visual programming environment arithmetic operators conditionals repetitionKnowledge:Students know: how to create a working program in a block-based visual programming environment. reasons for using arithmetic operators, conditionals, and repetition in programs.Skills:Students are able to: create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs.Understanding:Students understand that: arithmetic operators, conditionals, and repetition in programs make more operations possible and can reduce the complexity or length of code.
Tags: algorithm, bug, debugging, loop, problem solving, program, sequencing