Question 1 A company recently purchased a commercial off-the-shelf application to automate their bill-paying process. They now plan to run an acceptance test against the package prior to putting it into production. Which of the following is their most likely reason for testing?
- To build confidence in the application.
- To detect bugs in the application.
- To gather evidence for a lawsuit.
- To train the users.
Question 2 According to the ISTQB Glossary, the word ‘bug’ is synonymous with which of the following words?
Question 3 According to the ISTQB Glossary, a risk relates to which of the following?
- Negative feedback to the tester.
- Negative consequences that will occur.
- Negative consequences that could occur.
- Negative consequences for the test object.
Question 4 Ensuring that test design starts during the requirements definition phase is important to enable which of the following test objectives?
- Preventing defects in the system.
- Finding defects through dynamic testing.
- Gaining confidence in the system.
- Finishing the project on time.
Question 5 A test team consistently finds between 90% and 95% of the defects present in the system under test. While the test manager understands that this is a good defect-detection percentage for her test team and industry, senior management and executives remain disappointed in the test group, saying that the test team misses too many bugs. Given that the users are generally happy with the system and that the failures which have occurred have generally been low impact, which of the following testing principles is most likely to help the test manager explain to these managers and executives why some defects are likely to be missed?
- Exhaustive testing is impossible
- Defect clustering
- Pesticide paradox
- Absence-of-errors fallacy
Question 6 According to the ISTQB Glossary, regression testing is required for what purpose?
- To verify the success of corrective actions.
- To prevent a task from being incorrectly considered completed.
- To ensure that defects have not been introduced by a modification.
- To motivate better unit testing by the programmers.
Question 7 Which of the following is most important to promote and maintain good relation-
ships between testers and developers?
- Understanding what managers value about testing.
- Explaining test results in a neutral fashion.
- Identifying potential customer workarounds for bugs.
- Promoting better quality software whenever possible.
Question 8 Which of the statements below is the best assessment of how the test principles apply across the test life cycle?
- Test principles only affect the preparation for testing.
- Test principles only affect test execution activities.
- Test principles affect the early test activities such as review.
- Test principles affect activities throughout the test life cycle.
Question 1 What are good practices for testing within the development life cycle?
- Early test analysis and design.
- Different test levels are defined with specific objectives.
- Testers will start to get involved as soon as coding is done.
- A and B above.
Question 2 Which option best describes objectives for test levels with a life cycle model?
- Objectives should be generic for any test level.
- Objectives are the same for each test level.
- The objectives of a test level don’t need to be defined in advance.
- Each level has objectives specific to that level.
Question 3 Which of the following is a test type?
- Component testing
- Functional testing
- System testing
- Acceptance testing
Question 4 Which of the following is a non-functional quality characteristic?
Question 5 Which of these is a functional test?
- Measuring response time on an on-line booking system.
- Checking the effect of high volumes of traffic in a call-center system.
- Checking the on-line bookings screen information and the database contents against the information on the letter to the customers.
- Checking how easy the system is to use.
Question 6 Which of the following is a true statement regarding the process of fixing emergency changes?
- There is no time to test the change before it goes live, so only the best developers should do this work and should not involve testers as they slow down the process.
- Just run the retest of the defect actually fixed.
- Always run a full regression test of the whole system in case other parts of the system have been adversely affected.
- Retest the changed area and then use risk assessment to decide on a reasonable subset of the whole regression test to run in case other parts of the system have been adversely affected.
Question 7 A regression test:
- Is only run once.
- Will always be automated.
- Will check unchanged areas of the software to see if they have been affected.
- Will check changed areas of the software to see if they have been affected.
Question 8 Non-functional testing includes:
- Testing to see where the system does not function correctly.
- Testing the quality attributes of the system including reliability and usability.
- Gaining user approval for the system.
- Testing a system feature using only the software required for that function.
Question 9 Beta testing is:
- Performed by customers at their own site.
- Performed by customers at the software developer’s site.
- Performed by an independent test team.
- Useful to test software developed for a specific customer or user.
Question 1 Which of the following artifacts can be examined by using review techniques?
- Software code
- Requirements specification
- Test designs
- All of the above
Question 2 Which statement about the function of a static analysis tool is true?
- Gives quality information about the code without executing it.
- Checks expected results against actual results.
- Can detect memory leaks.
- Gives information about what code has and has not been exercised.
Question 3 Which is not a type of review?
- Informal review
- Management approval
Question 4 What statement about reviews is true?
- Inspections are led by a trained moderator, whereas technical reviews are not necessarily.
- Technical reviews are led by a trained leader, inspections are not.
- In a walkthrough, the author does not attend.
- Participants for a walkthrough always need to be thoroughly trained.
Question 5 What is the main difference between a walkthrough and an inspection?
- An inspection is led by the authors, whilst a walk through is led by a trained moderator.
- An inspection has a trained leader, whilst a walk through has no leader.
- Authors are not present during inspections, whilst they are during walkthroughs.
- A walkthrough is led by the author, whilst an inspection is led by a trained moderator.
Question 6 Which of the following characteristics and types of review processes belong together?
- Led by the author
- No management participation
- Led by a trained moderator or leader
- Uses entry and exit criteria
- Technical review
- Informal review
- s = 4, t = 3, u = 2 and 5, v = 1
- s = 4 and 5, t = 3, u = 2, v = 1
- s = 1 and 5, t = 3, u = 2, v = 4
- s = 5, t = 4, u = 3, v = 1 and 2
Question 7 What statement about static analysis is true?
- With static analysis, defects can be found that are difficult to find with dynamic testing.
- Compiling is not a form of static analysis.
- When properly performed, static analysis makes functional testing redundant.
- Static analysis finds all faults.
Question 8 Which of the following statements about early test design are true and which are false?
- Defects found during early test design are more expensive to fix.
- Early test design can find defects.
- Early test design can cause changes to the requirements.
- Early test design takes more effort.
- 1 and 3 are true. 2 and 4 are false.
- 2 is true. 1, 3 and 4 are false.
- 2 and 3 are true. 1 and 4 are false.
- 2, 3 and 4 are true. 1 is false.
Question 9 Static code analysis typically identifies all but one of the following problems. Which is it?
- Unreachable code
- Undeclared variables
- Faults in the requirements
- Too few comments
Question 1 In which document described in IEEE 829 would you find instructions for the steps to be taken for a test including set-up, logging, environment and measurement?
- Test plan
- Test design specification
- Test case specification
- Test procedure specification
Question 2 With a highly experienced tester with a good business background, which approach to defining test procedures would be effective and most efficient for a project under severe time pressure?
- A high-level outline of the test conditions and general steps to take.
- Every step in the test spelled out in detail.
- A high-level outline of the test conditions with the steps to take discussed in detail with another experienced tester.
- Detailed documentation of all test cases and careful records of each step taken in the testing.
Question 3 Put the test cases that implement the following test conditions into the best order for the test execution schedule, for a test that is checking modifications of customers on a database.
1 Print modified customer record.
2 Change customer address: house number and street name.
3 Capture and print the on-screen error message.
4 Change customer address: postal code.
5 Confirm existing customer is on the database by opening that record.
6 Close the customer record and close the database.
7 Try to add a new customer with no details at all.
- 5,4, 2,1, 3, 7, 6
- 5,1, 2, 3,4, 7, 6
Question 4 Why are both specification-based and structure-based testing techniques useful?
- They find different types of defect.
- Using more techniques is always better.
- Both find the same types of defect.
- Because specifications tend to be unstructured.
Question 5 What is a key characteristic of structure-based testing techniques?
- They are mainly used to assess the structure of a specification.
- They are used both to measure coverage and to design tests to increase coverage.
- They are based on the skills and experience of the tester.
- They use a formal or informal model of the software or component.
Question 6 Which of the following would be an example of decision-table testing for a financial application applied at the system-test level?
- A table containing rules for combinations of inputs to two fields on a screen.
- A table containing rules for interfaces between components.
- A table containing rules for mortgage applications.
- A table containing rules for chess.
Question 7 Which of the following could be a coverage measure for state transition testing?
V All states have been reached.
W The response time for each transaction is adequate.
X Every transition has been exercised.
Y All boundaries have been exercised.
Z Specific sequences of transitions have been exercised.
- V, X, Y and Z
- V, X and Z
Question 8 Postal rates for ‘light letters’ are 25p up to l0g, 35p up to 50g plus an extra l0p for each additional 25g up to l00g.
Which test inputs (in grams) would be selected using equivalence partitioning?
- 4,15, 65, 92,159
- 5, 20, 40, 60, 80
Question 9 Which of the following could be used to assess the coverage achieved for specification-
based (black-box) test techniques?
V Decision outcomes exercised
W Partitions exercised
X Boundaries exercised
Y State transitions exercised
Z Statements exercised
- W, X, Y or Z
Question 10 Which of the following structure-based test design technique would be most likely to be applied to?
1 Boundaries between mortgage interest rate bands.
2 An invalid transition between two different arrears^ statuses.
3 The business process flow for mortgage approval.
4 Control flow of the program to calculate repayments.
- 2, 3 and 4
- 2 and 4
- 3 and 4
- 1, 2 and 3
Question 11 Use case testing is useful for which of the following?
P Designing acceptance tests with users or customers.
Q Making sure that the mainstream business processes are tested.
R Finding defects in the interaction between components.
S Identifying the maximum and minimum values for every input field.
T Identifying the percentage of statements exercised by a sets of tests.
- P, Q and R
- P, Qand S
- R, S and T
Question 12 Which of the following statements about the relationship between statement coverage and decision coverage is correct?
- 100% decision coverage is achieved if statement coverage is greater than 90%.
- 100% statement coverage is achieved if decision coverage is greater than 90%.
- 100% decision coverage always means 100% statement coverage.
- 100% statement coverage always means 100% decision coverage.
Question 13 If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline’s frequent flier program. If you don’t hold a gold card, there is a possibility that you will get ‘bumped’ off the flight if it is full and you check in late. This is shown in Figure 4.5.
Note that each box (i.e. statement) has been numbered. Three tests have been run:
Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight
What is the statement coverage of these three tests?
Question 14 Why are error guessing and exploratory testing good to do?
- They can find defects missed by specification- based and structure-based techniques.
- They don’t require any training to be as effective as formal techniques.
- They can be used most effectively when there are good specifications.
- They will ensure that all of the code or system is tested.
Question 15 How do experience-based techniques differ from specification-based techniques?
- They depend on the tester’s understanding of the way the system is structured rather than on a documented record of what the system should do.
- They depend on having older testers rather than younger testers.
- They depend on a documented record of what the system should do rather than on an individual’s personal view.
- They depend on an individual’s personal view rather than on a documented record of what the system should do.
Question 16 When choosing which technique to use in a given situation, which factors should be taken into account?
U previous experience of types of defects found in this or similar systems
V the existing knowledge of the testers
W regulatory standards that apply
X the type of test execution tool that will be used
Y the documentation available
Z previous experience in the development language
- U, V, W and Y
- V, W and Y
Question 17 Given the state diagram in Figure 4.6, which test case is the minimum series of valid transitions to cover every state?
Question 1 Why is independent testing important?
- Independent testing is usually cheaper than testing your own work.
- Independent testing is more effective at finding defects.
- Independent testers should determine the processes and methodologies used.
- Independent testers are dispassionate about whether the project succeeds or fails.
Question 2 Which of the following is among the typical tasks of a test leader?
- Develop system requirements, design specifications and usage models.
- Handle all test automation duties.
- Keep tests and test coverage hidden from programmers.
- Gather and report test progress metrics.
Question 3 According to the ISTQB Glossary, what do we mean when we call someone a test manager?
- A test manager manages a collection of test leaders.
- A test manager is the leader of a test team or teams.
- A test manager gets paid more than a test leader.
- A test manager reports to a test leader.
Question 4 What is the primary difference between the test plan, the test design specification, and the test procedure specification?
- The test plan describes one or more levels of testing, the test design specification identifies the associated high-level test cases and a test procedure specification describes the actions for executing a test.
- The test plan is for managers, the test design specification is for programmers and the test procedure specification is for testers who are automating tests.
- The test plan is the least thorough, the test procedure specification is the most thorough and the test design specification is midway between the two.
- The test plan is finished in the first third of the project, the test design specification is finished in the middle third of the project and the test procedure specification is finished in the last third of the project.
Question 5 Which of the following factors is an influence on the test effort involved in most projects?
- Geographical separation of tester and programmers.
- The departure of the test manager during the project.
- The quality of the information used to develop the tests.
- Unexpected long-term illness by a member of the project team.
Question 6 The ISTQB Foundation Syllabus establishes a fundamental test process where test planning occurs early in the project, while test execution occurs at the end. Which of the following elements of the test plan, while specified during test planning, is assessed during test execution?
- Test tasks
- Environmental needs
- Exit criteria
- Test team training
Question 7 Consider the following exit criteria which might be found in a test plan:
I No known customer-critical defects.
II All interfaces between components tested.
III 100% code coverage of all units.
IV All specified requirements satisfied.
V System functionality matches legacy system for all business rules.
Which of the following statements is true about whether these exit criteria belong in an acceptance test plan?
- All statements belong in an acceptance test plan.
- Only statement I belongs in an acceptance test plan.
- Only statements I, II, and V belong in an acceptance test plan.
- Only statements I, IV, and V belong in an acceptance test plan.
Question 8 According to the ISTQB Glossary, what is a test level?
- A group of test activities that are organized together.
- One or more test design specification documents.
- A test type.
- An ISTQB certification.
Question 9 Which of the following metrics would be most useful to monitor during test execution?
- Percentage of test cases written.
- Number of test environments remaining to be configured.
- Number of defects found and fixed.
- Percentage of requirements for which a test has been written.
Question 10 During test execution, the test manager describes the following situation to the project team: ‘90% of the test cases have been run. 20% of the test cases have identified defects. 127 defects have been found. 112 defects have been fixed and have passed confirmation testing. Of the remaining 15 defects, project management has decided that they do not need to be fixed prior to release.’ Which of the following is the most reasonable interpretation of this test status report?
- The remaining 15 defects should be confirmation tested prior to release.
- The remaining 10% of test cases should be run prior to release.
- The system is now ready for release with no further testing or development effort.
- The programmers should focus their attention on fixing the remaining known defects prior to release.
Question 11 In a test summary report, the project’s test leader makes the following statement, ‘The payment processing subsystem fails to accept payments from American Express cardholders, which is considered a must-work feature for this release.’ This statement is likely to be found in which of the following sections?
- Summary of activities
- Incident description
Question 12 During an early period of test execution, a defect is located, resolved and confirmed as resolved by re-testing, but is seen again later during subsequent test execution. Which of the following is a testing-related aspect of configuration management that is most likely to have broken down?
- Confirmation testing
- Configuration control
- Test documentation management
Question 13 You are working as a tester on a project to develop a point-of-sales system for grocery stores and other similar retail outlets. Which of the following is a product risk for such a project?
- The arrival of a more-reliable competing product on the market.
- Delivery of an incomplete test release to the first cycle of system test.
- An excessively high number of defect fixes fail during re-testing.
- Failure to accept allowed credit cards.
Question 14 A product risk analysis meeting is held during the project planning period. Which of the following determines the level of risk?
- Difficulty of fixing related problems in code
- The harm that might result to the user
- The price for which the software is sold
- The technical staff in the meeting
Question 15 You are writing a test plan using the IEEE 829 template and are currently completing the Risks and Contingencies section. Which of the following is most likely to be listed as a project risk?
- Unexpected illness of a key team member
- Excessively slow transaction-processing time
- Data corruption under network congestion
- Failure to handle a key use case
Question 16 You and the project stakeholders develop a list of product risks and project risks during the planning stage of a project. What else should you do with those lists of risks during test planning?
- Determine the extent of testing required for the product risks and the mitigation and contingency actions required for the project risks.
- Obtain the resources needed to completely cover each product risk with tests and transfer responsibility for the project risks to the project manager.
- Execute sufficient tests for the product risks, based on the likelihood and impact of each product risk and execute mitigation actions for all project risks.
- No further risk management action is required at the test planning stage.
Question 17 According to the ISTQB Glossary, a product risk is related to which of the following?
- Control of the test project
- The test object
- A single test item
- A potential negative outcome
Question 18 In an incident report, the tester makes the following statement, At this point, I expect to receive an error message explaining the rejection of this invalid input and asking me to enter a valid input. Instead the system accepts the input, displays an hourglass for between one and five seconds and finally terminates abnormally, giving the message, “Unexpected data type: 15. Click to continue.” ‘ This statement is likely to be found in which of the following sections of an IEEE 829 standard incident report?
- Item pass/fail criteria
- Incident description
Question 19 According to the ISTQB Glossary, what do we call a document that describes any event that occurred during testing which requires further investigation?
- A bug report
- A defect report
- An incident report
- A test summary report
Question 20 A product risk analysis is performed during the planning stage of the test process. During the execution stage of the test process, the test manager directs the testers to classify each defect report by the known product risk it relates to (or to ‘other’). Once a week, the test manager runs a report that shows the percentage of defects related to each known product risk and to unknown risks. What is one possible use of such a report?
- To identify new risks to system quality.
- To locate defect clusters in product subsystems.
- To check risk coverage by tests.
- To measure exploratory testing.
Question 1 Which tools help to support static testing?
- Static analysis tools and test execution tools.
- Review process support tools, static analysis tools and coverage measurement tools.
- Dynamic analysis tools and modeling tools.
- Review process support tools, static analysis tools and modeling tools.
Question 2 Which test activities are supported by test harness or unit test framework tools?
- Test management and control.
- Test specification and design.
- Test execution and logging.
- Performance and monitoring.
Question 3 What are the potential benefits from using tools in general to support testing?
- Greater quality of code, reduction in the number of testers needed, better objectives for testing.
- Greater repeatability of tests, reduction in repetitive work, objective assessment.
- Greater responsiveness of users, reduction of tests run, objectives not necessary.
- Greater quality of code, reduction in paperwork, fewer objections to the tests.
Question 4 What is a potential risk in using tools to support testing?
- Unrealistic expectations, expecting the tool to do too much.
- Insufficient reliance on the tool, i.e. still doing manual testing when a test execution tool has been purchased.
- The tool may find defects that aren’t there.
- The tool will repeat exactly the same thing it did the previous time.
Question 5 Which of the following are advanced scripting techniques for test execution tools?
- Data-driven and keyword-driven
- Data-driven and capture-driven
- Capture-driven and keyhole-driven
- Playback-driven and keyword-driven
Question 6 Which of the following would NOT be done as part of selecting a tool for an organization?
- Assess organizational maturity, strengths and weaknesses.
- Roll out the tool to as many users as possible within the organization.
- Evaluate the tool features against clear requirements and objective criteria.
- Identify internal requirements for coaching and mentoring in the use of the tool.
Question 7 Which of the following is a goal for a proof-of-concept or pilot phase for tool evaluation?
- Decide which tool to acquire.
- Decide on the main objectives and requirements for this type of tool.
- Evaluate the tool vendor including training, support and commercial aspects.
- Decide on standard ways of using, managing, storing and maintaining the tool and the test assets.
Ngoài ra bạn có thể download nhiều tài liệu hay khác về testing theo link sau: http://bit.ly/2r3szBD