WorksheetsĐề 13
Total questions: 40
Worksheet time: 10hrs 0mins
1. Which one of the following answers describes a test condition?
2. Which of the following statements is a valid objective for testing?
The test should start as late as possible so that development had enough time to create a good product
To find as many failures as possible so that defects can be identified and corrected
To prove that all possible defects are identified
To prove that any remaining defects will not cause any failures
3. Which of the following statements correctly describes the difference between testing and debugging?
Dynamic testing prevents the causes of failures; debugging removes the failures
4. Which one of the statements below describes the most common situation for a failure discovered during testing or in production?
The product crashed when the user selected an option in a dialog box
The wrong version of a compiled source code file was included in the build
The computation algorithm used the wrong input variables
5. Mr. Test has been testing software applications on mobile devices for a period of 5 years. He has a wealth of experience in testing mobile applications and achieves better results in a shorter time than others. Over several months Mr. Test did not modify the existing automated test cases and did not create any new test cases. This leads to fewer and fewer defects being found by executing the tests. What principle of testing did Mr. Test not observe?
Testing depends on the environment
Exhaustive testing is not possible
Repeating of same tests will not find new defects
Defects cluster together
6. In what way can testing be part of Quality Assurance?
It ensures that requirements are detailed enough
It contributes to the achievement of quality in a variety of ways
It ensures that standards in the organization are followed
It measures the quality of software in terms of number of executed test cases
7. Which of the following activities is part of the main activity "test analysis" in the test process?
Identifying any required infrastructure and tools
Creating test suites from test scripts
Analyzing lessons learned for process improvement
Evaluating the test basis for testability
8. Match the following test work products (1-4) with the right description (A-D).
1. Test suite
2. Test case
3. Test script
4. Test charter
*****
A. A set of test scripts to be executed in a specific test run
B. A set of instructions for the execution of a test
C. Contains expected results
D. Documentation of test activities in session-based exploratory testing
9. How can white-box testing be applied during acceptance testing?
To check if large volumes of data can be transferred between integrated systems
To check if all code statements and code decision paths have been executed
To check if all work process flows have been covered
To cover all web page navigations
10. Which of the following statements comparing component testing and system testing is TRUE?
Component testing verifies the functionality of software modules, program objects, and classes that are separately testable, whereas system testing verifies interfaces between components and interactions between different parts of the system
Test cases for component testing are usually derived from component specifications, design specifications, or data models, whereas test cases for system testing are usually derived from requirement specifications or use cases
Component testing only focuses on functional characteristics, whereas system testing focuses on functional and nonfunctional characteristics
Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users of the system
11. Which one of the following is TRUE?
12. Which one of the following is the BEST definition of an incremental development model?
13. Which of the following should NOT be a trigger for maintenance testing?
14. Which of the following options are roles in a formal review?
Developer, Moderator, Review leader, Reviewer, Tester
Author, Moderator, Manager, Reviewer, Developer
Author, Manager, Review leader, Reviewer, Designer
Author, Moderator, Review leader, Reviewer, Scribe
15. Which activities are carried out within the planning of a formal review?
16. Which of the review types below is the BEST option to choose when the review must follow a formal process based on rules and checklists?
Informal Review
Technical Review
Inspection
Walkthrough
17. Which of the following statements about static testing are MOST true?
18. You will be invited to a review. The work product to be reviewed is a description of the in-house document creation process. The aim of the description is to present the work distribution between the different roles involved in the process in a way that can be clearly understood by everyone. You will be invited to a checklist-based review. The checklist will also be sent to you. It includes the following points:
i. Is the person who performs the activity clearly identified for each activity?
ii. Is the entry criteria clearly defined for each activity?
iii. Is the exit criteria clearly defined for each activity?
iv. Are the supporting roles and their scope of work clearly defined for each activity?
In the following we show an excerpt of the work result to be reviewed, for which you should use the checklist above:
"After checking the customer documentation for completeness and correctness, the software architect creates the system specification. Once the software architect has completed the system specification, he invites testers and verifiers to the review. A checklist describes the scope of the review. Each invited reviewer creates review comments - if necessary - and concludes the review with an official review done-comment."
Which of the following statements about your review is correct?
Point ii) of the checklist has been violated because it is not clear which condition must be fulfilled in order to invite to the review.
19. What is checklist-based testing?
20. Which one of the following options is categorized as a black-box test technique?
21. The following statement refers to decision coverage: "When the code contains only a single "if statement and no loops or CASE statements, and its execution is not nested within the test, any single test case we run will result in 50% decision coverage."
Which of the following statement is correct?
22. Which one of the following is the description of statement coverage?
23. Which statement about the relationship between statement coverage and decision coverage is true?
24. For which of the following situations is explorative testing suitable?
25. An employee's bonus is to be calculated. It cannot be negative, but it can be calculated down to zero. The bonus is based on the length of employment:
• less than or equal to 2 years,
• more than 2 years but less than 5 years,
• 5 to 10 years inclusively
• longer than 10 years.
What is the minimum number of test cases required to cover all valid equivalence partitions for calculating the bonus?
3
5
2
4
26. A speed control and reporting system has the following characteristics:
If you drive 50 km/h or less, nothing will happen.
If you drive faster than 50 km/h, but no more than 55 km/h, you will be warned.
If you drive faster than 55 km/h but not more than 60 km/h, you will be fined.
If you drive faster than 60 km/h, your driving license will be suspended.
The speed in km/h is available to the system as an integer value.
Which would be the most likely set of values (km/h) identified by applying the boundary value analysis, where only the boundary values on the boundaries of the equivalence classes are selected?
27. A company's employees are paid bonuses if they work more than a year in the company and achieve a target which is individually agreed before. These facts can be shown in a decision table: Which of the following test cases represents a situation that can happen in real life, and is missing in the above decision table?
28. Which of the following statements about the given state transition diagram and table of test cases is TRUE?
29. A video application has the following requirement: The application shall allow playing a video on the following display resolution:
1.640x480.
2. 1280x720.
3. 1600x1200.
4. 1920x1080.
Which of the following list of test cases is a result of applying the equivalence partitioning test technique to test this requirement?
Verify that the application can play a video on a display of size 1920x1080 (1 test case)
Verify that the application can play a video on each of the display sizes in the requirement (4 test cases)
Verify that the application can play a video on any one of the display sizes in the requirement (1 test case)
30. Which of the following statements BEST describes how tasks are divided between the test manager and the tester?
31. Which of the following metrics would be MOST useful to monitor during test execution?
Percentage of executed test cases
Average number of testers involved in the test execution
Coverage of requirements by source code
32. Which of the following can affect and be part of the (initial) test planning?
33. Which of the following lists contains only typical exit criteria from testing?
Reliability measures, test coverage, test cost, schedule and status about fixing errors and remaining risks
Reliability measures, test coverage, test cost, availability of test environment, time to market and product completeness
Time to market, remaining defects, tester qualification, availability of testable use cases, test coverage and test cost
34. Which one of the following is NOT included in a test summary report?
Defining pass/fail criteria and objectives of testing
Deviations from the test approach
Measurements of actual progress against exit criteria
Evaluation of the quality of the test item
35. The project develops a "smart" heating thermostat. The control algorithms of the thermostat were modeled as Matlab/Simulink models and run on the internet connected server. The thermostat uses the specifications of the server to trigger the heating valves.
The test manager has defined the following test strategy/approach in the test plan:
1. The acceptance test for the whole system is executed as an experience-based test.
2. The control algorithms on the server are checked against standard of the energy saving regulation.
3. The functional test of the thermostat is performed as risk-based testing.
4. The security tests of data / communication via the internet are executed together with external security experts.
What four common types of test strategies/approaches did the test manager implement in the test plan?
36. Which one of the following is the characteristic of a metrics-based approach for test estimation?
Budget which was used by a previous similar test project
Overall experience collected in interviews with test managers
Estimation of effort for test automation agreed in the test team
Average of calculations collected from business experts
37. As a test manager you are responsible for testing the following requirements:
R1 - Process anomalies
R2 - Synchronization
R3 - Approval
R4 - Problem solving
R5 - Financial data
R6 - Diagram data
R7 - Changes to the user profile
Notation: Logical requirement dependencies (A -> B means, that B depends on A):
Which one of the following options structures the test execution schedule according to the requirement dependencies?
R1 -> R3 -> R2 -> R4 -> R7 -> R5 -> R6
R1 -> R3 - > R2 -> R5 -> R6 - > R4 - > R7
R1 -> R2 -> R5 - > R6 -> R3 - > R4 -> R7
38. You are testing a new version of software for a coffee machine. The machine can prepare different types of coffee based on four categories. i.e., coffee size, sugar, milk, and syrup. The criteria are as follows:
• Coffee size (small, medium, large),
• Sugar (none, 1 unit, 2 units, 3 units, 4 units),
• Milk (yes or no),
• Coffee flavor syrup (no syrup, caramel, hazelnut, vanilla).
Now you are writing a defect report with the following information:
Title: Low coffee temperature.
Short summary: When you select coffee with milk, the time for preparing coffee is too long and the temperature of the beverage is too low (less than 40 °C)
Expected result: The temperature of coffee should be standard (about 75 °C).
Degree of risk: Medium Priority: Normal
What valuable information was omitted in the above defect report?
The actual test result
Identification of the tested software version
Status of the defect
Ideas for improving the test case
39. Which one of the following is MOST likely to be a benefit of test execution tools?
It is easy to create regression tests
It is easy to maintain version control of test assets
It is easy to design tests for security testing
It is easy to run regression tests
40. Which one of the following test tools is mostly suitable for developers rather than testers?
