SDD - Theory Flashcards

1
Q

Name the 6 phases of the software development process in order

A

Analysis
Design
Implementation
Testing
Documentation
Evaluation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain why the software development process in iterative?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens in the Analysis stage of the software development process

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

Inputs:
Ten numbers

Process:
Validate ten numbers
Calculate total

Outputs:
Total

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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.

A

Inputs:
Daily total

Process:
Calculate average

Outputs:
Average

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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.

A

Inputs:
Pupil first name
Pupil surname
Pupil age

Process:
Create username
Validate age

Outputs:
List of usernames

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name 2 common assumptions from the analysis phase

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List the 5 Data Types you need to know for National 5 Computing

A

Character
String
Integer
Real/Float
Boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name the appropriate data
type for a students grade. e.g. A, B, C, D, U and explain your choice.

A

Character - Student grade is stored as a single character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name the appropriate data
type for number of students going on a trip, and explain your choice.

A

Integer - you can not have part of a student going on a trip therefore the datatype should be a whole number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Name the appropriate data
type for the price of a item in a supermarket, and explain your choice.

A

Real Number - The price of items in a supermarket has a decimal point e.g. 1.99 therefore real is the appropriate choice

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Name the appropriate data type for the name of a supermarket product , and explain your choice.

A

String - The name of the product is a string of characters e.g “pepsi”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Name the appropriate data type to record if a student in going on a trip, and explain your choice.

A

Boolean - The answer to the question is either yes/no or true/false therefore this is the appropriate data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the name of the data structure you need to know for National 5 Computing

A

1 D Array or 1 dimensional Array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.

A

1 D Array or a 1 D Array of real numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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.

A