Technical Questions
Technical Questions
Topics: WBT, BBT, Functional Testing, Integration Testing, Smoke Testing, System Testing, Defect Life
Cycle.
3. Which of the following would you NOT usually find on a software incident report?
A. The name and/or organizational position of the person raising the problem.
4. Given the following fragment of code, how many tests are required for 100% decision coverage?
then
biggest_dimension = width
then
biggest_dimension = height
end_if
else
biggest_dimension = length
then
biggest_dimension = height
end_if
end_if
A. 3 B. 4 C. 2 D. 1
5. Which of the following combinations correctly describes a valid approach to component testing:
iii) Automated tests that are run until the component passes.
A. i and ii.
B. I, ii and iii
C. iii.
D. ii and iv
B. That you have tested every statement and every branch in the program.
D. That you have tested every combination of values of IF statements in the program
7. We can achieve complete statement coverage but still miss bugs because:
A. The failure occurs only if you reach a statement taking the TRUE branch of an IF statement, and you
got to the statement with a test that passed through the FALSE branch.
B. The failure depends on the program's inability to handle specific data values, rather than on the
program's flow of control.
C. We are not required to test code that customers are unlikely to execute.
C. Condition Coverage
A. Requirements
B. Documentation
C. Test cases
C. It is difficult to identify all possible inputs in limited testing time. So writing test cases is slow and
difficult
D. All above
12. ________indicates how important it is to fix the bug and when it should be fixed
A. Severity
B. Priority
16. To test a function, the programmer has to write a _________, which calls the function to be tested
and passes it test data.
A. Stub
B. Driver
C. Proxy
A. To freeze requirements
19. Which of the following will be the best definition for Testing
C. The purpose of testing is to demonstrate that the program does what it is supposed to do.
24. Verifying that whether software components are functioning correctly and identifying the defects in
them is objective of which level of testing?
a) Integration testing
b) Acceptance testing
c) Unit testing
d) System Testing
32. If rigorous testing is done on software and no defects are detected , can we say the the software is
100% bug free?
a) Yes
b) No
c) Depends on tester's skills
d) insufficient data
35. ______ is an existing defect that has not yet caused a failure because the conditions that is
required to invoke the defect is not meet.
a. Masked defect
b. Latent defect
c. Both of these
d. None of these
36.