Software Testing Principles Quiz
48 Questions
0 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

What is the primary focus of Quality Assurance (QA)?

  • Analyzing input variables for errors
  • Validating the fit-for-purpose functionality of a system
  • Ensuring quality-related processes are in place (correct)
  • Detecting defects during testing processes
  • How is an incorrectly coded upper bound best described?

  • An error (correct)
  • A failure
  • A defect
  • The root cause
  • Which test activity produces testware outputs like the one described in Test Charter #04.018?

  • Test design (correct)
  • Test execution
  • Test monitoring and control
  • Test planning
  • What does traceability primarily support in the context of testing?

    <p>Determining the impact of changes on test cases</p> Signup and view all the answers

    What is one key benefit of having independent testing?

    <p>Ensures unbiased judgment in evaluating test outcomes</p> Signup and view all the answers

    What is a fundamental distinction between QA and testing?

    <p>Testing focuses on detecting defects and evaluating quality</p> Signup and view all the answers

    What type of data should be used in the exploration of the registration page according to Test Charter #04.018?

    <p>Different sets of incorrect input data</p> Signup and view all the answers

    What is the impact of boundary checking during input validation?

    <p>It can lead to unintentional acceptance of boundary values</p> Signup and view all the answers

    Which statement accurately describes formal reviews?

    <p>The review process includes a variety of activities.</p> Signup and view all the answers

    What role might management fulfill in a formal review?

    <p>Facilitate the review meetings and mediate discussions.</p> Signup and view all the answers

    What is the optimal temperature for the wine storage system to report?

    <p>12°C</p> Signup and view all the answers

    Which test inputs provide the minimal set to achieve 100% coverage for the control device?

    <p>11, 12, 13</p> Signup and view all the answers

    When conducting branch testing, which aspect is most critical?

    <p>All paths through the code must be executed at least once.</p> Signup and view all the answers

    Which of the following is NOT typically included in formal reviews?

    <p>Dynamic testing outcomes</p> Signup and view all the answers

    Which of the following options is the BEST example of an ATDD test for the user story provided?

    <p>Test if the editor can save the document after editing the page content</p> Signup and view all the answers

    How do testers add value to iteration and release planning?

    <p>Testers participate in the detailed risk identification and risk assessment of user stories</p> Signup and view all the answers

    Which of the following best describes documentation handling in formal reviews?

    <p>All relevant documentation is distributed before the review.</p> Signup and view all the answers

    Which role is responsible for mediating in a formal review?

    <p>Management may mediate if necessary.</p> Signup and view all the answers

    Which TWO of the following options are considered exit criteria for testing a system?

    <p>Test environment readiness</p> Signup and view all the answers

    Which option best describes a critical aspect of the editor's role in the content management system?

    <p>The editor has the ability to reroute content back to the owner for additional updates</p> Signup and view all the answers

    What specific user action is NOT covered in the acceptance criteria provided for the editor?

    <p>The editor can share the content with external parties</p> Signup and view all the answers

    Which option indicates a responsibility that is NOT typically associated with testers in the planning stages?

    <p>Setting deadlines for task completion</p> Signup and view all the answers

    What type of testing was performed by measuring the processing time of random orders against requirements?

    <p>Non-functional, because they measure the system’s performance</p> Signup and view all the answers

    In which type of testing is data migration most likely to be performed when a system is being retired?

    <p>Maintenance testing</p> Signup and view all the answers

    What is an example of a task that should be part of an editor's workflow according to the user story?

    <p>Review and assure that grammar is correct</p> Signup and view all the answers

    Which of the following work products in the SDLC can be reviewed?

    <p>Business requirements, schedule, test budget, and user stories with acceptance criteria</p> Signup and view all the answers

    In relation to regression testing, which statement is TRUE?

    <p>Regression tests help ensure that new changes do not adversely affect existing functionality</p> Signup and view all the answers

    Which of the following statements about static testing are true?

    <p>Its objective is to identify defects as early as possible</p> Signup and view all the answers

    Which type of testing is specifically focused on ensuring that changes do not negatively affect existing functionalities?

    <p>Regression testing</p> Signup and view all the answers

    What is the primary objective of maintenance testing?

    <p>To ensure that data remains intact after system changes</p> Signup and view all the answers

    Which type of testing aims to find defects without executing the code?

    <p>Static testing</p> Signup and view all the answers

    Which of the following are true regarding the benefits of user stories in the SDLC?

    <p>They help in defining functional requirements in a simpler way</p> Signup and view all the answers

    Which of the following factors have a SIGNIFICANT influence on the test approach?

    <p>The SDLC, identified product risks, and new regulatory requirements forcing formal white-box testing</p> Signup and view all the answers

    Which TWO of the following tasks belong MAINLY to a testing role?

    <p>Analyze the test basis and create the test plan</p> Signup and view all the answers

    Which of the following skills are the MOST important skills of a tester?

    <p>Having domain knowledge, being a good team player, and critical thinking</p> Signup and view all the answers

    What is the purpose of using boundary value analysis (BVA) in testing?

    <p>To derive test data for test cases checking the correct payment processing for minimum allowed amount</p> Signup and view all the answers

    What should be analyzed after executing a test case that checks credit card payment processing?

    <p>The differences between expected and actual results</p> Signup and view all the answers

    Which task is least likely to be associated with a testing role?

    <p>Maintaining the product backlog</p> Signup and view all the answers

    What is a key outcome of effective collaboration between testers and business representatives?

    <p>Enhanced understanding of product risks and requirements</p> Signup and view all the answers

    How does critical thinking benefit a tester?

    <p>It allows testers to identify potential defects and risks</p> Signup and view all the answers

    What is the appropriate next step after not reaching consensus in the previous rounds of estimations?

    <p>Accept 13 as the final test estimate as this has most of the votes</p> Signup and view all the answers

    Which statement accurately describes the role of the test pyramid in software testing?

    <p>It emphasizes having far more tests at the lower test levels</p> Signup and view all the answers

    In risk analysis, what can be concluded when a team identifies a risk with a very high impact?

    <p>One cannot say anything about risk likelihood. Risk impact and risk likelihood are independent</p> Signup and view all the answers

    What might occur if the next estimation round leads to consistently similar estimations?

    <p>The team should finalize the estimate without further debate</p> Signup and view all the answers

    What can be inferred if a feature is removed from an upcoming release due to lack of consensus?

    <p>Consensus is more important than feature relevance</p> Signup and view all the answers

    Which of the following best represents a strategy to expedite consensus in team estimations?

    <p>Encourage silent voting before discussions to gauge initial opinions</p> Signup and view all the answers

    What does a strong emphasis on lower test levels in the test pyramid imply for automated testing?

    <p>More automated testing should be conducted at lower levels than higher levels</p> Signup and view all the answers

    What is an accurate rationale for accepting the majority vote in the estimation process?

    <p>It serves as a decision-making mechanism when time constraints exist</p> Signup and view all the answers

    Study Notes

    Question #1 (1 Point)

    • A valid test objective is to reduce the risk level of the test object and build confidence in the quality level.
    • A valid test objective verifies that there are no untested combinations of inputs.

    Question #2 (1 Point)

    • Test activities that contribute to success include having testers involved during various software development lifecycle (SDLC) activities to detect defects.
    • Testers collaborating with end users help improve the quality of defect reports during component integration and system testing.

    Question #3 (1 Point)

    • Testing principle: Absence-of-errors fallacy
    • Skepticism: The manager is happy that no new regression defects were identified, but the tester is concerned because no changes were made to the regression test cases for several iterations.

    Question #4 (1 Point)

    • Test analysis includes using boundary value analysis (BVA) to derive test data.

    Question #5 (1 Point)

    • Factors with significant influence on test approach include the SDLC, identified product risks, and new regulatory requirements that force formal white-box testing.

    Question #6 (1 Point)

    • Tasks that belong to the testing role include configuring test environments and creating the test plan.

    Question #7 (1 Point)

    • The most important skills of a tester include having domain knowledge, being a good team player, and critical thinking.

    Question #8 (1 Point)

    • Testers help business representatives define test strategy and create suitable acceptance tests.

    Question #9 (1 Point)

    • The rule "for every SDLC activity there is a corresponding test activity" holds in sequential, incremental, and iterative SDLC models.

    Question #10 (1 Point)

    • Acceptance test-driven development (ATDD) describes tests based on the desired software behavior.

    Question #11 (1 Point)

    • Writing a component test before the corresponding code is written is an example of a shift-left approach.

    Question #12 (1 Point)

    • Organizing retrospectives at the end of each release cycle helps to identify process weaknesses, which serve as a to-do list for the organization's continuous process improvement program, and maintain continuous improvement.

    Question #13 (1 Point)

    • Failures in system behavior (1) are related to Acceptance testing (D).
    • Failures in communication between components (2) are related to Component integration testing (B).
    • Failures in logic in a module (3) are related to Component testing (A).
    • Failures due to incorrectly implemented business rules (4) are related to System testing (C).

    Question #14 (1 Point)

    • Regression tests are those executed when new versions of software are available after correcting defects detected in test runs.

    Question #15 (1 Point)

    • Static testing benefits: static testing is less expensive, quicker to find and fix coding defects, and helps to detect inconsistencies.

    Question #16 (1 Point)

    • Early and frequent feedback improves the test process, prioritizes customer requirements, helps avoid misunderstandings, and measures the quality of change.

    Question #17 (1 Point)

    • Inspection review involves a scribe, author of work product leads the meeting, and individual preparation.

    Question #18 (1 Point)

    • Successful reviews involve dedicated time for review, splitting work into smaller parts for less intense effort, avoiding negativity or hostility, and handling any failures objectively.

    Question #19 (1 Point)

    • Experience-based techniques rely on the tester's knowledge of the software and business domain.

    Question #20 (1 Point)

    • Equivalence partitioning requires 6 test cases to achieve 100% coverage, covering each floor and garden type.

    Question #21 (1 Point)

    • The boundary value analysis (BVA) coverage for the final results with the provided test cases is 50%.

    Question #22 (1 Point)

    • An impossible situation is when a member has missed the return deadline but still gets a 20% discount.

    Question #23 (1 Point)

    • The minimum number of test cases for valid transitions coverage is 7.

    Question #24 (1 Point)

    • 100% statement coverage ensures every instruction in the code has been executed at least once.

    Question #25 (1 Point)

    • White-box testing is not about identifying gaps in the requirements.

    Question #26 (1 Point)

    • Error guessing uses past experience to anticipate developer errors and guess potential errors.

    Question #27 (1 Point)

    • Exploratory testing is suitable when requirements are not fully defined, and the tester uses their knowledge and skills to find defects.

    Question #28 (1 Point)

    • Acceptance criteria are documented using the given/when/then format.

    Question #29 (1 Point)

    • Testing the editor saving the document after editing, content owner logging in and making updates, are appropriate ATDD tests.

    Question #30 (1 Point)

    • Testers add value by participating in risk identification, risk assessment, and early test design during release planning.

    Question #31 (1 Point)

    • Exit criteria for testing a system include test environment readiness, estimated test defect density is reached, and the required requirements are translated into executable tests.

    Question #32 (1 Point)

    • The final estimate for the test effort is 11 person-hours.

    Question #33 (1 Point)

    • The third test case to execute is TC 002.

    Question #34 (1 Point)

    • Usability testing (1) maps to business facing quadrant Q3; component testing (2) maps to technology facing quadrant Q1; functional testing (3) maps to business facing quadrant Q2; and reliability testing (4) maps to technology facing quadrant Q4.

    Question #35 (1 Point)

    • The proposed measure to address the response time issue involves performance testing and alpha/beta testing by a dedicated test team and end-users before release.

    Question #36 (1 Point)

    • The burndown chart is the correct work product for showing completed work.

    Question #37 (1 Point)

    • Configuration management is responsible for creating new versions of test scripts.

    Question #38 (1 Point)

    • Missing information in the defect report includes expected results, references, and details about the test environment and test item.

    Question #39 (1 Point)

    • Data preparation tools support test monitoring and control.

    Question #40 (1 Point)

    • Introducing unknown regressions in production is a potential risk of test automation.

    Question #A1 (1 Point)

    • The activity is software testing.

    Question #A2 (1 Point)

    • QA focuses on quality processes, while testing focuses on demonstrating if a component or system meets the purpose.

    Question #A3 (1 Point)

    • A defect is an incorrectly coded upper bound.

    Question #A4 (1 Point)

    • The test activity that produces testware as an output is test design.

    Question #A5 (1 Point)

    • Traceability supports testing by enabling analysis, selection of correct test cases, and ensuring coverage.

    Question #A6 (1 Point)

    • An independent test team avoids bias and provides an unbiased assessment of software quality.

    Question #A7 (1 Point)

    • Static testing and test planning are initial SDLC phases.

    Question #A8 (1 Point)

    • Faster product releases, constant availability of executable software, and inexpensive automated test frameworks are DevOps advantages.

    Question #A9 (1 Point)

    • The test performed is functional.

    Question #A10 (1 Point)

    • Regression testing is used for data migration testing related to retiring a system.

    Question #A11 (1 Point)

    • Business requirements, test budget, third party executable code and user stories can be reviewed.

    Question #A12 (1 Point)

    • Defects identified early in the process and potential flaws in security requirements are detected when using static testing.

    Question #A13 (1 Point)

    • Reviews typically involve reviewing documentation before the meeting except for specific review types.

    Question #A14 (1 Point)

    • Management takes responsibility, decides what is being reviewed, ensures effective review meetings, and mediates if needed.

    Question #A15 (1 Point)

    • Test inputs of 10, 11, 12, and 13 provide 100% BVA coverage.

    Question #A16 (1 Point)

    • If all unconditional branches of code are exercised then 100% branch coverage is achieved.

    Question #A17 (1 Point)

    • A checklist based on best practices used to evaluate user interface is an example of black box testing.

    Question #A18 (1 Point)

    • User stories are collaboratively created by stakeholders, developers, and testers to define requirements, and are usually independent, negotiable, valuable, estimable, small, and testable.

    Question #A19 (1 Point)

    • The context of testing refers to a specific requirement in a test plan that states how to perform component integration testing to achieve 100% branch coverage.

    Question #A20 (1 Point)

    • Accept the 13 person-hour estimate as the team voted for this number and consensus was achieved.

    Question #A21 (1 Point)

    • The test pyramid emphasizes a larger number of tests at lower levels, checking smaller slices of functionality.

    Question #A22 (1 Point)

    • Risk likelihood is independent of risk impact.

    Question #A23 (1 Point)

    • Management moves of staff, and expectations issues are project risks.

    Question #A24 (1 Point)

    • Risk analysis informs the completeness and thoroughness of testing.

    Question #A25 (1 Point)

    • Common metrics for reporting quality include the number of executed test procedures, and the number of defects found divided by the size of work completed.

    Question #A26 (1 Point)

    • Test progress and branch coverage are both useful in a report to stakeholders.

    Studying That Suits You

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

    Quiz Team

    Description

    Test your knowledge of fundamental software testing principles with this quiz. Explore key objectives, testing activities, and common fallacies in quality assurance. Ideal for students and professionals in software development.

    More Like This

    Test Condition Mastery Quiz
    5 questions

    Test Condition Mastery Quiz

    StrongestCelebration avatar
    StrongestCelebration
    Objetivos de Teste de Software
    13 questions
    Software Testing: Test Reporting
    15 questions
    Use Quizgecko on...
    Browser
    Browser