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

User Acceptance Testing (UAT) is the final phase of the software testing process where actual software users test the software to ensure it can handle required tasks in real-world scenarios, according to specifications.

UAT is important because it ensures that the software meets the necessary requirements and is usable for the intended audience before it goes live.

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 structured, 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

Static testing is a software testing method where the code is not executed.

Instead, it involves reviewing the code, documentation, and design to find errors

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

22
Q

What is the V model?

A

The V-Model is a straightforward software development method shaped like the letter “V.” It focuses on planning and testing.

Each step of creating the software (like designing and building) on the left side of the “V” is directly linked to a testing step on the right side.

This setup ensures that every stage of development is checked and verified, helping to catch errors early and make sure the final software works well and meets all requirements.

This model is especially good for projects where the requirements are clear from the start and quality is a top priority.