Week 4 Flashcards

1
Q

What is Polling?

A

A method where a program repeatedly checks for new data or status at regular intervals

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

What are Events?

A

A method where a program waits for a signal or notification that something has happened

An object that contains information about a state change in a source

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

What is a quick comparison between Polling and Events?

A

Polling = Asking regularly.

Events = Waiting for a signal.

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

When would you use Events and Listeners?

A

Any situation where your program is waiting for something to happen but you cannot make it happen

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

What is a Source?

A

An object that generates an event

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

What is a Listener?

A

An object that is notified of an event occuring

An event listener has a different method for each type of event notification it is interested in

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

What is a Listener Interface?

A

To be notified of events a class must implement a Listener Interface

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

What is Integration Testing?

A

Where multiple components are grouped together (integrated) to form final system and tested

Unexpected behaviour arise at this point, which is checked for here

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

What is System Testing?

A

Testing the entire system as a whole

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

What is User Acceptance Testing?

A

UAT plans developed during requirements analysis phase and composed by users

UAT performed in user environment that resembles production environment and uses realistic data

UAT ensures that the delivered system meets the users requirements and system is ready for use in real time

Validation activity rather than a verifiction activity

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

What are advantages of the V model?

A

Highly structure, phases completed one at a time

Works well where all requirements are understood

Simple to understand

Easy to manage - each phase has a definite end with a review

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

What are disadvantages of the V model?

A

Once project is in the testing phase it is difficult to go back and change functionality

Not suitable for projects where requirements might change

No working software created until later in the cycle

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

What is Static Testing?

A

Assessing documents (review, walkthroughs, …)

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

What is Dynamic Testing?

A

Testing that involves executing program code

eg. White box testing, black box testing etc.

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

What is White Box Testing?

A

Testing where the internals of the program are known, so can test explicit paths through the system (code coverage)

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

What is Black Box Testing?

A

Treats code as “black box”, and therefore is only concerned with functionality

17
Q

What is Grey Box Testing?

A

Know both the required functionality and also some of the implementation concepts (and/ or access to data stores not user accessible in the live system) which can be used in test design, but not code base exposed)

18
Q

What are the advantages of White Box?

A

Code can be seen so tests can be designed to test many paths through the program

19
Q

What are disadvantages of White Box?

A

Knowledge of the internals will influence the testing - can lead to bias in test design

20
Q

What are advantages of Black Box?

A

No knowledge of internals so no “programmer bias” - more likely to result in tests no expected by the programmer

21
Q

What are disadvantages of Black Box?

A

High probability that tests will only test small number of paths through the program