For the following pseudo-code determine number of tests required for 100% statement coverage
IF Gender = Boy
If Age > 3 AND Age < 5
Shoe Size = 1
ELSE IF Age >=5 AND Age < 7
Shoe Size = 2
ENDIF
ELSE
IF Age > 3 AND Age < 5
Shoe Size = 0
ELSE IF Age >=5 AND Age < 7
Shoe Size = 1
ENDIF
ENDIF
The following requirement is given “Set X to be the sum of Y and Zâ€.
All the following four implementations have bugs.
Which one of the following bugs can be caught by Static Analysis?
The following state transition diagram describes the functionality involved in a system using fingerprint and password authentication to log onto a system.
How many distinct states of the system are visible in the above diagram?
A requirement specifies that a certain identifier (ID) must be between 5 and 10 characters long, must contain only alphanumenc characters, and its first character must be a letter As a tester, you want to apply one-dimensional equivalence partitioning to test this ID. This means that you have to apply equivalence partitioning individually: to the length of the ID, the type of characters contained within the ID, and the type of the first character of the ID. What is the number of partitions to cover?
Consider the following iteration planning tasks where a tester can provide value:
Break down user stories into tasks (particularly testing tasks)
Estimate test effort for all testing tasks
Identify and refine functional and non-functional aspects of the test object
Which ONE of the following tasks should be ADDED to the above list?
Which of the following statements about the typical activities of a formal review process is TRUE?
You are testing an e-commerce system that sporadically fails to properly manage customers' shopping carts. You have stressed the urgency of this situation to the development manager and development team and they recognize the priority of resolving the underlying defect. The development team is waiting for more information, which you will include in your defect report. Given the following items of information they are included in a typical defect report:
1. The expected results
2. The actual results
3. The urgency and priority to fix this
4. The date and author of the defect report
5. A description of the defect in order to reproduce, including screenshots and database dumps
Which of these items will be MOST useful to the developers to help them identify and remove the defect causing this failure?