test 1

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

You have been given the following set of test cases to run. You have been instructed to run them in order by risk and to accomplish the testing as quickly as possible to provide feedback to the developers as soon as possible. Given this information, what is the best order in which to run these tests?

  • 4, 3, 2, 5, 6, 1
  • 2, 5, 6, 4, 1, 3
  • 6, 1, 3, 2, 4, 5
  • 2, 4, 5, 6, 1, 3 (correct)

Your team is using Planning Poker to estimate the effort for a story. First vote Developer Vote Tester Vote Second vote Third vote

  • 5 because that was the consensus (correct)
  • 8 because that was the highest number
  • 10 because that's the sum of the points
  • 3 because that was the lowest number

You have been given the following conditions and results from those condition combinations. Given this information, using the decision table technique, what is the minimum number of test cases you would need to test these conditions?

  • 18
  • 13
  • 15 (correct)
  • 7

When the tester verifies the test basis while designing tests early in the lifecycle, which test objective is being achieved?

<p>Evaluating work products (B)</p> Signup and view all the answers

In some Agile teams, people are encouraged to use their skills to help the team, regardless of their role. This could mean that testers help the developers write code and developers help testers test. What is this approach called?

<p>Whole Team (C)</p> Signup and view all the answers

Which of the following is a correct statement?

<p>A developer makes a mistake which causes a defect that may be seen as a failure during dynamic testing (D)</p> Signup and view all the answers

Why is it important to avoid the principle of tests wearing out?

<p>Running the same tests repeatedly will reduce the chance of finding new failures (A)</p> Signup and view all the answers

When following a standard test process, when should the test control activity take place?

<p>During all the activities (B)</p> Signup and view all the answers

Which of the following is the activity that compares the planned test progress to the actual test progress?

<p>Test monitoring (C)</p> Signup and view all the answers

If you are working on a project that is constrained by time and budget, which is pressuring testing to be done quickly. How should the test approach be adjusted?

<p>Use techniques such as exploratory and checklist testing to spend less time on test case development (D)</p> Signup and view all the answers

What is the biggest problem with a developer testing his own code?

<p>Developers are not objective about their own code (A)</p> Signup and view all the answers

Which of the following is an example of a good testing practice?

<p>Testers should review requirements documents as soon as a readable draft is available (D)</p> Signup and view all the answers

When coding is directed by the test cases, what development approach is being used?

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

During which level(s) of testing should non-functional tests be executed?

<p>Unit, integration, system and acceptance only (D)</p> Signup and view all the answers

When a system is targeted for decommissioning, what type of maintenance testing may be required?

<p>Data migration testing (A)</p> Signup and view all the answers

In an iterative lifecycle model, which of the following is an accurate statement about testing activities?

<p>For every development activity, there should be a corresponding testing activity (D)</p> Signup and view all the answers

In a formal review, at what point in the process are the exit criteria defined?

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

Which of the following test techniques uses the requirements specifications as a test basis?

<p>Black-box (D)</p> Signup and view all the answers

If you are testing a module of code, how do you determine the level of branch coverage you have achieved?

<p>By taking the number of branches you have tested and dividing that by the total number of branches in the module (A)</p> Signup and view all the answers

If you have a section of code that has one simple IF statement, how many tests will be needed to achieve 100% branch coverage?

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

Which of the following is a good reason to use experience-based testing?

<p>You can find defects that might be missed by more formal techniques (A)</p> Signup and view all the answers

What is error guessing?

<p>A testing technique used to guess where a developer is likely to have made a mistake (A)</p> Signup and view all the answers

When using the 3 C's technique for user story development, what is the work product that is created for the Confirmation aspect?

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

You are testing a machine that scores exam papers and assigns grades. Based on the score achieved the grades are as follows: 1-49 = F, 50-59 = D-, 60-69 = D, 70-79 = C, 80-89 = B, 90-100=A If you apply equivalence partitioning, how many test cases will you need to achieve minimum test coverage?

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

You are testing a thermostat for a heating/air conditioning system. You have been given the following requirements: When the temperature is below 70 degrees, turn on the heating system When the temperature is above 75 degrees, turn on the air conditioning system When the temperature is between 70 and 75 degrees, inclusive, turn on fan only Which of the following is the minimum set of test temperature values to achieve 100% two-value boundary value analysis coverage?

<p>69, 70, 75, 76 (D)</p> Signup and view all the answers

A user must log in to the system with a valid username and password. If they fail to enter the correct combination three times, they will receive an error and will have to wait 10 minutes before trying again. The test terminates when the user successfully logs in. How many test cases are needed to provide 100% state transition coverage?

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

You are creating test cases for the following story, applying the ATDD approach. As a hotel owner I want to reserve all the rooms on a floor before moving to the next floor So I can maximize the efficiency of the housekeeping staff You have decided to apply equivalence partitioning to this requirement and have identified the following partitions for the occupancy of a floor: 0 | 1 - floor full | overbooked
You also want to be sure that the software is usable by the staff and that it performs quickly in determining which floors have availability. Given this information, what should be the priority order for the tests you will design?

<p>0, 1-floor full, overbooked, usability, performance (C)</p> Signup and view all the answers

A metric that tracks the number of test cases passed is gathered during which activity in the test process?

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

Unit tests belong in which testing quadrant?

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

You are working in a team of testers who are all writing test cases. You have noticed that there is a significant inconsistency with the length and amount of detail in the different test cases. Where should the criteria for test case writing be documented?

<p>The test plan (A)</p> Signup and view all the answers

Which of the following variances should be explained in the Test Summary Report?

<p>The variances between what was planned for testing and what was actually tested (A)</p> Signup and view all the answers

Which of the following is a project risk?

<p>A problem with the development manager which is resulting in his rejecting all defect reports (B)</p> Signup and view all the answers

If the developers are releasing code for testing that is not version controlled, what process is missing?

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

You have been testing software that will be used to track credit card purchases. You have found a defect that causes the system to crash, but only if a person has made and voided 10 purchases in a row. What is the proper priority and severity rating for this defect?

<p>Priority low, severity high (D)</p> Signup and view all the answers

Which of the following is an example of a tool that supports static testing?

<p>A tool that assists with tracking the results of reviews (A)</p> Signup and view all the answers

Which of the following is a benefit of test automation?

<p>Test execution is faster (D)</p> Signup and view all the answers

Flashcards

What test objective is being achieved when the tester verifies the test basis during test design?

Verifying the test basis during test design early in the software development lifecycle, which is primarily achieved by static testing.

What approach is being used when testers help developers write code and vice versa in Agile teams?

An approach in Agile teams where team members, regardless of their designated role, utilize their skills to support the team's goals.

What is the relationship between a developer's mistake, a defect, and a failure?

A mistake made by a developer that results in a defect (fault, bug) in the software, which can potentially lead to a failure during dynamic testing or execution.

Why is it important to avoid the principle of tests wearing out?

Ensuring that running the same tests repeatedly does not reduce the chance of discovering new failures.

Signup and view all the flashcards

When does test control activity take place during a standard test process?

Continuous oversight and monitoring of ongoing testing activities to ensure the test plan is being followed and taking corrective actions if needed.

Signup and view all the flashcards

What activity involves comparing planned test progress to actual test progress?

The activity of comparing actual progress to the planned test progress within a testing project.

Signup and view all the flashcards

How should the test approach be adjusted when time and budget limitations necessitate rapid testing?

Utilizing lightweight test approaches like exploratory and checklist testing to reduce the time spent on test case development, especially when faced with time and budget constraints.

Signup and view all the flashcards

What is the biggest drawback when developers test their own code?

The lack of objectivity and potential bias in developers' assessment of their own code, which can hinder effective testing.

Signup and view all the flashcards

Which of the following is an example of a good testing practice?

Reviewing requirements documents as soon as a readable draft is available to enable early testing and identification of potential issues.

Signup and view all the flashcards

What development approach is used when coding is directed by test cases?

A development approach where code is written based on pre-defined test cases, ensuring that the code meets specific criteria.

Signup and view all the flashcards

During which level(s) of testing should non-functional tests be executed?

Non-functional tests are executed at all levels of testing, including unit, integration, system, and acceptance testing.

Signup and view all the flashcards

What type of maintenance testing may be required when a system is targeted for decommissioning?

A type of maintenance testing required when a system is retired, involving data migration to another system or an archival system.

Signup and view all the flashcards

What is an accurate statement about testing activities in an iterative lifecycle model?

In an iterative lifecycle model, there should be a corresponding testing activity for every development activity.

Signup and view all the flashcards

How is CI/CD an example of the shift-left approach?

Continuous integration and continuous delivery (CI/CD) demonstrates shift-left by requiring continuous testing throughout the entire development pipeline, starting as early as possible.

Signup and view all the flashcards

In a formal review, which role is responsible for documenting all open issues?

The scribe, typically a member of the review team, is responsible for documenting all open issues, problems, and open points during a formal review.

Signup and view all the flashcards

What is the primary reason to get early and frequent feedback from stakeholders?

Getting early and frequent feedback from stakeholders helps ensure that the developed product aligns with their vision and requirements throughout the development process.

Signup and view all the flashcards

Which of the following is a benefit of static analysis?

Static analysis allows for early defect identification, potentially revealing defects that dynamic testing might miss, and can enhance overall code quality.

Signup and view all the flashcards

At what point in the formal review process are the exit criteria defined?

The entry and exit criteria for a formal review are defined during the planning phase, ensuring that the product meets specific requirements before proceeding to the next stage.

Signup and view all the flashcards

Which test technique uses the requirements specifications as a test basis?

Black-box testing utilizes the requirements specifications as the test basis, focusing on the external behavior of the software without considering the internal structure.

Signup and view all the flashcards

How do you determine the level of branch coverage achieved when testing a module of code?

To determine the level of branch coverage achieved, you need to divide the number of branches tested by the total number of branches present in the code under test.

Signup and view all the flashcards

If you have a section of code with one simple IF statement, how many tests are needed for 100% branch coverage?

Testing a simple IF statement requires two tests to achieve 100% branch coverage because there are two possible outcomes: the IF condition being true or false.

Signup and view all the flashcards

Which of the following is a good reason to use experience-based testing?

Experience-based testing can identify defects overlooked by more formal techniques by utilizing the tester's expertise and intuition to explore the software.

Signup and view all the flashcards

What is error guessing?

Error guessing involves anticipating potential developer errors and designing test cases to cover those specific areas of possible mistakes.

Signup and view all the flashcards

When using the 3 C's technique for user story development, what is the work product created for the Confirmation aspect?

The Confirmation aspect in the 3 C's technique for user story development involves defining the Acceptance Criteria, which specify the conditions for successful completion of the user story.

Signup and view all the flashcards

How many test cases are needed to achieve minimum test coverage using equivalence partitioning for a grading system?

Using equivalence partitioning for test case design in a grading system with score-based grades requires 8 test cases: one for invalid too low, one for each valid grade partition, and one for invalid too high.

Signup and view all the flashcards

What is the minimum set of test temperature values for 100% two-value boundary value analysis coverage for a thermostat?

Boundary value analysis for a thermostat involves testing the following temperature values: 69, 70, 75, 76, to ensure complete coverage of the system's behavior based on temperature thresholds.

Signup and view all the flashcards

Study Notes

Sample Exam 3 - Answers

  • Sample exam from ASTQB (American Software Testing Qualifications Board)
  • ISTQB® Certified Tester Syllabus, Foundation Level
  • Compatible with Syllabus version 4.0

FL-1.1.1 (K1) Identify typical test objective

  • When the tester verifies the test basis while designing tests early in the lifecycle, the objective of providing information for decision-making is achieved.

FL-1.5.2 (K1) Recall the advantages of the whole team approach

  • The whole team approach, where team members leverage their skills regardless of role, is encouraged in Agile teams. Testers help developers write code, and developers assist testers.

FL-1.2.3 (K2) Distinguish between root cause, error, defect, and failure

  • A developer's mistake/error can lead to a defect in code. This defect may manifest as a failure during dynamic testing.

FL-1.3.1 (K2) Explain the seven testing principles

  • Avoiding tests wearing out is important. Running the same tests repeatedly reduces the chance of finding new failures.

FL-1.4.1 (K2) Summarize the different test activities and tasks

  • During all activities of the project, test control ensures the project stays on track. Monitoring informs the need for control actions.
  • Test monitoring compares planned progress to actual progress.

FL-1.4.2 (K2) Explain the impact of context on the test process

  • In projects with time and budget constraints, efficient test techniques like exploratory and checklist testing should be prioritized, minimizing time spent on detailed test case development

FL-1.5.3 (K2) Distinguish the benefits and drawbacks of independence of testing

  • A significant drawback of developers testing their own code is the inherent bias and lack of objectivity.

FL-2.1.2 (K1) Recall good testing practices that apply to all software development lifecycles

  • Testers should review requirements documents when drafts are available.

FL-2.1.3 (K1) Recall the examples of test-first approaches to development

  • Test-driven development (TDD) is an approach where coding is directed by test cases.

FL-2.2.1 (K2) Distinguish the different test levels

  • Non-functional tests are conducted across all testing levels (unit, integration, system, acceptance).

FL-2.3.1 (K2) Summarize maintenance testing and its triggers

  • If a system is decommissioned, data migration to another/archive system might be part of maintenance testing.

FL-2.1.1 (K2) Explain the impact of the chosen software development lifecycle on testing

  • In iterative lifecycle models, a test activity should correspond to every development task.

FL-2.1.5 (K2) Explain the shift-left approach

  • Shifting left involves integrated testing early in the pipeline.

FL-3.2.3 (K1) Recall which responsibilities are assigned to the principal roles when performing reviews

  • The scribe documents open issues during a formal review.

FL-3.2.1 (K1) Identify the benefits of early and frequent stakeholder feedback

  • Getting early and frequent stakeholder input is a critical way to ensure the developing product aligns with the stakeholders' vision.

FL-3.1.2 (K2) Explain the value of static testing

  • Static analysis identifies defects that might not be found through dynamic testing.

FL-3.2.2 (K2) Summarize the activities of the review process

  • Exit criteria should be defined during the planning step, not initiation, individual review, or fixing phase.

FL-4.1.1 (K2) Distinguish black-box, white-box, and experience-based test techniques

  • Black-box testing utilizes requirements documents as the basis
  • A black-box technique.

FL-4.3.2 (K2) Explain branch testing

  • Branch coverage is determined by dividing the number of tested branches by the total number of branches in the module

FL-4.3.2 (K2) Explain branch testing

  • Achieving 100% branch coverage for a simple IF statement requires 2 test cases.

FL-4.4.2 (K2) Explain exploratory testing

  • Experience-based testing fills gaps in formal testing techniques.

FL-4.4.1 (K2) Explain error guessing

  • Error guessing anticipates potential developer errors.

FL-4.5.1 (K2) Explain how to write user stories in collaboration with developers and business representatives

  • The confirmation aspect of user stories is the acceptance criteria.

FL-4.2.1 (K3) Use equivalence partitioning to derive test cases

  • Equivalent partitioning helps in achieving minimum test coverage, creating several test cases.

FL-4.2.2 (K3) Use boundary value analysis to derive test cases

  • Boundary value analysis selects test values around boundaries.

FL-4.2.3 (K3) Use decision table testing to derive test cases

  • A minimal number of test cases is derived using decision table testing, based on different conditions and results.

FL-4.2.4 (K3) Use state transition testing to derive test cases

  • State transition testing covers different state transitions.

FL-4.5.3 (K3) Use acceptance test-driven development (ATDD) to derive test cases

  • ATDD prioritizes valid scenarios, then invalid, followed by nonfunctional testing.

FL-5.3.1 (K1) Recall metrics used for testing

  • Test execution metrics, like passed test cases, are gathered during the execution phase.

FL-5.1.1 (K2) Exemplify the purpose and content of a test plan

  • Test plans document criteria for test case writing.

FL-5.1.7 (K2) Summarize the testing quadrants and their relationships with test levels and test types

  • Unit tests are part of Quadrant 1.

FL-5.2.2 (K2) Distinguish between project risks and product risks

  • A project risk relates to factors affecting the project itself, while product risks relate to flaws in the actual product.

FL-5.3.2 (K2) Summarize the purposes, content, and audiences for test reports

  • Discrepancies between planned and actual testing are explained.

FL-5.4.1 (K2) Summarize how configuration management supports testing

  • Configuration management tracks code changes, providing a history for version control.

FL-5.1.4 (K3) Use estimation techniques to calculate the required test effort

  • The consensus value, from techniques like Planning Poker, is used to allocate points to the story effectively.

FL-5.1.5 (K3) Apply test case prioritization

  • Prioritizing tests based on risk and execution speed will yield feedback quickly.

FL-5.5.1 (K3) Prepare a defect report

  • Defects with high impact and urgency, but less likely frequency, should have high severity and low priority.

FL-6.1.1 (K2) Explain how different types of test tools support testing

  • Tools supporting static testing help with reviews, as in code reviews.

FL-6.2.1 (K1) Recall the benefits and risks of test automation

  • Test automation speeds up execution.

Studying That Suits You

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

Quiz Team

More Like This

ISTQB Certification: Software Testing Fundamentals
30 questions
ISTQB Certification Path Quiz
43 questions
Use Quizgecko on...
Browser
Browser