ISTQB Exam Preparation

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following is the BEST example of why testing is necessary?

  • Static testing is used by developers to identify failures in their program code earlier than can be achieved through dynamic testing.
  • Dynamic testing increases quality by causing test objects to fail in ways that could never be achieved by users.
  • Reviews increase the quality of requirements specifications and lead to fewer changes being needed in derived work products. (correct)
  • Static analysis provides evidence to customers that the elements of the system that provide no outputs are fit for release.

Which of the following statements accurately describes the relationship between quality assurance (QA) and quality control (QC)?

  • Testing is performed as part of QA.
  • Testing is another term for QC.
  • Testing is performed as part of QC. (correct)
  • QA is performed as part of testing.

One of the principles asserts that exhaustive testing is impossible. Which approach is an example of addressing this principle?

  • Starting testing as early as possible with reviews and other static testing approaches
  • Documenting all possible test input variations and prioritizing these based on importance
  • Using equivalence partitioning and boundary value analysis to generate test cases (correct)
  • Creating test cases that cover every possible specified output

Which test activity involves collaborating with data requirements, test conditions, environment configurations and test cases?

<p>Test design (B)</p> Signup and view all the answers

Which factor is MOST likely to impact how testing is performed for a given test object?

<p>The number of years' experience of the members of the test team (B)</p> Signup and view all the answers

Which statement provides a valid example of the value of traceability in testing?

<p>Traceability between requirements and test results measures project progress against business goals. (D)</p> Signup and view all the answers

Which scenario exemplifies a tester applying a generic skill during testing?

<p>A tester's carefulness helps them avoid mistakes when generating test cases for exploratory testing. (C)</p> Signup and view all the answers

What is an advantage of adopting a whole-team approach in software development?

<p>It generates a team synergy that benefits the entire project. (A)</p> Signup and view all the answers

Which of the following statements accurately describes the impact of a software development lifecycle on testing?

<p>In a sequential model, dynamic testing is limited until later stages of the lifecycle. (B)</p> Signup and view all the answers

Which good testing practice is applicable to all software development lifecycles?

<p>Testers should review work products as soon as drafts are available (D)</p> Signup and view all the answers

Which of the following is an example of a test-first approach to development?

<p>Test-Driven Development (A)</p> Signup and view all the answers

Which statement accurately describes a testing practice for DevOps environment?

<p>To enable frequent updates, automated regression tests are needed to reduce the risk of regression (A)</p> Signup and view all the answers

Which of the following is MOST aligned with system testing?

<p>Testing interactions between the user interface and database of a human resources system (C)</p> Signup and view all the answers

Which statement accurately differentiates regression tests from confirmation tests?

<p>Regression testing checks for adverse effects in unchanged code, while confirmation testing validates changed code. (A)</p> Signup and view all the answers

Which defect is detectable by static testing but not by dynamic testing?

<p>Code with no path that reaches it (D)</p> Signup and view all the answers

What is a key benefit of early and frequent feedback from stakeholders?

<p>Early communication of potential quality issues (C)</p> Signup and view all the answers

Match the following tasks and review activities: Select the quality characteristics and exit criteria to be evaluated (1), grant all team members access to the work product (2), identify anomalies (3), and discuss anomalies (4), with the review initiation (A), planning (B), communication and analysis (C), and individual review (D) activities.

<p>1C, 2B, 3A, 4D (B)</p> Signup and view all the answers

Given the roles in reviews (scribe, review leader, facilitator, manager) and responsibilities (records review information, organizes the review, ensures effective review meetings, decides what is to be reviewed and provides resources), which matches roles and responsibilities?

<p>1B, 2D, 3A, 4C (B)</p> Signup and view all the answers

Which statement BEST describes the difference between decision table testing and branch testing?

<p>Decision table testing uses the business logic, while branch testing anticipates defects in the source code. (C)</p> Signup and view all the answers

A car wash chain uses cards to track the number of washes a customer buys. Customers get a 10% discount for every tenth wash and an additional 40% (50% total) for every twentieth wash. Which has the highest equivalence partition coverage?

<p>19, 20, 30 (D)</p> Signup and view all the answers

You are testing a form that verifies the correctness of the length of the password between 6 and 12 characters inclusive, with an initial value of 0. You apply boundary value analysis, and due to the high risk of this component, test cases are added to ensure 100% 3-value boundary value coverage. Which additional password lengths should be tested?

<p>4, 5, 13, 14 (D)</p> Signup and view all the answers

A decision table details the rules for determining the risk of atherosclerosis. Given the test cases and the decision table provided (Cholesterol and Blood Pressure), what is the decision table coverage achieved by these test cases?

<p>100% (C)</p> Signup and view all the answers

A storage system, which stores up to three elements, is modeled by a state transition diagram. Which sequences of events, represented as sequences of events, test cases achieves the highest level of valid transitions coverage?

<p>Add, Remove, Add, Add, Add (A)</p> Signup and view all the answers

The execution of two test cases, T1 and T2, on the same code results in statement coverage of 40% and 65% respectively. Which is necessarily true?

<p>There exists at least one statement executed by both T1 and T2 (B)</p> Signup and view all the answers

The branch coverage metric is defined as BCov = (X / Y) * 100%. What do X and Y represent?

<p>X = number of branches exercised by the test cases. Y = total number of branches in the code. (C)</p> Signup and view all the answers

Which TWO provide the BEST rationale for using exploratory testing?

<p>Testers lack time for test design and test execution (C), Testers have business domain experience and good analytical skills (D)</p> Signup and view all the answers

Which BEST fits as checklist element in checklist-based testing?

<p>&quot;The error messages are written in language that the user can understand&quot; (A)</p> Signup and view all the answers

Given a user story for an online store owner, what format is this acceptance criteria written in?

<p>Scenario-oriented (A)</p> Signup and view all the answers

The team analyzes a user story to define the acceptance criteria. Which test cases will NOT be relevant for this user story?

<p>Unregistered customer registers as a new customer (D)</p> Signup and view all the answers

Your team follows the DevOps delivery pipeline including (1) code development, (2) submitting code to a version control system and merging it into the ‘test’ branch, and (3) performing component testing. BEST suite to be the entry criterion for step 2?

<p>Static analysis returns no high severity warnings. (D)</p> Signup and view all the answers

You want to estimate the test effort by calculating the ratio of test to development effort average from four historical similar projects. Table values are provided, what’s your estimation calculation?

<p>$82,500 (A)</p> Signup and view all the answers

You are testing a web application allowing users to SEARCH, VIEW product details, ADD to a shopping cart, and place an order. You prepare the following test cases with priority and dependencies. Which test case should be executed fourth?

<p>TC3 (A)</p> Signup and view all the answers

According to the testing quadrants model, what falls into quadrant Q1: technology facing and supporting the team?

<p>Component integration testing (A)</p> Signup and view all the answers

Match risks with mitigation activities:

<p>1C, 2D, 3A, 4B (C)</p> Signup and view all the answers

Which of the following represents a product quality metric?

<p>Defect detection percentage (B)</p> Signup and view all the answers

A test team in North America is developing for a client in Europe using Agile, DevOps and continuous integration using a continuous delivery pipeline. Which strategy is LEAST effective for communicating test progress to the customer?

<p>Email (D)</p> Signup and view all the answers

When considering configuration management, which configuration management (CM) task BEST helps support testing?

<p>Having the version number of the environment (D)</p> Signup and view all the answers

You are testing a sort function, and the execution log shows failures. Which provides the BEST description of the failure to use in a defect report?

<p>The system fails to sort negative numbers. (D)</p> Signup and view all the answers

Match the descriptions and the categories: Support workflow tracking, Facilitate communication, Virtual machines, and Support reviews with the static testing tools, Tools supporting scalability and deployment standardization, DevOps tools and Collaboration tools.

<p>1B, 2D, 3C, 4A (B)</p> Signup and view all the answers

Which of the following is MOST likely to be a benefit of test automation?

<p>It provides coverage measures that are too complicated for humans to derive. (B)</p> Signup and view all the answers

Flashcards

Why are reviews necessary?

Reviews increase the quality of specification and fewer changes are needed in work products.

QA and Testing

Testing is performed as part of quality assurance.

Addressing exhaustive testing

Document all possible test input variations and prioritizing these based on importance

What is test design?

Test design involves working with test data, test conditions, environment requirements and test cases.

Signup and view all the flashcards

What impacts testing the most?

Knowledge of users is most likely to impact how testing is performed for a given object

Signup and view all the flashcards

Traceability value

Traceability between user requirements and test execution results measures project progress against business goals.

Signup and view all the flashcards

Tester using a generic skill

Tester's ability to avoid mistakes when generating test cases prior to exploratory testing.

Signup and view all the flashcards

Advantage of the whole-team approach?

It generates a team synergy that benefits the entire project

Signup and view all the flashcards

Correct statement about software development lifecycle

If an incremental development model is used, then static testing is done in early increments and dynamic testing in later increments.

Signup and view all the flashcards

Good testing practice across lifecycles

Testers should review work products as soon as drafts are available

Signup and view all the flashcards

Test-first approach to development

Test-Driven Development

Signup and view all the flashcards

DevOps statement

Automated regression tests reduce the danger of regression

Signup and view all the flashcards

System testing includes

Testing interactions between UI and database.

Signup and view all the flashcards

Regression vs Confirmation Tests

Regression testing is concerned with adverse effects in unchanged code, whereas confirmation testing is concerned with testing changed code.

Signup and view all the flashcards

Defect found by static testing

Code with no path that reaches it.

Signup and view all the flashcards

Benefit of early stakeholder feedback

Early communication of potential quality issues.

Signup and view all the flashcards

Description of estimation based on ratios

You want to estimate the test effort for the new project using estimation based on ratios. You calculate the test-to-development effort ratio using averaged data for both development effort and test effort from four historical projects similar to the new one. The table shows this historical data.

Signup and view all the flashcards

Description of dependency

SEARCH functionality must be tested before VIEW functionality can be tested.

Signup and view all the flashcards

Description of product quality metric

Number of defects found is a product quality metric

Signup and view all the flashcards

Benefit of Test automation

It provides coverage measures that are too complicated for humans to derive

Signup and view all the flashcards

Study Notes

  • The sample exam and associated answers have been created to assist ISTQB Member Boards and Exam Boards with writing questions, and give training providers and candidates examples of exam questions
  • Copyright belongs to the International Software Testing Qualifications Board (ISTQB).
  • ISTQB is a registered trademark.
  • The authors transfer the copyright to ISTQB.
  • Non-commercial use of extracts is permitted if the source is acknowledged.
  • Accredited Training Providers may use this sample exam in their training courses if the authors and the ISTQB are acknowledged.
  • Any advertisement of such a training course requires official Accreditation of the training materials from an ISTQB-recognized Member Board.
  • Individuals or groups can use the sample exam in articles and books if the authors and ISTQB are acknowledged.
  • Any other use requires written approval from ISTQB.
  • ISTQB-recognized Member Boards can translate the sample exam if they reproduce the Copyright Notice in the translated version.

Document Responsibility

  • The ISTQB Examination Working Group is responsible for this document.
  • The document is sustained by a core team from ISTQB consisting of the Syllabus Working Group and Exam Working Group.

Revision History

  • Version 1.6 was released on July 8, 2024, that corrects a question
  • Version 1.5 was released on May 29, 2024, that matched the answer version
  • Version 1.4 was released on April 12, 2024, that corrects two questions: #2 and #35
  • Version 1.3 was released on January 8, 2024, that corrects two questions: #26 and #39
  • Version 1.2 was released on December 5, 2023, that corrects two questions: #8 and #13
  • Version 1.1 was November 15, 2023, that corrects a question #35
  • Version 1.0 was released on October 16, 2023, which was the first version

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser