Testing Flashcards

1
Q

what is a syntax error

A

when complier doesn’t understand code due to error in grammar in programming language

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

what is a logic error

A

when able to run code but output is unexpected

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

why are logic error error hard to track down

A

because they aren’t picked up by compliers on interpreters and found by testing using a test plan whereas for syntax error , syntax error will be returned with the location

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

What is final testing

A

when all modules are complete and the program is tested as a whole to ensure that it functions as it should.

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

what is iterative testing

A

carried out while a program is being developed. The programmer writes a section of code (module) then tests it. The module may work fine, but more likely the programmer will amend or fix the code, and test it again. The process repeats (iterates) until the module works as intended.

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

what should a test plan include

A

normal data
boundary / extreme data
erroneous data

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