Identifying Functional Requirements (SQA National 5 Computing Science): Revision Note

Exam code: X816 75

Robert Hampton

Written by: Robert Hampton

Reviewed by: James Woodhouse

Updated on

The analysis phase

  • In Software Design and Development (SDD), the analysis phase identifies what a program must do

  • This involves defining the functional requirements of the problem

  • Functional requirements describe the inputs, processes, and outputs needed to solve the problem

Inputs

What is an input?

  • An input is data or information the program receives before it is processed

  • Inputs can come from a variety of sources, such as:

    • Users – keyboard, mouse, controller, microphone

    • Sensors – temperature, pressure, movement

Processes

What is a process?

  • A process is an action or calculation that transforms inputs into outputs

  • The CPU executes the instructions that define the process

  • Common examples include:

    • Comparing two numbers

    • Calculating an average

    • Sorting or searching data

Outputs

What is an output?

  • An output is the result of the processing in a program

  • Outputs show whether the program works as intended

  • Outputs can include:

    • Numbers – results of calculations

    • Text – displayed messages or information

    • Images or sounds – visual or audio feedback

    • Actions – triggering another event or process

Example 1 - Area of a shape

  • A user wants to write a program to calculate the area of a shape

Input

Process

Output

  • Length

  • Width

  • Length X width

  • Area

Example 2 - Average test score

  • A teacher wants to calculate the average mark achieved on a test amongst students in a class

  • The teacher needs to enter how many students in the class and for each students a score out of 50

Input

Process

Output

  • Number of students

  • Score per student

  • TotalScore = TotalScore + score per student

  • Average = TotalScore / Number of students

  • Average mark

Examiner Tips and Tricks

  • Always write functional requirements under clear Input, Process, and Output headings

  • Focus on what the program must do, not how it looks

  • Use specific, clear statements that show understanding of the analysis phase

Worked Example

A 9-hole golf course is introducing an app to replace paper scorecards.

The total score is the number of times the player hits the ball to complete all 9 holes.

Below is an example of a paper scorecard that a player has filled in.

Golf scorecard for Sanya Abioye dated 25/5/2023. Scores for 9 holes range from 3 to 9 with a total score of 46.

Complete the analysis for the app by identifying the inputs and the output.

Input

Process

Add up the scores

Output

[2]

Answer

One mark each for:

  • Three inputs - score (for each hole) - name - date [1 mark]

  • Output - total score [1 mark]

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Robert Hampton

Author: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

James Woodhouse

Reviewer: James Woodhouse

Expertise: Computer Science & English Subject Lead

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.