02 Section 6 - Testing Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What types of programming errors can occur?

A

Syntax errors

Logic errors

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

What is a syntax error?

A

When the compiler or interpreter doesn’t understand something you’ve typed because it’s doesn’t follow the grammar or rules of the programming language

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

What is a logic error?

A

When the compiler or interpreter is able to run the program, but the program does something unexpected

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

What can diagnose syntax errors?

A

Compilers or interpreters

-they’ll be unable to turn the source code into machine code and a syntax error will be returned

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

What can diagnose a logic error?

A

More difficult to diagnose since compiler and interpreters won’t pick them up
-they are found through the general use of the program and by systematically testing it using a test plan

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

What is the aim of testing a program before it is released?

A

To see if the program actually meets its initial requirements

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

What are the different types of testing?

A
Functionality testing
Performance test
Usability test
Security test
Load/Stress test
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is functionality testing?

A

Seeing whether their is logic errors and whether the program works as you’d expect
-this shouldn’t be left until the end of the process

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

What is performance testing?

A

Tests how quickly certain features run and their impact on computer resources

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

What is usability testing?

A

Tests how user-friendly the interface and features are

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

What is security testing?

A

Tests vulnerability to attacks and how securely data is stored

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

What is load/stress testing?

A

Tests how it copes under extreme conditions (e.g. loads of users at one time)

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

What are the stages of the software development cycle?

A
  • Requirements
  • Design
  • Implementation
  • Testing
  • Maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What happens at the requirements stage of the software development cycle?

A

What does the consumer want the program to do?

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

What happens at the design stage of the software development cycle?

A

How will the program meet the requirements?

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

What happens at the implementation stage of the software development cycle?

A

Writing the program for the specific design

17
Q

What happens at the testing stage of the software development cycle?

A

Does the program meet the requirements?

18
Q

What happens at the maintenance stage of the software development cycle?

A

Program is output but continued updates are needed

19
Q

What types of testing will impact the software development cycle?

A

Final testing

Iterative testing

20
Q

What is final testing?

A

Program only goes through the development cycle once

  • all the required features of the program are added at the same time
  • program is tested against their initial requirements
21
Q

What is iterative testing?

A

The program will go through the development cycle a few times

  • idea is to match what the customer really wants
  • the requirements at the first cycle might only include the main features, at the start of each cycle the requirements are adjusted
22
Q

What is a test plan?

A

A test plan will outline exactly what you are going to test and how you are going to test it. It should cover all possible paths through a program.
-Should be made before implementation

23
Q

What three categories should appear on a test plan?

A

Normal data
Extreme(boundary) data
Erroneous data

24
Q

What is normal data?

A

things that a user is likely to input into a program

25
Q

What is extreme data?

A

values at the limit of what the program should be able to handle

26
Q

What is erroneous data?

A

inputs that the program should not accept

27
Q

What columns should you have on a test plan table?

A

Type of data
Test data
Reason for testing
Expected outcome

28
Q

What columns should you have on an actual testing table?

A
Type of data
Test data
Reason for testing
Expected outcome
Actual outcome
Pass or Fail