SDD - Theory Flashcards
Name the 6 phases of the software development process in order
Analysis
Design
Implementation
Testing
Documentation
Evaluation.
Explain why the software development process in iterative?
The software development process is iterative because because stages can be revisited if mistakes or issues are found e.g. after testing the process may return to the implementation stage to fix any programming errors, or the design stage to fix any design errors.
What happens in the Analysis stage of the software development process
In the Analysis phase will determine:
1) The purpose of the software - what the software will be used for
2) The functional requirements of the software - this will specify inputs, processes and outputs.
Identify the functional requirements: Software should be created to allow a user to enter ten numbers. Each number must be validated to make sure that it is no less than 0 and no more than 100. The program should keep a running total of the numbers entered and output the final total.
Inputs:
Ten numbers
Process:
Validate ten numbers
Calculate total
Outputs:
Total
Identify the functional requirements: The owners of a theme park have asked that a program be developed to record the average number of visitors in a week. A user will enter the total number of visitors for each day of the week. The program should then output the average number of visitors across the week.
Inputs:
Daily total
Process:
Calculate average
Outputs:
Average
Identify the functional requirements: A program is to be developed to create usernames for a class of twenty pupils. The program will ask a teacher to enter the first name, surname and age of each pupil. The age entered must be between five and eighteen. The program should output a list of usernames for the teacher.
Inputs:
Pupil first name
Pupil surname
Pupil age
Process:
Create username
Validate age
Outputs:
List of usernames
Name 2 common assumptions from the analysis phase
The client has hardware needed to run the software
No software compatibility concerns
No issues with internet connection/ accessibility during use
IT competency of the target user group
List the 5 Data Types you need to know for National 5 Computing
Character
String
Integer
Real/Float
Boolean
Name the appropriate data
type for a students grade. e.g. A, B, C, D, U and explain your choice.
Character - Student grade is stored as a single character
Name the appropriate data
type for number of students going on a trip, and explain your choice.
Integer - you can not have part of a student going on a trip therefore the datatype should be a whole number
Name the appropriate data
type for the price of a item in a supermarket, and explain your choice.
Real Number - The price of items in a supermarket has a decimal point e.g. 1.99 therefore real is the appropriate choice
Name the appropriate data type for the name of a supermarket product , and explain your choice.
String - The name of the product is a string of characters e.g “pepsi”
Name the appropriate data type to record if a student in going on a trip, and explain your choice.
Boolean - The answer to the question is either yes/no or true/false therefore this is the appropriate data type
What is the name of the data structure you need to know for National 5 Computing
1 D Array or 1 dimensional Array
A program is required to store the temperature for each day of the week. Temperatures are recorded to 1 decimal place.
State which data structure would be used in this program.
1 D Array or a 1 D Array of real numbers