Testing And Running A Solution Flashcards

1
Q

When the code is tested, variable prints causes a keyword violation error. Describe what is meant by a keyword(F452 Q2 Jun 2011)

A

Words which are already use for a purpose with the language

A reserved words cannot be used as an identifier

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

Alpha testing

A

Testing is carried out by the program software company
Playing the role of the user
During development
To find bugs in the program

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

Beta testing

A

The nearly complete program
… Is given to a group of users to test/ is tested under normal operating conditions/Tested by people who are not involved in the production
The aim is to find any bugs which the programmer has overlooked

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

Acceptance testing

A

The program is tested to prove to the end user
… That the program works correctly
Meets the original objective
After development is complete
Before handing it over/and you say I will pay if is satisfied

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

Name and describe one type of error which can occur in a program, stating when it would be detected (F452 Q3 Jan 2010)

A
Syntax error 
When the program is translated 
Logic error 
Doesn't not perform the algorithm intended by the programmer/suitable example 
detected when program produces incorrect result
Run time error
Statement in the code cannot be executed
Detected when the program crashes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe debugging tools and you facilities available in programming languages, which can be used to identify and correct errors in computer programs (F452 Q1 June 2009 (6))

A

Translator diagnostics pick up syntax error and informs the programmer who can then correct the error and translate again.
Breakpoints course the program to halt in execution strategic points current values can then be checked.
Watches cause the program to halt in execution is a condition is met such as a variable changing
Stepping – executing the code one statement at the time observing path of execution and changes to variables. Can be used with break points or watches

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