Analysis
There are four aspects that need to be identified when we analyse a problem in Higher. The aim of this is to build on analysis skills from National 5 that looked at purpose and functional requirements.
The fours aspects are:
Purpose
A general description of the what the software will do or be used for.
Scope
A list of the deliverables that will be handed to the client on completion of the project.
This will be the finished program but might also include other deliverables such as the design, testing and an evaluation.
The scope should also include details about the project timescale
Boundaries
The limits of the program defining what it will and won't do.
Functional Requirements
The features and functions of the program in terms of:
inputs
processes
outputs
Example
A program is required to:
read the names and IQs of 75 adults from a file
calculate and display the average IQ
find and display the name of person with the highest IQ
Purpose
The program is required to read the names and IQs of 75 adults from a file. It should calculate and display the average IQ, and find and display the name of person with the highest IQ.
Boundaries
Data (name and IQ) will be read from a CSV file
Data will be accurate - no input validation required
The only outputs will be the average IQ, and the name and IQ of the person with the highest IQ
Output will be to screen only - no requirement to print or save
Functional Requirements
Inputs
Name
IQ
Processes
Calculate the average IQ
Find the person with the highest IQ
Outputs
Average IQ
Name and IQ of person with the highest IQ