Skip to main content
Mobile Menu
BVPS » Fourth Grade » 4.3

4.3

Algorithms and Programming

 
4.3 The student will analyze, correct, and improve (debug) an algorithm that includes sequencing, events, loops and variables.
 

Context of the Standard

In order to determine if an algorithm is an appropriate reflection of the steps that must occur in order to complete a task, the students should review the sequence of steps and any embedded loops that compose the algorithm to determine if it works as intended.  During the review stage, the design and implementation are checked for adherence to program requirements, correctness, and usability. This review could lead to changes in implementation and possibly design, which demonstrates the iterative nature of the process. If the algorithm does not work as intended, the students should determine what changes could be made to the algorithm in order to complete the task.  These changes may include adding, deleting, rearranging, or changing a step in order to obtain the intended outcome.

The process of revising a program so that is works as intended is called debugging.

 

Essential Skills

Essential Questions

Essential Vocabulary

Students should demonstrate these skills:

 

  • Describe how an algorithm did not work (e.g., character is not moving as intended).
  • Analyze a sequence of steps that is flawed and determine possible solution(s).
  • Implement a proposed adjustment to a sequence that did not work as intended.

Students should investigate these concepts:

 

  • If your algorithm is not working, how could you find the error?
  • Once you have found an error in your algorithm, how do you decide what adjustment needs to be made?
  • How can the order of your steps affect what happens?
  • What aspects of a variable could cause problems with your algorithms?

Students should apply these terms in context:

 

  • Bug
  • Debug

 

 

 

Related Subject SOLs

  • Language Arts 4.8 - Text Editing
  • Math 4.4 - Find mathematical mistakes in computation
 

Resources / Examples: