|
Question |
Rating |
View Answer |
|
30.Using the same specifications as question 29, which of the following covers the MOST boundary values?
a. 9,10,11,22 b. 9,10,21,22 c. 10,11,21,22 d. 10,11,20,21 |
|
View Answer |
|
A program validates a numeric field as follows:
values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected
which of the following input values cover all of the equivalence partitions?
a. 10,11,21 b. 3,20,21 c. 3,10,22 d. 10,21,22
|
|
View Answer |
|
Which of the following is the odd one out?
a. white box b. glass box c. structural d. functional
|
|
View Answer |
|
Which of the following is a static test?
a. code inspection b. coverage analysis c. usability assessment d. installation test |
|
View Answer |
|
A program with high cyclometic complexity is almost likely to be:
a. Large b. Small c. Difficult to write d. Difficult to test
|
|
View Answer |
|
Which of the following is a black box design technique?
a. statement testing b. equivalence partitioning c. error- guessing d. usability testing
|
|
View Answer |
|
Which of the following is not the integration strategy?
a. Design based b. Big-bang c. Bottom-up d. Top-down
|
|
View Answer |
|
which of the following statements are true?
a. Faults in program specifications are the most expensive to fix. b. Faults in code are the most expensive to fix. c. Faults in requirements are the most expensive to fix d. Faults in designs are the most expensive to fix.
|
|
View Answer |
|
which of the following statements are true?
a. Faults in program specifications are the most expensive to fix. b. Faults in code are the most expensive to fix. c. Faults in requirements are the most expensive to fix d. Faults in designs are the most expensive to fix.
|
|
View Answer |
|
which of the following is the component test standard?
a. IEEE 829 b. IEEE 610 c. BS7925-1 d. BS7925-2
|
|
View Answer |
|
Which of the following is NOT a standard related to testing?
a. IEEE829 b. IEEE610 c. BS7925-1 d. BS7925-2
|
|
View Answer |
|
Which of the following tools would you use to detect a memory leak?
a. State analysis b. Coverage analysis c. Dynamic analysis d. Memory analysis
|
|
View Answer |
|
Which of the following is NOT a type of non-functional test?
a. State-Transition b. Usability c. Performance d. Security |
|
View Answer |
|
Using the same code example as question 17,how many tests are required to achieve 100% branch/decision coverage?
a. 1 b. 2 c. 3 d. 4
|
|
View Answer |
|
If the pseudocode below were a programming language ,how many tests are required to achieve 100% statement coverage?
1.If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7.Else 8. Display_messageZ;
a. 1 b. 2 c. 3 d. 4 |
|
View Answer |
|
What is the important criterion in deciding what testing technique to use?
a. how well you know a particular technique b. the objective of the test c. how appropriate the technique is for testing the application d. whether there is a tool to support the technique
|
|
View Answer |
|
Which of the following is true?
a. Component testing should be black box, system testing should be white box. b. if u find a lot of bugs in testing, you should not be very confident about the quality of software c. the fewer bugs you find,the better your testing was d. the more tests you run, the more bugs you will find.
|
|
View Answer |
|
When should you stop testing?
a. when time for testing has run out. b. when all planned tests have been run c. when the test completion criteria have been met d. when no faults have been found by the tests run
|
|
View Answer |
|
Coverage measurement
a. is nothing to do with testing b. is a partial measure of test thoroughness c. branch coverage should be mandatory for all software d. can only be applied at unit or module testing, not at system testing
|
|
View Answer |
|
Increasing the quality of the software, by better development methods, will affect the time needed for testing (the test phases) by:
a. reducing test time b. no change c. increasing test time d. can’t say |
|
View Answer |