test 1
36 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

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</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</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</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</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</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</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</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</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</p> Signup and view all the answers

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

    <p>TDD</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</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</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</p> Signup and view all the answers

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

    <p>Planning</p> Signup and view all the answers

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

    <p>Black-box</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</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</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</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</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</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</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</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</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</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</p> Signup and view all the answers

    Unit tests belong in which testing quadrant?

    <p>Q1</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</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</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</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</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</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</p> Signup and view all the answers

    Which of the following is a benefit of test automation?

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

    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

    Description

    This quiz features questions based on the ISTQB Certified Tester Syllabus, Foundation Level. It covers various key concepts such as testing objectives, the whole team approach, and testing principles. Suitable for those preparing for the ISTQB certification exam.

    More Like This

    Use Quizgecko on...
    Browser
    Browser