Functional and structural tests are alternative test types that may be used separately or together at which test level? [K1]
Consider the following pseudo code
1. Begin
2. Read Gender
3. __Print “Dear”
4. If Gender = ‘female’
5. Print (“Ms”)
6. Else
7. __Print ( “Mr”)
8. Endif
9. End
How many test cases are needed to achieve 100 per cent decision coverage?
It is recommended to perform exhaustive tests for covering all combinations of inputs and preconditions.
A test case starts at S1 and triggers 4 events in sequence: E1, E4, E5, E7. What will be the finishing state and the output(s) from the test case? [K3]
Refer to the exhibit
An iPhone application identifies and counts all purchases of a particular product from a shopping website. The application incorrectly counts purchase attempts by including both failed attempts, and also those where the purchase was terminated by the user before completion. Testing has identified that the problem was located in the ‘purchase identification’ module, where the first stage in the purchasing process was counted, rather than a successful confirmed purchase.
Which of the following statements correctly identifies what has happened? [K2]
A system calculates the amount of customs duty to be paid:
_ No duty is paid on goods value up to, and including, $2,000.
_ The next $8,000 is taxed at 10%.
_ The next $20,000 after that is taxed at 12%.
_ Any further amount after that is taxed at 17%.
To the nearest $, which of these groups of numbers fall into three DIFFERENT equivalence classes?
Refer to the exhibit
Given the following State Transition diagram, match the test cases below with the relevant set of state transitions.
(i)X-Z-V-W
(ii)W-Y-U-U
How does software testing contribute to the quality of delivered software? [K2]
Which of the following statements about use-case testing are most accurate?
(i)In a use-case diagram an actor represents a type of user.
(ii)Use-cases are the most common test basis for unit testing.
(iii)A use-case describes interactions between actors.
(iv)An actor is always a human user that interacts with the system.
(v)Test cases can be based on use-case scenarios.
(vi)Use-case testing will often identify gaps not found by testing individual components.
Which of the main activities of the fundamental test process does the task ‘verify the test environment set up is correct’ relate to? [K1]
Which of the following test case design techniques is white box (structure-based)? [K1]
Which from the following list are typically found to enable the review process to be successful? [K2]
a. Each review has clear defined objectives
b. The lower the number of defects, the better the review process
c. The right people for the review objective are involved
d. There is an emphasis on learning and process improvement
e. Management are not involved in the process at all
f. Checklists should not be used, as these slow down the process
g. Defects found are welcomed and expressed objectively
Which of the following would be appropriate test objectives for user acceptance testing of the first release of a new software product aimed at a general market and built using Agile methods? [K2]
a. To identify as many defects as possible
b. To maximise code coverage
c. To ensure the product works as expected
d. To assess the overall quality of the product
e. To determine the reliability of the product
The Cambrian Pullman Express has special ticketing requirements represented by the partial decision table below.
Refer to the exhibit
Carol has a student railcard and is travelling on a Flexible Standard Class ticket. James has a senior railcard and is travelling on a super saver ticket. Which of the options represents the correct actions for these two test cases? [K3]
Which of the test cases below will exercise both outcomes from decision 2? [K3]
Refer to the exhibit
Which of the following characteristics is most likely to promote effective software testing? [K1]
The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. [K4]
The following test cases have been run:
Test Case 1 covering path P,Q,R,U
Test Case 2 covering path P,Q,S,V
Test Case 3 covering path P,Q,S,W,X
Test case 4 covering path P,Q,S,W,Y
Refer to the exhibit
What type of test design technique is the most effective in testing screen-dialog flows?
Your company is developing a system with complex business rules and many branches in the structure of its code components. You need to choose one black box technique and one white box technique for test case design.
Which one of the following offers the BEST choice?
You have been asked to improve the way test automation tools are being used in your company.
Which one of the following is the BEST approach?
Which of the following would achieve the HIGHEST level of testing independence for a project's test level?
A system is being enhanced to simplify screen navigation for users.
Which of the following does NOT reflect structural testing?
The following Test Cases have been created for a simple web-based airline booking system.
Test Case 1: Search for an item Available Flights
Test Case 2: View selected item in My Flights
Test Case 3: Login to the system: Login is accepted
Test Case 4: Select an available flight: item added to My Flights
Test Case 5: Print confirmation receipt, then exit
Test Case 6: In My Flights, confirm details and book flight
Which of the following is the correct logical order for the test cases?
When considering the roles of test leader and tester, which of the following tasks would NOT typically be performed by a tester?
A booking system for a city bus service prices its fares according to the time of travel:
• Peak-time tariff starts at 0600 and finishes at 1000 am
• Off-peak tariff applies during all other times of service
• The bus service does not operate between 2300 and the start of the next day’s peak service
Note that all times mentioned are inclusive.
When applying the equivalence partitioning test design technique, which of the following options, shows test case inputs that each fall into a different equivalence partition?
Which of the following options explain why it is often beneficial to have an independent test function in an organisation?
During which stage of the fundamental test process is the testability of requirements evaluated?
Your task is to compile a test execution schedule for the current release of software.
The system specification states the following logical dependencies:
• An admin user must create/amend/delete a standard user.
• A standard user is necessary to perform all other actions.
The test plan requires that re-tests must be performed first, followed by the highest priority tests. To save time, the test plan states that tests should be scheduled to create test data for the subsequent tests in the schedule.
The following test cases have been designed, with an indication of priority (1 being the highest priority) and whether the test has previously failed.
Which test execution schedule meets the test plan requirements and logical dependencies?
A live defect has been found where a code component fails to release memory after it has finished using it.
Which of the following tools would have been the MOST effective at detecting this defect prior to live implementation?
In the above State Table, which of the following represents an invalid transition?
You are examining a document which gives the precise steps needed in order to execute a test.
What is the correct definition of this document?
Debugging and Testing are key activities in the software development lifecycle.
Which of the following are 'Debugging' activities?
a) Identifying, a failure
b) Locating the cause of failure
c) Fixing the defect
d) Checking the fix has resolved the failure
A system requirement states that up to 100 users should be able to carry out a transaction, with responses returned within 5 seconds.
What type of non-functional testing would you carry out to verify these requirements?
A new testing tool has been selected for an organisation and a pilot project has successfully completed. The next step is to deploy the tool within the organization.
What is a key success factor in tool deployment?
Which of the following optionsBESTexplain the pesticide paradox principle of testing?
The decision table above reflects a golf club's pricing structure for green fees and buggy/cart hire.
What is the expected result (actions) for each of the following two test cases (TC1 and TC2)?
* TC 1 - Paul is not a full member, is a Loyalty Card holder and requests to play 18 holes with a buggy/cart
* TC 2 - Cheryl is not at full member, doesn't have a Loyalty Card and requests to play 9 holes with a buggy/cart
Testing effort can depend on a number of factors, which one of following is MOST likely to impact the amount of effort required?
During the development of a software change for a system, the developer makes a mistake in his work, which leads to a fault in the code. Unfortunately the fault is not found by software testing and is released into live.
What is the definite consequence of this mistake?
According to the ISTQB Glossary, regression testing is required for what purpose?
Which of the following statements are correct for walkthroughs?
(i) Often led by the author.
(ii) Documented and defined results.
(iii) All participants have defined roles.
(iv) Used to aid learning.
(v) Main purpose is to find defects.
Which of the following principles should be followed when introducing a test tool into an organization?
(i) Assessing organizational maturity to establish whether a tool will provide expected benefits.
(ii) Requiring a quick payback on the initial investment.
(iii) Including a requirement for the tool to be easy to use without having to train unskilled testers.
(iv) Identifying and agreeing requirements before evaluating test tools.
The following statements relate to activities that are part of the fundamental test process.
i. Evaluating the testability of requirements.
ii. Repeating testing activities after changes.
iii. Designing the test environment set-up.
iv. Developing and prioritizing test cases.
v. Verifying the environment is set up correctly.
Which statement below is TRUE?
A software component has the code shown below:
Program BiggestA,
Biggest: Integer
Begin
Read A
Biggest = 10
While A > 0
Do
If A > Biggest
Then Biggest = A
Endif
Read A
Enddo
End
The component has exit criteria for component testing that include 100% statement coverage. Which of the following test cases will satisfy this criterion?
Which of the following terms is used to describe the management of software components comprising an integrated system?
Which of the following has the typical formal review activities in the correct sequence?
Which of the following is most likely to cause failure in the implementation of a test tool?
Which of the following is the main purpose of the component build and integration strategy?
Which of the following statements are true?
(i) For every development activity there is a corresponding testing activity.
(ii) Each test level has the same test objectives.
(iii) The analysis and design of tests for a given test level should begin after the corresponding development activity.
(iv)Testers should be involved in reviewing documents as soon as drafts are available in the development life cycle.
For which of the following activities in the fundamental test process would an incident management tool be most useful?
To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data:
Which of the following statements describes a key principle of software testing?
Which TWO of the review types below are the BEST fitted (most adequate) options to choose for reviewing safety critical components in a software project? Select 2 options.
How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment?
Assume that the two conditions are independent of each other : -if (Condition 1)then statement 1else statement 2if (Condition 2)then statement 3