Grade K CT: Debugging with Bee-Bot Emulator (SF)

Grade KComputational Thinker Debugging with Bee-Bot Emulator

Overview

Today I will learn how to write lines of code and debug, or fix code that has mistakes.

Motivation

STEP 1.

Let's Review

  Directions: Go to Slide 2 and select the play button to begin BBC Learning - What are Computer Bugs. Links to an external site. As you view this video, think about how you debugged nursery rhymes last week.

**Note: Closed Captioning may not display when using the Firefox browser.

 

Lesson

STEP 2.

  Directions: Let's practice completing some code with Bee-Bot together first.  We are going to solve six puzzles together to help Bee-Bot get where he is trying to go! Can you help your teacher Finish the Code Links to an external site. to get Bee-Bot to the shapes?

Finish the Code - Wixie Activity Links to an external site.


STEP 3.

  Directions: Take a look at the Bee-Bot Emulator Links to an external site. board below.  Bee-Bot is trying to get to the rainbow.  The code is not working! Can you help your teacher debug the code to get Bee-Bot to the rainbow successfully?

Screenshot of Bee-Bot Emulator showing code that needs to be debugged to get to the rainbow.

 

Activity

STEP 4.

Directions: Now it's your turn to Debug using the Emulator with a partner. Your teacher will give you 4 Debugging practice problems to solve using the Emulator.  

  • Select the link to go to the Bee-Bot Emulator (Links to an external site.) website.
  • Next to Select your Mat in the top left, select the CVC Words Mat.
    • Bee-Bot Emulator with Select Your Mat dropdown selected and CVC Words Mat highlighted.
  • Input the incorrect code and select go to see what happens.
    • Image of Debugging with Emulator Practice Worksheet: Can you Debug the Code to Reach the Coffee Cup?
  • Then debug the code so that Bee-Bot can safely reach his destination.
  • Record the debugged code on your Worksheet.
    • Screenshot of Debugging with Emulator Practice Worksheet: Write your Debugged Code Here with five empty boxes below.
  • Remember you may have to use the clear code and home command. 

How many of the Debugging Practices can you solve?

 Select the Next Page button at the bottom of the page to complete your Wixie assignment.

Screenshot of next button

  This course content is offered under a  CC Attribution Non-Commercial Share Alike Links to an external site. license. Content in this course can be considered under this license unless otherwise noted.