Search Header Logo
12.3 Program Testing and Maintenance

12.3 Program Testing and Maintenance

Assessment

Presentation

•

Computers

•

11th Grade

•

Medium

Created by

ZUKO NDABAMBI

Used 4+ times

FREE Resource

22 Slides • 34 Questions

1

media

2

media

3

Multiple Choice

What is the purpose of testing?
1

To identify errors

2

To identify issues that may occur when a customer uses the program

3

To test the security of the program

4

All of the above

4

Multiple Choice

Logic errors are detected by the programming IDE being used.
1

False

2

True

5

Multiple Choice

Syntax errors are caused by incorrectly typed source code.
1

True

2

False

6

Multiple Choice

A program won't run if there is a logic error.
1

False

2

True

7

Multiple Choice

Modern IDEs are able to spot syntax errors as the programmer types.
1

True

2

False

8

Multiple Choice

Which statement best describes logic errors?
1

An error in a program that causes it to produce incorrect ouputs but not a crash.

2

An error in a program that causes it to crash.

3

An error in the program caused by mis-spelt instructions.

4

An error in a program caused by hardware failure.

9

Multiple Choice

Question image
What's the mistake in this code?
1

The variable "surname" needs a capital letter (first line of code)

2

"print" needs a capital letter

3

"input" needs a capital letter

4

There are plus signs in the final line of code

10

media

11

media

12

media

13

media

14

Multiple Choice

Black box testing...

1

Testers ignore how the program itself works in terms of code. They simply enter inputs and check if the outputs match their expectations

2

Tries to test every possible path through that bit of code and ensures that it works correctly every time.

15

Multiple Choice

White box testing...

1

Testers ignore how the program itself works in terms of code. They simply enter inputs and check if the outputs match their expectations

2

Tries to test every possible path through that bit of code and ensures that it works correctly every time.

16

Multiple Choice

Alpha testing takes place....

1

In-house

2

With selected outside users

17

Multiple Select

Which of the following types of testing would take place towards the END of the development process?

1

Acceptance Testing

2

White Box Testing

3

Integration Testing

4

Black Box Testing

18

Multiple Select

Which of the following types of testing would take place early on and throughout the development process?

1

Acceptance Testing

2

White Box Testing

3

Integration Testing

4

Black Box Testing

19

Multiple Choice

Another term for "Black Box Testing" is -

1

Acceptance testing

2

Structural testing

3

Beta testing

4

Functional testing

20

Multiple Choice

Which of the following correctly identifies the stages of testing that a developer would carry out?

1

White Box > Alpha > Black Box > Beta

2

Black Box > White Box > Alpha > Beta

3

Alpha > Beta > White Box > Black Box

4

White Box > Black Box > Alpha > Beta

21

media

22

media

23

media

24

media

25

media

26

media

27

media

28

media

29

media

30

media

31

media

32

media

33

Fill in the Blanks

Give an example of boundary test data for the condition x > 76

Type answer...

34

Fill in the Blanks

Give an example of normal test data for the condition x > 0 AND x < 3

Type answer...

35

Fill in the Blanks

Give an example of extreme test data for the condition x < 200

Type answer...

36

Multiple Choice

What kind of testing is performed at the end of the process in the real environment?

1

Alpha testing

2

Stub testing

3

White box testing

4

Acceptance testing

37

Multiple Choice

What kind of testing is completed by a small group of end users?

1

Beta testing

2

Stub testing

3

Alpha testing

4

Acceptance testing

38

Multiple Choice

What kind of testing makes use of dummy modules?

1

Alpha testing

2

Stub testing

3

White box testing

4

Acceptance testing

39

Multiple Select

Which kinds of testing involve producing a trace table?

1

Acceptance testing

2

Walkthrough

3

Stub testing

4

Dry run

40

Fill in the Blanks

Fill in the blank:

Type answer...

errors result from mistakes in the grammar of the language being used.

41

Fill in the Blanks

Fill in the blank:

Type answer...

errors occur while the program is running and not during translation.

42

Fill in the Blanks

Fill in the blank:

Type answer...

errors are when a program runs but performs in an unexpected way.

43

media

44

media

45

media

46

media

47

Multiple Choice

what type of Maintenance?: It's broken and need's fixing

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

48

Multiple Choice

what type of Maintenance?: Things are changing, how can we update to reduce error?

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

49

Multiple Choice

what type of Maintenance?: Things are good, but could they be better?

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

50

Multiple Choice

what type of Maintenance?: A bug in memory  is causing apps to crash so needs an update.

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

51

Multiple Choice

What type of Maintenance?: The OS has upgraded it’s security and the app developer must update the software to comply with it

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

52

Multiple Choice

What type of Maintenance?: Users have shown they want widgets to help use it, so the developer adds widgets.

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

53

Multiple Choice

What type of Maintenance?: Short term cost is low as the problem can quickly be taken care of.but Unpredictable as it is a reaction to a problem

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

54

Multiple Choice

What type of Maintenance?: Improves the system(s) to cope with ever growing changes to ensure longevity of product but Updating software environments increases maintenance costs 

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

55

Multiple Choice

What type of Maintenance?: Reduces long term costs.

Improves safety and performance

Extends lifetime of product but...

More upfront costs.

Requires more time to develop

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

56

Multiple Choice

What type of Maintenance?:Improves usability and lifespan of product.

Increased productivity and customer satisfaction but Ongoing costs are high in labour and possible downtime

1

Preventative

2

Adaptive

3

Corrective

4

Perfective

pattern-tertiary
media

Show answer

Auto Play

Slide 1 / 56

SLIDE