ALEX Classroom Resource

  

Computer Science Fundamentals Unit 4 Course C Lesson 8: Loops with Rey and BB-8 (2018)

  Classroom Resource Information  

Title:

Computer Science Fundamentals Unit 4 Course C Lesson 8: Loops with Rey and BB-8 (2018)

URL:

https://curriculum.code.org/csf-18/coursec/8/

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

In this lesson, students will be learning more about loops and how to implement them in Blockly code. Using loops is an important skill in programming because manually repeating commands is tedious and inefficient. With the Code.org puzzles, students will learn to add instructions to existing loops, gather repeated code into loops, and recognize patterns that need to be looped. It should be noted that students will face puzzles with many different solutions. This will open up discussions on the various ways to solve puzzles with advantages and disadvantages to each approach.

Students will be able to:
- identify the benefits of using a loop structure instead of manual repetition.
- break down a long sequence of instructions into the largest repeatable sequence.
- employ a combination of sequential and looped commands to reach the end of a maze.

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: 2
2) Create an algorithm for other learners to follow.

Examples: Unplugged coding activities, illustrate sequence of a process such as baking a cake.

Unpacked Content
Evidence Of Student Attainment:
Students:
  • will develop a sequence of events related to a task that others can follow.
Teacher Vocabulary:
  • sequence
Knowledge:
Students know:
  • the sequence of events for a tasks are important.
  • sequence of events may be read and interpreted by other people or machines.
Skills:
Students are able to:
  • develop a sequence of events for a task that others can follow.
Understanding:
Students understand that:
  • a task can be broken down into a sequence of smaller events or steps.
Digital Literacy and Computer Science
DLIT (2018)
Grade: 2
3) Construct elements of a simple computer program using basic commands.

Examples: Digital block-based programming, basic robotics.

Unpacked Content
Evidence Of Student Attainment:
Students:
  • will drag and drop blocks of code to complete a task.
  • will run a program they develop using block based coding.
Teacher Vocabulary:
  • program
  • code
Knowledge:
Students know:
  • programming blocks represent a set of codes.
  • block based programs can be used to design a task.
  • block based programs can be interpreted by machines.
Skills:
Students are able to:
  • drag and drop blocks of code.
  • drag and drop blocks of code to complete a tasks.
  • run a block based program after sequencing tasks to complete a desired process.
Understanding:
Students understand that:
  • blocks of code can be moved around and combined into an order that completes a task or process.
  • sets of block coding can be run to perform the task/process.
Digital Literacy and Computer Science
DLIT (2018)
Grade: 2
4) Identify bugs in basic programming.

Examples: Problem-solving, trial and error.

Unpacked Content
Evidence Of Student Attainment:
Students:
  • will run a sequence of block based code and determine where there is an error.
  • will correct an error in block based code once it is identified.
Teacher Vocabulary:
  • debug
  • problem-solve
  • error
Knowledge:
Students know:
  • if sequence of code is not correct the task will not complete.
  • incorrect code can be identified and corrected.
Skills:
Students are able to:
  • create a small section of code for a task.
  • run the program to ensure the task is completed.
  • identify when there is an error in the code.
  • correct an error in the code through trial and error.
Understanding:
Students understand that:
  • when sets of block coding are combined to perform a task occassionally an error may occur.
  • when an error in code is identified the code may be rearranged, edited, or removed to correct the error.
Tags: algorithm, debug, loops, maze, problem solving, program
License Type: Custom Permission Type
See Terms: https://code.org/tos
For full descriptions of license types and a guide to usage, visit :
https://creativecommons.org/licenses
Accessibility
Comments
  This resource provided by:  
Author: Aimee Bates