
S3 SDD - Testing & Evaluation
Presentation
•
Computers
•
3rd Grade
•
Practice Problem
•
Medium
G Alexander-Doyle
Used 4+ times
FREE Resource
12 Slides • 4 Questions
1
Testing and evaluation
S3 Software Design & Development
2
Testing and evaluation
Lesson objectives
We are learning how to test and evaluate a basic calculation program
Success criteria
I can create a test table for a basic calculation program
I can evaluate a program's readability and fitness for purpose
3
Testing a program
Once a program has been implemented, it must be tested to ensure it doesn't contain any errors.
Question!
What would happen if a software development team were to hand over an untested piece of software to a client?
4
Testing a program
A program should be thoroughly tested by first drawing up a testing table, this details expected and actual results along with giving the testing team a place to make comments when the software is tested. It allows the development team to record the results of running tests on the software.
Test data | Expected result | Actual result | Comment |
|---|---|---|---|
| | | |
| | | |
| | | |
5
Practical task
Open a new Word document, place a heading with Testing at the top of the page and create the table below. There are 4 rows and columns.
Test data | Expected result | Actual result | Comment |
|---|---|---|---|
| | | |
| | | |
| | | |
Populate the first column entitled test data. Think about the inputs the user will be entering into your program.
6
Fill in the Blanks
Type answer...
7
Practical task
Calculate the expected results from your test data and populate the Expected result column.
Test data | Expected result | Actual result | Comment |
|---|---|---|---|
MathsScore = 15 EnglishScore = 25 ComputingScore = 20 | | | |
MathsScore = 20 EnglishScore = 10 ComputingScore = 25 | | | |
MathsScore = 25 EnglishScore = 25 ComputingScore = 25 | | | |
8
Practical task
Run your program with the test data you created and populate the Actual result column.
Test data | Expected result | Actual result | Comment |
|---|---|---|---|
MathsScore = 15 EnglishScore = 25 ComputingScore = 20 | AverageScore = 20 | | |
MathsScore = 20 EnglishScore = 10 ComputingScore = 25 | AverageScore = 18.3 | | |
MathsScore = 25 EnglishScore = 25 ComputingScore = 25 | AverageScore = 25 | | |
9
Practical task
Run your program with the test data you created and populate the Comment column.
Test data | Expected result | Actual result | Comment |
|---|---|---|---|
MathsScore = 15 EnglishScore = 25 ComputingScore = 20 | AverageScore = 20 | Average Score = 20.0 | |
MathsScore = 20 EnglishScore = 10 ComputingScore = 25 | AverageScore = 18.3 | Average Score = 18.333333333333332 | |
MathsScore = 25 EnglishScore = 25 ComputingScore = 25 | AverageScore = 25 | Average Score = 25.0 | |
10
Evaluation
Once a program has been thoroughly tested it should be evaluated. A piece of software is usually evaluated on whether:
it is fit for purpose
it is readable
it uses coding constructs efficiently
it is robust
We will concentrate on fitness for purpose and code readability!
11
Evaluation - Fitness for purpose
Software is deemed fit for purpose if it meets the requirements determined at the analysis phase. The original purpose and functional requirements can be used to decide if a program is fit for purpose.
It is often necessary to look at test table data to ensure the software is working as expected.
If software is not fit for purpose, it will be necessary to revisit previous phases of the development process. This is why the software development process is sometimes describes as iterative.
12
Open Ended
Describe the term iterative in relation to the software development process.
13
Evaluation - Code readability
During the software development process numerous different teams may be involved in writing the software's code. It is therefore important to ensure that programming code is readable and can be understood by a programmer other than the person who wrote it. Program code can be made readable by ensuring the following are used:
meaningful variable names
internal commentary
white space
indentation
14
Evaluation - Code readability
Program 1
Program 2
15
Draw
Identify the features which make this program code readable.
16
Open Ended
Evaluate whether you believe your program to be fit for purpose and readable.
Testing and evaluation
S3 Software Design & Development
Show answer
Auto Play
Slide 1 / 16
SLIDE
Similar Resources on Wayground
13 questions
STREAM Project- test-improve
Presentation
•
4th Grade
10 questions
Whole Number Estimation
Presentation
•
4th Grade
10 questions
Revising Practice - STAAR
Presentation
•
4th Grade
12 questions
Text Structure
Presentation
•
4th Grade
12 questions
EXT4 - S16 - Pronunciation
Presentation
•
3rd Grade
11 questions
Sequence and Cause & Effect
Presentation
•
3rd - 4th Grade
11 questions
HARDWARE & SOFTWARE
Presentation
•
3rd Grade
11 questions
REAL LIFE ADDITION
Presentation
•
3rd Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade
Discover more resources for Computers
5 questions
A Home on the Shore
Quiz
•
3rd Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
5 questions
Dramatic Dream
Quiz
•
3rd Grade
10 questions
Area
Quiz
•
3rd Grade
10 questions
3rd grade Context Clues
Quiz
•
2nd - 3rd Grade
20 questions
Parts of Speech
Quiz
•
3rd Grade
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...