
Trace Tables
Presentation
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Medium
Calum Gordon
Used 41+ times
FREE Resource
14 Slides • 11 Questions
1
Trace Tables
by BSN Computing
2
3
4
Multiple Select
In this lesson I am going to learn to ... ?
Determine the values of variables by tracing an algorithm
Determine the output of an algorithm
Determine the input to an algorithm
Determine test data to test an algorithm
5
6
Multiple Choice
What is the purpose of a trace table?
To help the programmer track the values of variables
To provide the programmer with a set of test data
To show the control flow of a program
To fill the programmer's time with meaningless tasks
7
8
Multiple Select
Choose all the columns that should be inserted into a trace table?
variables
output
loop conditions or counters
constants
9
Multiple Choice
Which column headings are needed to trace this program?
count
number
count != 0
output
count
number
output
count
number
count != 0
count
number
10
Multiple Choice
Which column headings are needed to trace this program?
index < length?
index
length
total
output
index
length
total
output
index < length?
index
length
total
index
length
total
11
12
13
14
15
16
17
18
Multiple Choice
The most common use of trace tables is to _______
Find logic errors in the algorithm
Test input data
Waste the programmer's time
Correct syntax errors in the program
19
20
Multiple Choice
Which one is NOT a reason for using a trace table to trace an algorithm?
Find errors in the algorithms
Show that the algorithm gives correct output for a given input
Determine the purpose of the algorithm
To validate the input data
21
Multiple Choice
An algorithm that manipulates sales figures is shown.
The first four values in the data structure SalesFile are 355, 554, 199, and 409.
Which trace table shows the correct execution of the pseudocode for these four values?
22
23
Multiple Select
In this lesson I have learned to ...
use trace tables
identify the purpose of trace tables
debug algorithms
create test data for an algorithm
24
Open Ended
Thinking Hard
Write a set of step-by-step instructions to guide a student how to trace an algorithm using a trace table
(press Shift+Enter to take a new line ...)
25
Poll
How much of this lesson have you understood?
None of it
Some of it
Most of it
All of it
Trace Tables
by BSN Computing
Show answer
Auto Play
Slide 1 / 25
SLIDE
Similar Resources on Wayground
20 questions
Two's Complement (2)
Presentation
•
9th - 10th Grade
18 questions
Hak Atas Kekayaan Intelektual (HAKI)
Presentation
•
10th Grade
20 questions
Online Essentials - Revision Lesson 1
Presentation
•
10th Grade
18 questions
Author's Purpose
Presentation
•
9th - 10th Grade
22 questions
Rock-paper-scissors (microbit)
Presentation
•
9th Grade
20 questions
Renaissance Europe
Presentation
•
9th - 10th Grade
20 questions
Ancient Greece & Western Civilization
Presentation
•
9th - 10th Grade
19 questions
The French Revolution (Intro)
Presentation
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Inventor Terms Exercise #1a
Quiz
•
9th Grade
31 questions
Inventor Vocabulary Review Sheet
Quiz
•
9th Grade
10 questions
Exploring Cybersecurity Techniques and Threats
Interactive video
•
6th - 10th Grade