Testing and Documenting Solutions Flashcards

1
Q

What should documentation at each stage of testing include?

A

Outline of any testing done
Results
Any errors found
Details on how the errors were corrected

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

What is an advantage of component testing?

A

If combining the subroutines, if mistakes are in some subroutines, errors may interact with each other to give unpredictable results

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

What is a stub?

A

Dummy function/procedure used in place of one still to be written

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

When are stubs used?

A

When there needs to be some code present to indicate a subprogram is being called

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

What are drivers?

A

Piece of code designed to test a function/procedure which has been written but the rest of the code has not

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

Is this a driver or a stub?
PROCEDURE sort(numbers)
print(“Sorting Numbers”)
END PROCEDURE

A

Stub

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

What is integration testing?

A

A stage of testing where modules are tested together as part of a unit, form of alpha testing, carried out by member of development team

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

What should an integration test plan identify?

A

Original Software Specification
Test documentation from component testing stage
List of test data to be used
Conditions that must be in place before testing starts
What constitutes a successful test

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

What are the advantages of integration testing?

A
Tests how modules work together
Tests features impossible to test at module level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What type of testing is integration testing?

A

Alpha testing

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

What should the flow of data be tested for in integration testing?

A

Data Integrity

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

What is acceptance testing?

A

Testing done by client or potential customers

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

What is the end result of acceptance testing?

A

Client accepts the delivery of software and checks it is fit for purpose

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

What are the benefits of acceptance testing?

A
  • No unintentional bias
  • No assumptions of novice understanding
  • Can spot for un-noticed errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Who do commercial companies release beta versions to?

A

Computer Journalists

Current Users of previous versions

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

What do the users get for testing beta versions?

A

Reduced cost of software

Earlier versions of software

17
Q

What is an advantage of releasing beta versions to selected members of the public?

A

Gain valuable information on bugs and can fix them before final release

18
Q

What is usability testing?

A

Type of testing designed to ensure software is as easy to use as possible

19
Q

What are the 6 criteria for usability testing?

A
Appropriate
Customisable
Accessible
Contrallable
Helpful 
Consistent
20
Q

How does a developer make a product appropriate?

A

Design it with the user in mind

21
Q

What is Skeuomorphism?

A

Interfaces trying to mimic physical counterparts

22
Q

Give an example of skeuomorphism

A

Trash can for deleting files

23
Q

How can an interface be customisable?

A

If it can be changed to suit needs of user

24
Q

Give an example of how an interface be customisable?

A

Shortcut keys
Frequently used screens
Regional differences

25
Q

What makes an interface controllable?

A

If it has the option of undoing critical operations

26
Q

What makes an interface helpful?

A

If it provides help on request

Documentation should be comprehensive and avaliable on request

27
Q

How can an interface be consistent?

A

If menus are grouped together logically

28
Q

Describe how pausing
the execution of the code can be used to find
errors

A
  • Can inspect contents of variables to check if they contain expected values
  • Can localize the area where the code stops working/responding
29
Q

Explain the relevance of component testing in a situation where a sort is being coded and then integrated into a large program and describe how it could be carried out

A

Can be used to make sure that it works correctly being it is integrated within the larger application
Should write use a stub or driver to activate the subprogram and pass parameter values to it.
A set of test data should be created and expected output should be calculated