ALEX Classroom Resources

ALEX Classroom Resources  
   View Standards     Standard(s): [DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 13 :
7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Examples: Sequencing cards for unplugged activities, online coding practice.

[DLIT] (4) 10 :
4) Detect and debug logical errors in various basic algorithms.

Example: Trace the path of a set of directions to determine success or failure.

Subject: Digital Literacy and Computer Science (3 - 4)
Title: Bug in the Water Cycle
URL: https://www.barefootcomputing.org/resources/bug-in-the-water-cycle
Description:

In this activity, pupils are challenged to detect and correct the error in a number of water cycle programs (debugging). They use logical reasoning to do this, comparing what the program should do with what it does do, and systematically homing in on the error (bug) by ‘thinking through’ the code in the program.

PUPIL OBJECTIVES:
I can use logical reasoning to debug a program.
I can explain how I debugged a program.


TEACHING ASSESSMENT OPPORTUNITIES:
Informal teacher assessment of pupils as they tackle the debugging challenge: focus on pupils’ logical approach and ability to explain the bugs they found, why they are bugs and how they corrected them.
Summative assessment of pupils’ debugging challenge sheets.



   View Standards     Standard(s): [DLIT] (3) 9 :
3) Explain that different solutions exist for the same problem or sub-problem.

Example: Multiple paths exist to get home from school; one may be a shorter distance while one may encounter less traffic.

[DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 13 :
7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Examples: Sequencing cards for unplugged activities, online coding practice.

Subject: Digital Literacy and Computer Science (3)
Title: Computer Science Fundamentals Unit 5 Course D Lesson 2: Introduction to Online Puzzles (2018)
URL: https://curriculum.code.org/csf-18/coursed/2/
Description:

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 Maze. From there, students will see new types of puzzles like Collector, Artist, and Harvester when they learn the very basics of loops.

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 this "Ramp Up Stage" for Course D. This can be used as either an introduction or a review of how to use Code.org and basic computer science concepts. This stage covers all prerequisites needed to start Course D.

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.



   View Standards     Standard(s): [DLIT] (3) 9 :
3) Explain that different solutions exist for the same problem or sub-problem.

Example: Multiple paths exist to get home from school; one may be a shorter distance while one may encounter less traffic.

[DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 11 :
5) Create an algorithm to solve a problem as a collaborative team.

Examples: Move a character/robot/person through a maze. List steps to build a sandwich.

[DLIT] (3) 13 :
7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Examples: Sequencing cards for unplugged activities, online coding practice.

[DLIT] (3) 29 :
23) Implement the design process to solve a simple problem.

Examples: Uneven table leg, noise in the cafeteria, tallying the collection of food drive donations.

Subject: Digital Literacy and Computer Science (3)
Title: Computer Science Fundamentals Unit 5 Course D Lesson 4: Debugging with Laurel (2018)
URL: https://curriculum.code.org/csf-18/coursed/4/
Description:

In this online activity, students will practice debugging in the "collector" environment. Students will get to practice reading and editing code to fix puzzles with simple algorithms, loops, and nested loops.

The purpose of this lesson is to teach students that failure is normal when learning a new skill. Students will be given pre-written programs that do NOT work. They will be asked to fix these programs. This process, called "debugging", teaches students essential problem solving and critical thinking skills. These skills transfer over as students proceed to harder and harder programming projects.

Students will be able to:
- read and comprehend the given code.
- identify a bug and the problems it causes in a program.
- describe and implement a plan to debug a program.

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



   View Standards     Standard(s): [DLIT] (3) 6 :
R6) Produce, review, and revise authentic artifacts that include multimedia using appropriate digital tools.

[DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 11 :
5) Create an algorithm to solve a problem as a collaborative team.

Examples: Move a character/robot/person through a maze. List steps to build a sandwich.

[DLIT] (3) 13 :
7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Examples: Sequencing cards for unplugged activities, online coding practice.

[DLIT] (3) 29 :
23) Implement the design process to solve a simple problem.

Examples: Uneven table leg, noise in the cafeteria, tallying the collection of food drive donations.

Subject: Digital Literacy and Computer Science (3)
Title: Computer Science Fundamentals Unit 5 Course D Lesson 6: Loops in Ice Age (2018)
URL: https://curriculum.code.org/csf-18/coursed/6/
Description:

As a quick update (or introduction) to using loops, this stage will have students using the repeat block to get Scrat to the acorn more efficiently.

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 these Code.org puzzles, students will learn to add instructions to existing loops, gather repeated code into loops, and recognize patterns that need to be repeated.

Students will be able to:
- construct a program using structures that repeat areas of code.
- improve existing code by finding areas of repetition and moving them into looping structures.

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



   View Standards     Standard(s): [DLIT] (3) 8 :
2) Analyze a given list of sub-problems while addressing a larger problem.

Example: Problem - making a peanut butter sandwich; sub-problem - opening jar, finding a knife, getting the bread.
Problem - design and share a brochure; sub-problem - selecting font, choosing layout.

[DLIT] (3) 9 :
3) Explain that different solutions exist for the same problem or sub-problem.

Example: Multiple paths exist to get home from school; one may be a shorter distance while one may encounter less traffic.

[DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 29 :
23) Implement the design process to solve a simple problem.

Examples: Uneven table leg, noise in the cafeteria, tallying the collection of food drive donations.

Subject: Digital Literacy and Computer Science (3)
Title: Computer Science Fundamentals Unit 5 Course D Lesson 13: Conditionals With Cards (2018)
URL: https://curriculum.code.org/csf-18/coursed/13/
Description:

This lesson demonstrates how conditionals can be used to tailor a program to specific information. We don’t always have all of the information we need when writing a program. Sometimes you will want to do something different in one situation than in another, even if you don't know what situation will be true when your code runs. That is where conditionals come in. Conditionals allow a computer to make a decision, based on the information that is true any time your code is run.

One of the best parts of teaching conditionals is that students already understand the concept from their everyday lives.

This lesson merges computer science into the real world by building off of students ability to tell if a condition is true or false. Students will learn to use if statements to declare when a certain command should be run, as well as if/else statements to declare when a command should be run and what do run otherwise. Students may not recognize the word conditionals, but most students will understand the idea of using "if" to make sure that some action only occurs when it is supposed to.

Students will be able to:
- define circumstances when certain parts of a program should run and when they shouldn't.
- determine whether a conditional is met based on criteria.
- traverse a program and predict the outcome, given a set of input.

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



   View Standards     Standard(s): [DLIT] (3) 9 :
3) Explain that different solutions exist for the same problem or sub-problem.

Example: Multiple paths exist to get home from school; one may be a shorter distance while one may encounter less traffic.

[DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 13 :
7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Examples: Sequencing cards for unplugged activities, online coding practice.

[DLIT] (3) 29 :
23) Implement the design process to solve a simple problem.

Examples: Uneven table leg, noise in the cafeteria, tallying the collection of food drive donations.

Subject: Digital Literacy and Computer Science (3)
Title: Computer Science Fundamentals Unit 5 Course D Lesson 14: If/Else With Bee (2018)
URL: https://curriculum.code.org/csf-18/coursed/14/
Description:

Up until this point, students have been writing code that executes exactly the same way each time it is run - reliable, but not very flexible. In this lesson, your class will begin to code with conditionals, allowing them to write code that functions differently depending on the specific conditions the program encounters.

After being introduced to conditionals in "Conditionals with Cards", students will now practice using them in their programs. The if / else blocks will allow for a more flexible program. The bee will only collect nectar if there is a flower or make honey if there is a honeycomb. Students will also practice and recognize a connection between if / else blocks and while loops in this set of puzzles.

Students will be able to:
- translate spoken language conditional statements into a program.
- solve puzzles using a combination of looped sequences and conditionals.

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



   View Standards     Standard(s): [DLIT] (0) 7 :
1) List the sequence of events required to solve problems.

Examples: Tying shoes, making a sandwich, brushing teeth.

[DLIT] (1) 8 :
2) Order events into a logical sequence or algorithm.

Examples: Unplugged coding activities, sequence of instruction.

[DLIT] (2) 8 :
2) Create an algorithm for other learners to follow.

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

[DLIT] (3) 8 :
2) Analyze a given list of sub-problems while addressing a larger problem.

Example: Problem - making a peanut butter sandwich; sub-problem - opening jar, finding a knife, getting the bread.
Problem - design and share a brochure; sub-problem - selecting font, choosing layout.

[DLIT] (3) 10 :
4) Examine logical reasoning to predict outcomes of an algorithm.

[DLIT] (3) 11 :
5) Create an algorithm to solve a problem as a collaborative team.

Examples: Move a character/robot/person through a maze. List steps to build a sandwich.

[DLIT] (4) 8 :
2) Formulate a list of sub-problems to consider while addressing a larger problem.

Examples: Problem - a multi-step math problem; sub-problem - steps to solve.
Problem - light bulb does not light; sub-problem - steps to resolve why.

[DLIT] (4) 10 :
4) Detect and debug logical errors in various basic algorithms.

Example: Trace the path of a set of directions to determine success or failure.

[DLIT] (5) 8 :
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.

Subject: Digital Literacy and Computer Science (K - 5)
Title: Introducing Algorithms
URL: https://community.computingatschool.org.uk/files/8221/original.pdf
Description:

In this activity students work in small groups to write the steps to an everyday task or the steps in a "how to" scenario.  The steps the groups write serve as an algorithm.  The groups will then swap their writing for the teams to now "debug" each other's work to make the steps more precise.  

This activity was demonstrated during the Exploring Today's Classroom (ETC) Summit.



ALEX Classroom Resources: 7

Go To Top of page