Font size
WorksheetsSDD Testing
Total questions: 24
Worksheet time: 15mins
What kind of errors are likely to be found during hand testing?
logic
runtime
syntax
overflow
Debugging is the process of finding and correcting the errors in program.
TRUE
FALSE
A compilation error is an error which is detected during the process of compilation (or translation) of the program into the object code before it is run.
Compilation errors are often called:
logic
syntax
rounding
truncation
Select types of errors which are caused by limited amount of memoryeither in the computer for example:
a fixed amount of space to store number.
overflow
rounding
truncation
syntax
Logic errors are mistakes in the design of the program. Logic errors only show up when you run the program and you can spot them because program does not do what it is supposed to do.
TRUE
FALSE
SELECT all methods of detecting errors:
dry runs
trace facilities
breakpoints
watchpoints
Which part of program is usually tested using trace table?
all procedures using global variables
all procedures with local variables
small part of program, one procedure or method a time
the main method
A trace tool which allows the user to go through the program one line a time is called:
(a)
What is the name of a tools which programmer can use to follow the path through the program at the same time as it is being run?
(a)
What is another name for temporary halts set by programmer during testing?
(a)
What is the goal for using breakpoints during testing a program?
examine values of program's variables
examine the results of program's procedures
find logic errors within program
correct program's syntax
What is the difference between breakpoint and watchpoint in software testing?
breakpoint will run only first and second procedure of a program
watchpoint will print all of the results with comments included within code
watchpoint is used for following the value of one particular variable
watchpoint is used for following all the values produced by program
SELECT all advantages of indenting program structures:
Shows each of program's control structures beginning and end
Easier to spot mistakes as opposed to the program which is unstructured
It makes program faster to run
IDE will highlight the errors for You when indentation is used
Test data is a set of data used to make sure a program actually solves the problem it is supposed to.
TRUE
FALSE
SELECT all types of data which shouldbe included within tested data
normal
extreme
exceptional
acceptable
What kind of data is within the limits that your program should be able to deal with?
extreme
normal
exceptional
acceptable
What kind of testing data is at the ends of the acceptable range of data, on the limit(s) or boundaries of the problem?
exceptional
extreme
normal
acceptable
What is the name of the testing data which is invalid for program to process?
extreme
acceptable
normal
exceptional
What is the name for testing all the possible sets of data that the program is designed to handle?
exceptional
exhaustive
Communicating and explaining of errors in the software to the user is called:
error correcting
error reporting
error testing
error analysis
What kind of errors show up during program execution?
exceptional
logic
syntax
execution
Dry runs, trace facilities, breakpoints and watchpoints are all methods of:
reporting errors
detecting errors
analysing errors
designing testing plan
SELECT all that applies to trace table:
list all the variables within the program
manually track the variables as the program executes
list all the results of program's procedures
list all the results of program's methods
Structured listing is a program listing which uses indentations (formatting) to show some of the structure of the program.
TRUE
FALSE
