

Pseudocode
Presentation
•
Computers
•
12th Grade
•
Easy
Used 97+ times
FREE Resource
10 Slides • 6 Questions
1
Pseudocode Algorithms
Testing and debugging

2
Lesson Objectives:
Students should be able to:
interpret algorithms from case problems.
correct algorithms from case problems.
develop algorithms from case problems.
3
Introduction
Examine the algorithms and answer the questions that follow.
4
Poll
Which of the algorithms illustrates unbounded iteration?
Algorithm 1
Algorithm 2
5
Poll
Which of the algorithms illustrates bounded iteration?
Algorithm 1
Algorithm 2
6
Open Ended
Explain how the loop in algorithm 1 is expected to terminate.
7
Open Ended
Explain how the loop in algorithm 2 is expected to terminate.
8
What is testing?
Testing is the process of verifying and validating that a software or application is bug free, meets the technical requirements as guided by its design and development and meets the user requirements effectively and efficiently with handling all the exceptional and boundary cases.
9
What is debugging?
Debugging is the process of fixing a bug in the software. It can defined as the identifying, analyzing and removing errors. This activity begins after the software fails to execute properly and concludes by solving the problem and successfully testing the software. It is considered to be an extremely complex and tedious task because errors need to be resolved at all stages of debugging.
10
The following are methods used to test that software meets the requirements for which it was designed.
Doing a structured Walkthrough
Creating a tracetable
11
Structured Walkthrough
A structured walkthrough is a static testing technique performed in an organized manner between a group of peers to review and discuss the technical aspects of software development process. The main objective in a structured walkthrough is to find defects in order to improve the quality of the product.
12
Trace table
A trace table is a technique used to test algorithms or computer programs for logic errors that occur while the program or algorithm is executing.
13
Question Example
What would the algorithm print given the following line of input data?
5 3 2 6 12 4
14
Open Ended
Input your response here:
15
16
Open Ended
Input your response here:
Pseudocode Algorithms
Testing and debugging

Show answer
Auto Play
Slide 1 / 16
SLIDE
Similar Resources on Wayground
11 questions
Minecraft Education
Presentation
•
12th Grade
12 questions
Security Operations
Presentation
•
12th Grade
12 questions
Personal Financial Planning
Presentation
•
12th Grade
12 questions
Verb Patterns
Presentation
•
12th Grade
10 questions
Geometry - Lesson Transformations
Presentation
•
12th Grade
12 questions
Cover Letter
Presentation
•
12th Grade
11 questions
Robotics
Presentation
•
University
12 questions
Prepositions
Presentation
•
3rd Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade