Search Header Logo
Pseudocode

Pseudocode

Assessment

Presentation

Computers

12th Grade

Easy

Used 97+ times

FREE Resource

10 Slides • 6 Questions

1

Pseudocode Algorithms

Testing and debugging

Slide image

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.

Slide image

4

Poll

Question image

Which of the algorithms illustrates unbounded iteration?

Algorithm 1

Algorithm 2

5

Poll

Question image

Which of the algorithms illustrates bounded iteration?

Algorithm 1

Algorithm 2

6

Open Ended

Question image

Explain how the loop in algorithm 1 is expected to terminate.

7

Open Ended

Question image

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

Slide image

14

Open Ended

Input your response here:

15

Slide image

16

Open Ended

Input your response here:

Pseudocode Algorithms

Testing and debugging

Slide image

Show answer

Auto Play

Slide 1 / 16

SLIDE