# ALEX Classroom Resource

## Computer Science Fundamentals Unit 7 Course F Lesson 4: Debugging With Scrat (2018)

Classroom Resource Information

Title:

Computer Science Fundamentals Unit 7 Course F Lesson 4: Debugging With Scrat (2018)

URL:

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

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

Debugging is an essential element of learning to program. In this lesson, students will encounter puzzles that have been solved incorrectly. They will need to step through the existing code to identify errors, including incorrect loops, missing blocks, extra blocks, and blocks that are out of order.

Students in your class might become frustrated with this lesson because of the essence of debugging. Debugging is a concept that is very important to computer programming. Computer scientists have to get really good at facing the bugs in their own programs. Debugging forces the students to recognize problems and overcome them while building critical thinking and problem-solving skills.

Students will be able to:
- predict where a program will fail.
- modify an existing program to solve errors.
- reflect on the debugging process in an age-appropriate way.

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 28) Develop, test, and refine prototypes as part of a cyclical design process to solve a complex problem. Examples: Design backpack for a specific user's needs; design a method to collect and transport water without the benefit of faucets; design boats that need to hold as much payload as possible before sinking; design models of chairs based on specific user needs. Unpacked Content Evidence Of Student Attainment:Students will: develop prototypes as part of a cyclical design process to solve a complex problem. test prototypes as part of a cyclical design process to solve a complex problem. refine prototypes as part of a cyclical design process to solve a complex problem.Teacher Vocabulary:develop test refine prototypes cyclical design processKnowledge:Students know: how to use the design process to solve a complex problem. strategies for creating a prototype as part of a cyclical design to solve a problem. strategies for testing and refining prototypes as part of a cyclical design process to solve a complex problem. characteristics of a cyclical design process.Skills:Students are able to: develop, test, and refine prototypes as part of a cyclical design process to solve a complex problem.Understanding:Students understand that: developing, testing, and refining are necessary steps in creating an effective prototype.
Tags: bug, debugging, Ice Age, problem solving process, Scrat