Week 4 Flashcards
What is Polling?
A method where a program repeatedly checks for new data or status at regular intervals
What are Events?
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
What is a quick comparison between Polling and Events?
Polling = Asking regularly.
Events = Waiting for a signal.
When would you use Events and Listeners?
Any situation where your program is waiting for something to happen but you cannot make it happen
What is a Source?
An object that generates an event
What is a Listener?
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
What is a Listener Interface?
To be notified of events a class must implement a Listener Interface
What is Integration Testing?
Where multiple components are grouped together (integrated) to form final system and tested
Unexpected behaviour arise at this point, which is checked for here
What is System Testing?
Testing the entire system as a whole
What is User Acceptance Testing?
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.
What are advantages of the V model?
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
What are disadvantages of the V model?
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
What is Static Testing?
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
What is Dynamic Testing?
Testing that involves executing program code
eg. White box testing, black box testing etc.
What is White Box Testing?
Testing where the internals of the program are known, so can test explicit paths through the system (code coverage)