ISTQB Practice exam questions

Ace your homework & exams now with Quizwiz!

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? a) Informal Review b) Technical Review c) Inspection d) Walkthrough

Inspection

Which of the following is a typical objective of testing? a) To find defects and failures b) To validate the project plan works as required c) Ensuring of complete testing d) Comparing actual results with expected results

To find defects and failures

Which of the following statements is a valid objective for testing? a) The test should start as late as possible so that development had enough time to create a good product b) To validate whether the test object works as expected by the users and other stakeholders c) To prove that all possible defects are identified d) To prove that any remaining defects will not cause any failures

To validate whether the test object works as expected by the users and other stakeholders

You are testing an unattended gasoline pump that only accepts credit cards. Once the credit card is validated, the pump nozzle placed into the tank, and the desired grade selected, the customer enters the desired amount of fuel in gallons using the keypad. The keypad only allows the entry of digits. Fuel is sold in tenths (0.1) of a gallon, up to 50.0 gallons. Which of the following is a minimum set of desired amounts that covers the equivalence partitions for this input? a) 0.0, 20.0, 60.0 b) 0.0, 0.1, 50.0 c) 0.0, 0.1, 50.0, 70.0 d) -0.1, 0.0, 0.1, 49.9, 50.0, 50.1

0.0, 20.0, 60.0

You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the units' field is 0.1 units. Which of the following is a MINIMAL set of input values that cover the equivalence partitions for this field? a) 10.0, 28.0 b) 0.4, 0.5, 25.0, 25.1 c) 0.2, 0.9, 29.5 d) 12.3

0.2, 0.9, 29.5

You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the unit's field is 0.1 units. Which of the following is a set of input values that cover the boundary values with two-point boundary values for this field? a) 0.3, 10.0, 28.0 b) 0.4, 0.5, 0.6, 24, 9, 25, 0, 25.1 c) 0.4, 0.5, 25.0 25.1 d) 0.5, 0.6, 24.9, 25.0

0.4, 0.5, 25.0 25.1

You are testing a mobile app that allows users to find a nearby restaurant, based on the type of food they want to eat. Consider the following list of test cases, priorities (smaller number is high priority), and dependencies, in the following format: Which of the following is a possible test execution schedule that considers both priorities and dependencies? a) 01.001, 01.002, 01.003, 01.005, b) 01.001, 01.002, 01.004, 01.003, c) 01.003, 01.004, 01.002, 01.001, d) 01.001, 01.002, 01.004, 01.005,

01.001, 01.002, 01.004, 01.003,

Consider the following types of defects that a test level might focus on: a) Defects in separately testable modules or objects b) Not focused on identifying defects c) Defects in interfaces and interactions d) Defects in the whole test object Which of the following list correctly matches test levels from the Foundation syllabus with the defect focus options given above? a) 1 = performance test; 2 = component test; 3 = system test; 4 = acceptance test b) 1 = component test; 2 = acceptance test; 3 = system test; 4 = integration test c) 1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test d) 1 = integration test; 2 = system test; 3 = component test; 4 = acceptance test

1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test

Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel: Condition 1 2 3 Account/password okay N Y Y Sufficient points - N Y Action Show flight history N Y Y Allow reward travel N N Y Suppose that there are two equivalence partitions for the condition where "Account/password okay" is not true, one where the account is invalid and another where the account is valid, but the password is invalid. Suppose that there is only one equivalence partition corresponding to the condition where "Account/password okay" is true, where both the account and password are valid. If you want to design tests to cover the equivalence partitions for "Account/password okay" and also for this portion of the decision table, what is the minimum number of tests required? a) 2 b) 3 c) 4 . d) 9

4 .

Which statement about the relationship between statement coverage and decision coverage is true? a) 100% decision coverage also guarantees 100% statement coverage b) 100% statement coverage also guarantees 100% decision coverage c) 50% decision coverage also guarantees 50% statement coverage d) Decision coverage can never reach 100%

100% decision coverage also guarantees 100% statement coverage

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 a) 1A, 2C, 3B, 4D b) 1D, 2B, 3A, 4C c) 1A, 2C, 3D, 4B d) 1D, 2C, 3B, 4A

1A, 2C, 3B, 4D

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 values on the boundaries of the equivalence classes are selected? a) 0, 49, 50, 54, 59, 60 b) 50, 55, 60 c) 49, 50, 54, 55, 60, 62 d) 50, 51, 55, 56, 60, 61

50, 51, 55, 56, 60, 61

Consider the following testing activities: 1. Selecting regression tests 2. Evaluating completeness of test execution 3. Identifying which user stories have open defect reports 4. Evaluating whether the number of tests for each requirement is consistent with the level of product risk Consider the following ways traceability can help testing: A. Improve understandability of test status reports to include status of test basis items B. Make testing auditable C. Provide information to assess process quality D. Analyze the impact of changes Which of the following best matches the testing activity with how traceability can assist that activity? a) 1D, 2B, 3C, 4A b) 1B, 2D, 3A, 4C c) 1D, 2C, 3A, 4B d) 1D, 2B, 3A, 4C

1D, 2B, 3A, 4C

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? a) 3 b) 5 c) 2 d) 4

4

Consider the following state transition diagram for a credit-card only, unattended gasoline pump: Assume that you want to develop the minimum number of tests to cover each transition in the state transition diagram. Assume further that each test must start at the beginning state, waiting for customer, and each test ends when a transition arrives at the beginning state. How many tests do you need? a) 4 b) 7 c) 1 d) Infinite

4

You have been asked to take part in a checklist-based review of the following excerpt from the requirements specification for a library system: Librarians can: 1. Register new borrowers 2. Return books from borrowers 3. Accept fines from borrowers 4. Add new books to the system with their ISBN, author and title 5. Remove books from the system 6. Get system responses within 5 seconds Borrowers can: 7. Borrow a maximum of 3 books at one time 8. View the history of books they have borrowed/reserved 9. Be fined for failing to return a book within 3 weeks 10. Get system responses within 3 seconds 11. Borrow a book at no cost for a maximum of 4 weeks 12. Reserve books (if they are on-loan) All users (librarians and borrowers): 13. Can search for books by ISBN, author, or title 14. Can browse the system catalogue 15. The system shall respond to user requests within 3 seconds 16. The user interface shall be easy-to-use You have been assigned the checklist entry that requires you to review the specification for inconsistencies between individual requirements (i.e., conflicts between requirements). Which of the following CORRECTLY identifies inconsistencies between pairs

6-15, 9-11

You are running a performance test with the objective of finding possible network bottlenecks in interfaces between components of a system. Which of the following statements describes this test? a) A functional test during the integration test level b) A non-functional test during the integration test level c) A functional test during the component test level d) A non-functional test during the component test level

A non-functional test during the integration test level

Which of the following provides the definition of the term test case? a) Subset of the value domain of a variable within a component or system in which all values are expected to be treated the same based on the specification b) A set of preconditions, inputs, actions, expected results and post conditions, developed based on test conditions c) Work products produced during the test process for use in planning, designing, executing, evaluating, and reporting on testing d) A source to determine an expected result to compare with the actual result of the system under test

A set of preconditions, inputs, actions, expected results and post conditions, developed based on test conditions

Which one of the following options is categorized as a black-box test technique? a) A technique based on analysis of the architecture b) A technique checking that the test object is working according to the detailed design c) A technique based on the knowledge of past faults, or general knowledge of failures d) A technique based on formal requirements

A technique based on formal requirements

Which one of the following answers describes a test condition? a) A distinguishing characteristic of a component or system b) A testable aspect of a component or system identified as a basis for testing c) The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions d) Test cases designed to execute combinations of conditions and actions resulting from them

A testable aspect of a component or system identified as a basis for testing

Given the following test activities and tasks: A. Test design B. Test implementation C. Test execution D. Test completion 1. Entering change requests for open defect reports 2. Identifying test data to support the test cases 3. Prioritizing test procedures and creating test data 4. Analyzing discrepancies to determine their cause Which of the following BEST matches the activities with the tasks? a) A-2, B-3, C-4, D-1 b) A-2, B-1, C-3, D-4 c) A-3, B-2, C-4, D-1 d) A-3, B-2, C-1, D-4

A-2, B-3, C-4, D-1

Which of the following qualities is MORE likely to be found in a tester's mindset rather than in a developer's? a) A tester´s mindset tends to grow and mature as the tester gains experience b) Ability to see what might go wrong c) Good communication with team members d) Focus on getting all things done

Ability to see what might go wrong

During a period of intensive project overtime, a system architecture document is sent to various project participants, announcing a previously unplanned technical review to occur in one week. No adjustments are made to the participants' list of assigned tasks. Based on this information alone, which of the following is a factor for review success that is MISSING? a) Appropriate review type b) Adequate time to prepare c) Sufficient metrics to evaluate the author d) Well-managed review meeting

Adequate time to prepare

Which of the following provides the BEST description of exploratory testing? a) A testing practice in which an in-depth investigation of the background of the test object is used to identify potential weaknesses that are examined by test cases b) An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests c) An approach to test design in which test activities are planned as uninterrupted sessions of test analysis and design, often used in conjunction with checklist-based testing d) Testing based on the tester's experience, knowledge, and intuition

An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests

What is checklist-based testing? a) A test technique in which tests are derived based on the tester's knowledge of past faults, or general knowledge of failures b) A test technique based on an analysis of the specification of a component or system c) An experience-based test technique whereby the experienced tester uses a list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product must be verified d) An approach to testing where the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests

An experience-based test technique whereby the experienced tester uses a list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product must be verified

Which of the following is a defect rather than a root cause in a fitness tracker? a) Because the author of the requirements was unfamiliar with the domain of fitness training, he therefore wrongly assumed that users wanted heartbeat in beats per hour b) The tester of the smartphone interface had not been trained in state transition testing, so missed a major defect c) An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times d) Because the designer had never worked on wearable devices before, she as designer of the user interface therefore misunderstood the effects of reflected sunlight

An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times

Which of the following BEST matches the descriptions with the different categories of test techniques? 1. Coverage is measured based on a selected structure of the test object 2. The processing within the test object is checked 3. Tests are based on defects' likelihood and their distribution 4. Deviations from the requirements are checked 5. User stories are used as the test basis Using notation for the following 4 options: Black - Black-box test techniques White - White-box test techniques Experience - Experience-based test techniques a) Black - 4, 5 White - 1, 2; Experience - 3 b) Black - 3 White - 1, 2; Experience - 4, 5 c) Black - 4 White - 1, 2; Experience - 3, 5 d) Black - 1, 3, 5 White - 2; Experience - 4

Black - 4, 5 White - 1, 2; Experience - 3

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? a) Methodical, analytical, reactive, and regression-averse b) Analytical, standard-compliant, consultative, and reactive c) Model-based, methodical, analytical, and consultative d) Regression-averse, consultative, reactive, and methodical

Analytical, standard-compliant, consultative, and reactive

You are defining the process for carrying out product risk analysis as part of each iteration on an Agile project. Which of the following is the proper place to document this process in a test plan? a) Scope of testing b) Approach of testing c) Metrics of testing d) Configuration management of the test object

Approach of testing

Which of the following statements on the use of checklists in a formal review is CORRECT? a) As part of the review planning, the reviewers create the checklists needed for the review b) As part of the issue communication, the reviewers fill in the checklists provided for the review c) As part of the review meeting, the reviewers create defect reports based on the checklists provided for the review d) As part of the review initiation, the reviewers receive the checklists needed for the review

As part of the review initiation, the reviewers receive the checklists needed for the review

You have just completed a pilot project for a regression testing tool. You understand the tool much better and have tailored your testing process to it. You have standardized an approach to using the tool and its associated work products. Which of the following is a typical test automation pilot project goal that remains to be carried out? a) Learn more details about the tool b) See how the tool would fit with existing processes and practices c) Decide on standard ways of using, managing, storing, and maintaining the tool and the test assets d) Assess whether the benefits will be achieved at reasonable cost

Assess whether the benefits will be achieved at reasonable cost

Prior to an iteration planning session, you are studying a user story and its acceptance criteria, deriving test conditions and associated test cases from the user story as a way of applying the principle of early QA and test. What test technique are you applying? a) White-box b) Black-box c) Experience-based d) Error guessing

Black-box

Which of the following can affect and be part of the (initial) test planning? a) Budget limitations b) Test log c) Failure rate d) Use cases

Budget limitations

Which one of the following is the characteristic of a metrics-based approach for test estimation? a) Budget which was used by a previous similar test project b) Overall experience collected in interviews with test managers c) Estimation of effort for test automation agreed in the test team d) Average of calculations collected from business experts

Budget which was used by a previous similar test project

Programmers often write and execute unit tests against code which they have written. During this self-testing activity, which of the following is a tester mindset that programmers should adopt to perform this unit testing effectively? a) Good communication skills b) Code coverage c) Evaluating code defects d) Attention to detail

Attention to detail

Which of the following options are roles in a formal review? a) Developer, Moderator, Review leader, Reviewer, Tester b) Author, Moderator, Manager, Reviewer, Developer c) Author, Manager, Review leader, Reviewer, Designer d) Author, Moderator, Review leader, Reviewer, Scribe

Author, Moderator, Review leader, Reviewer, Scribe

During a project following Agile methods, you find a discrepancy between the developer's interpretation of an acceptance criteria and the product owner's interpretation, which you bring up during a user story refinement session. Which of the following is a benefit of test independence exemplified by this situation? a) Recognizing different kinds of failures b) Taking primary responsibility for quality c) Removing a defect early d) Challenging stakeholder assumptions

Challenging stakeholder assumptions

During an Agile development effort, a product owner discovers a previously unknown regulatory requirement that applies to most of the user stories within a particular epic. The user stories are updated to provide for the necessary changes in software behavior. The programmers on the team are modifying the code appropriately. As a tester on the team, what types of tests will you run? a) Confirmation tests b) Regression tests c) Functional tests d) Change-related tests

Change-related tests

You are testing a mobile app that allows customers to access and manage their bank accounts. You are running a test suite that involves evaluating each screen and each field on each screen against a general list of user interface best practices, derived from a popular book on the topic, that maximize attractiveness, ease-of-use, and accessibility for such apps. Which of the following options BEST categorizes the test technique you are using? a) Specification-based b) Exploratory c) Checklist-based d) Error guessing

Checklist-based

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? a) Condition1 = YES, Condition2 = NO, Condition3 = YES, Action= NO b) Condition1 = YES, Condition2 = YES, Condition3 = NO, Action= YES c) Condition1 = NO, Condition2 = NO, Condition3 = YES, Action= NO d) Condition1 = NO, Condition2 = YES, Condition3 = NO, Action= NO

Condition1 = NO, Condition2 = YES, Condition3 = NO, Action= NO

You are working as a project manager on an in-house banking software project. To prevent rework and excessive find/fix/retest cycles, the following process has been put in place for resolving a defect once it is found in the test lab: 1. The assigned developer finds and fixes the defect, then creates an experimental build 2. A peer developer reviews, unit tests, and confirmation tests the defect fix on his/her desktop 3. A tester - usually the one who found the defect - confirmation tests the defect fix in the development environment 4. Once a day, a new release with all confirmed defect fixes included, is installed in the test environment 5. The same tester from step 3 confirmation tests the defect fix in the test environment Nevertheless, a large number of defects which the testers confirmed as fixed in the development environment (in step 3) are somehow failing confirmation testing in the test environment, with the resulting rework and cycle time outcomes. You have the highest confidence in your testers and have ruled out mistakes or omissions in step 3. Which of the following is the MOST likely part of the process to check next? a) The activity of developers, who may not be

Configuration management, which may not be maintaining the integrity of the product in step 4

You are working on a video game development project, using Agile methods. It is based on Greek mythology and history, and players can play key roles in scenarios such as the battles between the Greeks and Trojans. Consider the following user story and its associated acceptance criteria: As a player, I want to be able to acquire the Rod of Midas (a new magic object), so that I can turn objects and other players into gold AC1: The Rod must work on any object or player, no matter what size, which can be touched anywhere by the player holding the Rod AC2: Holding the Rod does not change the player holding it into gold AC3: Any object or player touched by the Rod transforms completely into gold within one millisecond AC4: The Rod appears as shown in Prototype O.W.RoM AC5: The transformation starts at the point of contact with the Rod and moves at a rate of one meter per millisecond You are participating in a checklist-based review session of this user story. This user story and its associated acceptance criteria contain which of the following typical defects identified by static testing in this type of work product? a) Deviation from standards b) Contradiction c) Security vul

Contradiction

Which of the following activities is part of the main activity "test analysis" in the test process? a) Identifying any required infrastructure and tools b) Creating test suites from test scripts c) Analyzing lessons learned for process improvement d) Evaluating the test basis for testability

Evaluating the test basis for testability

A batch application has been in production unchanged for over two years. It runs overnight once a month to produce statements that will be e-mailed to customers. For each customer, the application goes through every account and lists every transaction on that account in the last month. It uses a nested-loop structure to process customers (outer loop), each customer's accounts (middle loop), and each account's transactions (inner loop). One night, the batch application terminates prematurely, failing to e-mail statements to some customers, when it encounters a customer with one account for which no transactions occurred in the last month. This is a very unusual situation and has not occurred in the years since this application was placed in production. While fixing the defect, a programmer asks you to recommend test techniques that are effective against this kind of defect. Which of the following test techniques would most likely have been able to detect the underlying defect? a) Decision testing b) Statement testing c) Checklist-based testing d) Error guessing

Decision testing

Consider a mobile app that allows customers to access and manage their bank accounts. A user story has just been added to the set of features that checks customers' social media accounts and bank records to give personalized greetings on birthdays and other personal milestones. Which of the following test techniques could a PROGRAMMER use during a unit test of the code to ensure that coverage of situations when the greetings ARE supposed to occur and when the greetings ARE NOT supposed to occur? a) Statement testing b) Exploratory testing c) State transition testing d) Decision testing

Decision testing

Which of the following should NOT be a trigger for maintenance testing? a) Decision to test the maintainability of the software b) Decision to test the system after migration to a new operating platform c) Decision to test if archived data is possible to be retrieved d) Decision to test after "hot fixes"

Decision to test the maintainability of the software

As a result of risk analysis, more testing is being directed to those areas of the system under test where initial testing found more defects than average. Which of the following testing principles is being applied? a) Beware of the pesticide paradox b) Testing is context dependent c) Absence-of-errors is a fallacy d) Defects cluster together

Defects cluster together

Which one of the following is NOT included in a test summary report? a) Defining pass/fail criteria and objectives of testing b) Deviations from the test approach c) Measurements of actual progress against exit criteria d) Evaluation of the quality of the test object

Defining pass/fail criteria and objectives of testing

Which one of the following is the BEST definition of an incremental development model? a) Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added b) A phase in the development process should begin when the previous phase is complete c) Testing is viewed as a separate phase which takes place after development has been completed d) Testing is added to development as an increment

Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added

Which activities are carried out within the planning of a formal review? a) Collection of metrics for the evaluation of the effectiveness of the review b) Answer any questions the participants may have c) Definition and Verification of fulfillment of entry criteria for the review d) Evaluation of the review findings against the exit criteria

Definition and Verification of fulfillment of entry criteria for the review

Which of the following is an example of a task that can be carried out as part of the test process? a) Analyzing a defect b) Designing test data c) Assigning a version to a test item d) Writing a user story

Designing test data

Which of the following statements correctly describes the difference between testing and debugging? a) Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities b) Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the source of failures c) Testing removes faults; but debugging removes defects that cause the faults d) Dynamic testing prevents the causes of failures; debugging removes the failures

Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the source of failures

In a formal review, what is the role name for the participant who runs an inspection meeting? a) Facilitator b) Programmer c) Author d) Project manager

Facilitator

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? a) The actual test results b) Identification of the tested software version c) Status of the defect d) Ideas for improving the test case

Identification of the tested software version

Which of the following statements CORRECTLY describes a role of impact analysis in Maintenance Testing? a) Impact analysis is used when deciding if a fix to a maintained system is worthwhile b) Impact analysis is used to identify how data should be migrated into the maintained system c) Impact analysis is used to decide which hot fixes are of most value to the user d) Impact analysis is used to determine the effectiveness of new maintenance test cases

Impact analysis is used when deciding if a fix to a maintained system is worthwhile

Which of the following statements is true? a) Impact analysis is useful for confirmation testing during maintenance testing b) Confirmation testing is useful for regression testing during system design c) Impact analysis is useful for regression testing during maintenance testing d) Confirmation testing is useful for impact analysis during maintenance testing

Impact analysis is useful for regression testing during maintenance testing

You are reading a user story in the product backlog to prepare for a meeting with the product owner and a developer, noting potential defects as you go. Which of the following statements is true about this activity? a) It is not a static test, because static testing involves execution of the test object b) It is not a static test, because static testing is always performed using a tool c) It is a static test, because any defects you find could be found cheaper during dynamic testing d) It is a static test because static testing does not involve execution of the test object

It is a static test because static testing does not involve execution of the test object

You are working as a tester on an Agile team and have participated in over two dozen user story refinement sessions with the product owner and the developers on the team at the start of each iteration. As the reviews have gotten more effective at detecting defects in user stories and the product owner more proficient at correcting those defects, you and the team notice that the team's velocity, as shown in your burndown charts, has started to increase. Which of the following is a benefit of static testing that is MOST DIRECTLY related to the team's increased velocity? a) Increasing total cost of quality b) Reducing testing cost c) Increasing development productivity d) Reducing total cost of quality

Increasing development productivity

Given that the testing being performed has the following attributes: • Based on interface specifications • Focused on finding failures in communication • The test approach uses both functional and structural test types Which of the following test levels is MOST likely being performed? a) Integration testing b) Acceptance testing c) System testing d) Component testing

Integration testing

Which one of the following is the description of statement coverage? a) It is a metric, which is the percentage of test cases that have been executed b) It is a metric, which is the percentage of statements in the source code that have been executed c) It is a metric, which is the number of statements in the source code that have been executed by test cases that are passed d) It is a metric, that gives a true/false confirmation if all statements are covered or not

It is a metric, which is the percentage of statements in the source code that have been executed

Which one of the following is MOST likely to be a benefit of test execution tools? a) It is easy to create regression tests b) It is easy to maintain version control of test assets c) It is easy to design tests for security testing d) It is easy to run regression tests

It is easy to run regression tests

Which of the following BEST describes how value is added by maintaining traceability between the test basis and test artifacts? a) Maintenance testing can be fully automated based on changes to the initial requirements b) It is possible to determine if a new test case has increased coverage of the requirements c) Test managers can identify which testers found the highest severity defects d) Areas that may be impacted by side-effects of a change can be targeted by confirmation testing

It is possible to determine if a new test case has increased coverage of the requirements

Which of the following statements about test types and test levels is CORRECT? a) Functional and non-functional testing can be performed at system and acceptance test levels, while white-box testing is restricted to component and integration testing b) Functional testing can be performed at any test level, while white-box testing is restricted to component testing c) It is possible to perform functional, non-functional and white-box testing at any test level d) Functional and non-functional testing can be performed at any test level, while white-box testing is restricted to component and integration testing

It is possible to perform functional, non-functional and white-box testing at any test level

Which of the following are two factors that can be used to determine the level of risk? a) Testing and development b) Dynamic and reactive c) Statement and decision d) Likelihood and impact

Likelihood and impact

Which of the following CORRECTLY matches the roles and responsibilities in a formal review? a) Manager - Decides on the execution of reviews b) Review Leader - Ensures effective running of review meetings c) Scribe - Fixes defects in the work product under review d) Moderator - Monitors ongoing cost-effectiveness

Manager - Decides on the execution of reviews

Which of the following is a true statement about exploratory testing? a) More experienced testers who have tested similar applications and technologies are likely to do better than less experienced testers at exploratory testing b) Exploratory testing does not identify any additional tests beyond those that would result from formal test techniques c) The time required to complete an exploratory testing session cannot be predicted in advance d) Exploratory testing can involve the use of black-box techniques but not white-box techniques

More experienced testers who have tested similar applications and technologies are likely to do better than less experienced testers at exploratory testing

Which of the following metrics would be MOST useful to monitor during test execution? a) Percentage of executed test cases b) Average number of testers involved in the test execution c) Coverage of requirements by source code d) Percentage of test cases already created and reviewed

Percentage of executed test cases

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. Are the entry criteria clearly defined for each activity? iii. Are 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 conclu

Point i) of the checklist has been violated because it is not clear who is providing the checklist for the invitation to the review

A mass market operating system software product is designed to run on any PC hardware with an x86-family processor. You are running a set of tests to look for defects related to support of the various PCs that use such a processor and to build confidence that important PC brands will work. What type of test are you performing? a) Performance test b) Processor test c) Functional test d) Portability test

Portability test

Which of the following is a typical test objective? a) Preventing defects b) Repairing defects c) Comparing actual results to expected results d) Analyzing the cause of failure

Preventing defects

You are engaged in planning a test effort for a new mobile banking application. As part of estimation, you first meet with the proposed testers and others on the project. The team is wellcoordinated and has already worked on similar projects. To verify the resulting estimate, you then refer to some industry averages for testing effort and costs on similar projects, published by a reputable consultant. Which statement accurately describes your estimation approach? a) A simultaneous expert-based and metrics-based approach b) Primarily an expert-based approach, augmented with a metrics-based approach c) Primarily a metrics-based approach, augmented with an expert-based approach d) Primarily planning poker, checked by velocity from burndown charts

Primarily an expert-based approach, augmented with a metrics-based approach

Consider the following list of undesirable outcomes that could occur on a mobile app development effort: A. Incorrect totals on screens B. Change to acceptance criteria during acceptance testing C. Users find the soft keyboard too hard to use with your app D. System responds too slowly to user input during search string entry E. Testers not allowed to report test results in daily standup meetings Which of the following properly classifies these outcomes as project and product risks? a) Product risks: B, E; Project risks: A, C, D b) Product risks: A, C, D; Project risks: B, E c) Product risks: A, C, D, E Project risks: B d) Product risks: A, C Project risks: B, D, E

Product risks: A, C, D; Project risks: B, E

Which of the following tools is most useful for reporting test metrics? a) Test management tool b) Static analysis tool c) Coverage tool d) Model-Based testing tools

Test management tool

As a test manager you are responsible for testing the following parts of 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? a) R1 ; R3 ; R4 ; R7 ; R2 ; R5 ; R6 b) R1 ; R3 ; R2 ; R4 ; R7 ; R5 ; R6 c) R1 ; R3 ; R2 ; R5 ; R6 ; R4 ; R7 d) R1 ; R2 ; R5 ; R6 ; R3 ; R4 ; R7

R1 ; R3 ; R2 ; R5 ; R6 ; R4 ; R7

A tester participated in a discussion about proposed database structure. The tester identified a potential performance problem related to certain common user searches. This possible problem was explained to the development team. Which of the following is a testing contribution to success that BEST matches this situation? a) Enabling required tests to be identified at an early stage b) Ensuring processes are carried out properly c) Reducing the risk of fundamental design defects d) Reducing the risk of untestable functionality

Reducing the risk of fundamental design defects

Which of the following lists contains only typical exit criteria from testing? a) Reliability measures, test coverage, schedule and status about fixing defect and remaining risks b) Reliability measures, test coverage, degree of tester's independence and product completeness c) Reliability measures, test coverage, test cost, availability of test environment, time to market and product completeness d) Time to market, remaining defects, tester qualification, availability of testable use cases, test coverage and test cost

Reliability measures, test coverage, schedule and status about fixing defect and remaining risks

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? a) Testing depends on the environment b) Exhaustive testing is not possible c) Repeating of same tests will not find new defects d) Defects cluster together

Repeating of same tests will not find new defects

Which of the following statements CORRECTLY reflects the value of static testing? a) By introducing reviews, we have found that both the quality of specifications and the time required for development and testing have increased b) Using static testing means we have better control and cheaper defect management due to the ease of detecting defects later in the lifecycle c) Now that we require the use of static analysis, missed requirements have decreased and communication between testers and developers has improved d) Since we started using static analysis, we find coding defects that might have not been found by performing only dynamic testing

Since we started using static analysis, we find coding defects that might have not been found by performing only dynamic testing

Which one of the following test tools is mostly suitable for developers rather than testers? a) Requirement management tools b) Configuration management tools c) Static analysis tools d) Performance testing tools

Static analysis tools

Which of the following statements about static testing are MOST true? a) Static testing is a cheap way to detect and remove defects b) Static testing makes dynamic testing less challenging c) Static testing makes it possible to find run-time problems early in the lifecycle d) When testing safety-critical system, static testing has less value because dynamic testing finds the defects better

Static testing is a cheap way to detect and remove defects

Which of the following is a common test metric often used to monitor BOTH test preparation and test execution? a) Test case status b) Defect find/fix rates c) Test environment preparation d) Estimated cost to find the next defect

Test case status

Which of the following statements comparing component testing and system testing is TRUE? a) 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 b) 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 c) Component testing only focuses on functional characteristics, whereas system testing focuses on functional and non-functional characteristics d) Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users 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

In what way can testing be part of Quality Assurance? a) It ensures that requirements are detailed enough b) Testing reduces the risk of poor software quality c) It ensures that standards in the organization are followed d) It measures the quality of software in terms of number of executed test cases

Testing reduces the risk of poor software quality

A product owner says that your role as a tester on an Agile team is to catch all the bugs before the end of each iteration. Which of the following is a testing principle that could be used to respond to this (false) statement? a) Defect clustering b) Testing shows the presence of defects c) Absence of error fallacy d) Root cause analysis

Testing shows the presence of defects

What is decision coverage? a) The coverage of condition outcomes b) Decision coverage is a synonym for statement coverage c) The coverage of executable statements d) The coverage of decision outcomes

The coverage of decision outcomes

A phone ringing momentarily distracts a programmer, causing the programmer to improperly program the logic that checks the upper boundary of an input variable. Later, during system testing, a tester notices that this input field accepts invalid input values. The improperly coded logic for the upper boundary check is: a) The root-cause b) The failure c) The error d) The defect

The defect

What is quality? a) Activities focused on providing confidence that quality requirements will be fulfilled b) The degree to which a component or system satisfies the stated and implied needs of its various stakeholders c) The degree to which a component or system protects information and data so that persons or other components or systems have the degree of access appropriate to their types and levels of authorization d) The total costs incurred on quality activities and issues and often split into prevention costs, appraisal costs, internal failure costs and external failure costs

The degree to which a component or system satisfies the stated and implied needs of its various stakeholders

Which of the following statements about the given state transition diagram and table of test cases is TRUE? a) The given test cases cover both valid and invalid transitions in the state transition diagram b) The given test cases represent all possible valid transitions in the state transition diagram c) The given test cases represent some of the valid transitions in the state transition diagram d) The given test cases represent pairs of transitions in the state transition diagram

The given test cases represent all possible valid transitions in the state transition diagram

Which one of the statements below describes the most common situation for a failure discovered during testing or in production? a) The product crashed when the user selected an option in a dialog box b) The wrong version of a compiled source code file was included in the build c) The computation algorithm used the wrong input variables d) The developer misinterpreted the requirement for the algorithm

The product crashed when the user selected an option in a dialog box

How can white-box testing be applied during user acceptance testing? a) To check if large volumes of data can be transferred between integrated systems b) To check if all code statements and code decision paths have been executed c) To check if all work process flows have been covered d) To cover all web page navigations

To check if all work process flows have been covered

Which of the following statements BEST compares the purposes of confirmation testing and regression testing? a) The purpose of regression testing is to ensure that all previously run tests still work correctly, while the purpose of confirmation testing is to ensure that any fixes made to one part of the system have not adversely affected other parts b) The purpose of confirmation testing is to check that a previously found defect has been fixed, while the purpose of regression testing is to ensure that no other parts of the system have been adversely affected by the fix c) The purpose of regression testing is to ensure that any changes to one part of the system have not caused another part to fail, while the purpose of confirmation testing is to check that all previously run tests still provide the same results as before d) The purpose of confirmation testing is to confirm that changes to the system were made successfully, while the purpose of regression testing is to run tests that previously failed to ensure that they now work correctly

The purpose of confirmation testing is to check that a previously found defect has been fixed, while the purpose of regression testing is to ensure that no other parts of the system have been adversely affected by the fix

Which one of the following is TRUE? a) The purpose of regression testing is to check if the correction has been successfully implemented, while the purpose of confirmation testing is to confirm that the correction has no side effects b) The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check if the system is still working in a new environment c) The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check if the original defect has been fixed d) The purpose of regression testing is to check if the new functionality is working, while the purpose of confirmation testing is to check if the original defect has been fixed

The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check if the original defect has been fixed

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? a) The statement is true. Any single test case provides 100% statement coverage and therefore 50% decision coverage b) The statement is true. Any single test case would cause the outcome of the "if" statement to be either true or false c) The statement is false. A single test case can only guarantee 25% decision coverage in this case d) The statement is false. The statement is too broad. It may be correct or not, depending on the tested software

The statement is true. Any single test case would cause the outcome of the "if" statement to be either true or false

Which of the following is an example of a failure in a car cruise control system? a) The developer of the system forgot to rename variables after a cut-and-paste operation b) Unnecessary code that sounds an alarm when reversing was included in the system c) The system stops maintaining a set speed when the radio volume is increased or decreased d) The design specification for the system wrongly states speeds

The system stops maintaining a set speed when the radio volume is increased or decreased

Which of the following statements BEST describes how tasks are divided between the test manager and the tester? a) The test manager plans testing activities and chooses the standards to be followed, while the tester chooses the tools and set the tools usage guidelines b) The test manager plans, coordinates, and controls the testing activities, while the tester automates the tests c) The test manager plans, monitors, and controls the testing activities, while the tester designs tests and decides on the release of the test object d) The test manager plans and organizes the testing and specifies the test cases, while the tester executes the tests

The test manager plans, coordinates, and controls the testing activities, while the tester automates the tests

Given the following statements about the relationships between software development activities and test activities in the software development lifecycle: 1. Each development activity should have a corresponding testing activity 2. Reviewing should start as soon as final versions of documents become available 3. The design and implementation of tests should start during the corresponding development activity 4. Testing activities should start in the early stages of the software development lifecycle Which of the following CORRECTLY shows which are true and false? a) True - 1, 2; False - 3, 4 b) True - 2, 3; False - 1, 4 c) True - 1, 2, 4; False - 3 d) True - 1, 4; False - 2, 3

True - 1, 4; False - 2, 3

You are working as a tester on an online banking system. Availability is considered one of the top products (quality) risks for the system. You find a reproducible failure that results in customers losing their connections to the bank Web site when transferring funds between common types of accounts and being unable to reconnect for between three and five minutes. Which of the following would be a good summary for a defect report for this failure, one that captures both the essence of the failure and its impact on stakeholders? a) Web server logs show error 0x44AB27 when running test 07.005, which is not an expected error message in /tmp filesystem b) Developers have introduced major availability defect which will seriously upset our customers c) Performance is slow and reliability flaky under load d) Typical funds-transfer transaction results in termination of customer session, with a delay in availability when attempting to reconnect

Typical funds-transfer transaction results in termination of customer session, with a delay in availability when attempting to reconnect

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? a) Verify that the application can play a video on a display of size 1920x1080 (1 test case) b) Verify that the application can play a video on a display of size 640x480 and 1920x1080 (2 test cases) c) Verify that the application can play a video on each of the display sizes in the requirement (4 test cases) d) Verify that the application can play a video on any one of the display sizes in the requirement (1 test case)

Verify that the application can play a video on each of the display sizes in the requirement (4 test cases)

The reviews being used in your organization have the following attributes: • There is a role of a scribe • The purpose is to detect potential defects • The review meeting is led by the author • Reviewers find potential defects by individual review • A review report is produced Which of the following review types is MOST likely being used? a) Informal Review b) Walkthrough c) Technical Review d) Inspection

Walkthrough

For which of the following situations is exploratory testing suitable? a) When time pressure requires speeding up the execution of tests already specified b) When the system is developed incrementally, and no test charter is available c) When testers are available who have enough knowledge of similar applications and technologies d) When an advanced knowledge of the system already exists, and evidence is to be if it should be tested intensively

When testers are available who have enough knowledge of similar applications and technologies


Related study sets

Steps of skeletal muscle contraction

View Set

chapter 1 - Consumer Behavior and Marketing Strategy

View Set

FBLA Banking and Financial Systems

View Set

Supply Chain Exam 2 (Chapter 6: Test)

View Set

Ch. 15.2 Types, Patterns, & Structure Overview

View Set