
N5 SDD Revision
Presentation
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Tracy Mutter
Used 2+ times
FREE Resource
8 Slides • 29 Questions
1
S4 SDD Revision
2
Software Design and Development
We need to be able to answer questions on each stage of the development process:
◦ Analysis – input, process and output
◦ Design – pseudocode algorithms, flowcharts and structure diagrams
◦ Implementation – all the code
◦ Testing – test data and types of error
◦ Evaluation – fitness for purpose, efficiency, robustness, readability
3
Multiple Choice
A program is to be created to allow users to calculate their BMI
Body Mass Index (BMI) is a way to measure if your weight is in a healthy range for your height. BMI is calculated using the formula weight in kg divided by the square of your height in meters BMI = kg/m2
What would be the inputs for this program?
BMI
BMI
Height
Weight
Height
Weight
4
Multiple Choice
A program is to be created to allow users to calculate their BMI
Body Mass Index (BMI) is a way to measure if your weight is in a healthy range for your height. BMI is calculated using the formula weight in kg divided by the square of your height in meters BMI = kg/m2
What would be the output for this program?
BMI
BMI
Height
Weight
Height
Weight
5
Multiple Choice
A program is to be created to allow users to calculate their BMI
Body Mass Index (BMI) is a way to measure if your weight is in a healthy range for your height. BMI is calculated using the formula weight in kg divided by the square of your height in meters BMI = kg/m2
What would be the process for this program?
Multiply height and weight
Divide height by weight squared
Divide weight by height squared
6
Open Ended
What type of design is shown?
7
Open Ended
What type of design is shown?
8
Open Ended
What type of design is shown?
9
Multiple Choice
Which would be an appropriate data type for forename?
text
integer
string
boolean
10
Multiple Choice
Which would be an appropriate data type for BMI?
text
integer
string
boolean
11
Multiple Choice
Which would be an appropriate data type for height?
float
character
string
boolean
12
Data Structures
We have 2 data structures
Variable - stores one piece of data
Array - stores a set number of data, always the same data type
13
Multiple Choice
The BMI program is extended to store a user's BMI once a month for a year. Which data structure should be used to store the 12 values?
variable
array
loop
algorithm
14
Multiple Choice
The BMI program is extended to store a user's BMI once a month for a year. Which declaration would create a data structure to hold these 12 values?
BMI = (12)
BMI = 0(12)
BMI = (0*12)
BMI =(0)*12
15
Multiple Choice
The BMI program is extended to store a user's BMI once a month for a year. Which declaration would create a data structure to hold these 12 values?
Array of Intergers (12)
Array of real (12)
16
Standard Algorithms
We have 3 standard algorithms
Traversing a 1D Array
Input Validation
Running Total (within a loop)
17
Multiple Choice
Which algorithm is shown?
Traversing a 1D Array
Input Validation
Running Total
18
Multiple Choice
Which algorithm is shown?
Traversing a 1D Array
Input Validation
Running Total
19
Multiple Choice
Which algorithm is shown?
Traversing a 1D Array
Input Validation
Running Total
20
Predefined Functions
These are prewritten snippets of code designed to perform a specific function. They save time as they are already written, do not need tested or coded and can be used over and over again.
We need to know:-
Round - numerial function that will round to nearest whole number
Random - numerical fnction that selects a number between two parameters
Len - string function that counts the number of characters
21
Multiple Choice
Which predefined function is used in this program?
Round
Random
Length
22
Multiple Choice
Which predefined function is used in this program?
Round
Random
Length
23
Multiple Choice
Which predefined function is used in this program?
Round
Random
Length
24
Multiple Choice
The averageBMI should be rounded to 2 decimal places. Which line of could would achieve this?
averageBMI = round(averageBMI)
averageBMI = round(averageBMI,0.00)
averageBMI = round(averageBMI,2)
averageBMI = round(averageBMI,2dp)
25
Testing
Once we have coded our programs we then need to test them.
We test for the following circumstances
Normal
Extreme
Exceptional
26
Multiple Choice
In the adult BMI calculation program. Test data of 18 is entered for age.
What is that an example of?
Normal
Extreme
Exceptional
27
Multiple Choice
In the BMI calculation program. Test data of 28 is entered for age.
What is that an example of?
Normal
Extreme
Exceptional
28
Multiple Choice
In the BMI calculation program. Test data of "twenty four" is entered for age.
What is that an example of?
Normal
Extreme
Exceptional
29
Error Types
Whilst testing we are also check ign for the following types of errors
logic
syntax
execution (run time)
30
Multiple Choice
Which error has stopped this program from running?
If age <18
print("Invalid age!")
logic
syntax
execution
31
Multiple Choice
The program runs and can return correct results but, when a user repeatedly enters 0 as their weight, the program crashes. Which type of error is this?
logic
syntax
execution
32
Multiple Choice
The program runs and can return correct results but the expected values do not match the actual output.
Which kind of error is this?
logic
syntax
execution
33
Program Evaluation
Our programs are evaluated against
Fitness for purpose
Efficiency
Robustness
Readability
34
Multiple Choice
Check that the code uses meaningful variable names, has internal commentary and leaves white space to separate parts of the code.
What is being evaluated here?
Fitness for purpose
Efficiency
Robustness
Readability
35
Multiple Choice
The program can accurately calculate, store and display a user's BMI.
Fitness for purpose
Efficiency
Robustness
Readability
36
Multiple Choice
The code uses arrays to store data and loops to carry out repeated sections of code.
Fitness for purpose
Efficiency
Robustness
Readability
37
Multiple Choice
If zero is entered for weight, the program will crash.
Fitness for purpose
Efficiency
Robustness
Readability
S4 SDD Revision
Show answer
Auto Play
Slide 1 / 37
SLIDE
Similar Resources on Wayground
32 questions
Output Devices
Presentation
•
10th - 11th Grade
33 questions
องค์ประกอบของดปรแกรมภาษาคอมฯและขั้นตอนการแก้ปัญหา หน่วยที่ 2
Presentation
•
10th Grade
35 questions
Properties of a Well-Written Text
Presentation
•
11th - 12th Grade
33 questions
Subroutines
Presentation
•
10th Grade
30 questions
Universal Law of Gravitation
Presentation
•
11th Grade
33 questions
Server Side Programming
Presentation
•
11th Grade
33 questions
Routing
Presentation
•
11th Grade
30 questions
Lesson 5 EAPP
Presentation
•
11th Grade
Popular Resources on Wayground
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
30 questions
GVMS House Trivia 2026
Quiz
•
6th - 8th Grade