Paper 2 Flashcards

1
Q

What are the 4 stages of program development life cycle (4)

A

Analysis

Design

Coding

Testing

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

Features of analysis (4)

A

Abstraction

decomposition of problem

Identification of problem

Requirements

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

Features of design (4)

A

decomposition

structure diagrams

Flowcharts

Pseudocode

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

Features of coding (2)

A

Writing program code

iterative testing

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

Feature of testing

A

Testing program code using test data

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

Explain computer systems (3)

A

Computer systems range from small and simple to large and complex

Almost all computer systems can be broken down into sub-systems. These sub-systems can typically be broken down into further sub-systems

Eventually, each sub-system performs a single task or action

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

Define decomposition

A

Breaking a complex problem into smaller, more manageable parts

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

Advantages of decomposition (2)

A

Makes problems easier to solve

Different people can work on different parts of a problem at the same time, reducing development time

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

Define algorithm

A

specific sequence of steps that can be followed to complete a task

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

Define computer program

A

Implementation of an algorithm

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

Define input validation

A

checking that data input by user meets specific criteria/rules before processing

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

What are the different types of input validation checks (5)

A

Type check

Range check

presence check

Format check

length check

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

Explain type check

A

The input is of the correct data type

EG: integer, real, string

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

Explain range check

A

The input is within a predetermined range

EG: between 1 and 10

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

Explain presence check

A

All required data has been entered

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

Explain format check

A

The input is in the correct format

EG: DD/MM/YYYY

17
Q

Explain length check

A

The input includes the correct/minimum/maximum number of characters

EG: password

18
Q

Advantages of input validation techniques for a programmer (2)

A

Make their program robust and user friendly

Prevent further errors from occurring later in the program

19
Q

Define verification

A

Ensures data is not changed either accidentally or on purpose, as it is entered

20
Q

Two methods of verification (2)

A

Double entry

visual check

21
Q

Explain double entry verification (2)

A

process whereby important data has to be entered twice

The system then compares both data entry to check they are the same before accepting the data

22
Q

Explain visual check

A

Manual check performed by the user who is entering the data

23
Q

What are the 4 types of test data

A

Normal

Abnormal

Extreme

Boundary

24
Q

Explain normal test data

A

Data that should be accepted without causing any errors

25
Q

Explain abnormal test data

A

Data that should be rejected by the program (includes when no input is made)

26
Q

Explain boundary test data

A

Data that is the largest/smallest acceptable value as well as the corresponding largest/smallest rejected value

27
Q

Explain extreme test data

A

Data that is the largest/smallest acceptable value

28
Q

Define variable

A

Value stored in memory that can change while the program is running

29
Q

Define constant

A

A value is assigned when the program is first written and doesn’t change while it is running

30
Q

Explain procedures (2)

A

Carries out a task

provides structure to the code

31
Q

Explain Function (2)

A

Carries out a task and returns a value

Creates reusable program components