ISTQB Foundation Level sample test

A visually engaging image depicting software testing concepts, including elements like a computer screen with code, a checklist, and an Agile team working together.

ISTQB Foundation Level Sample Test

Test your knowledge of software testing concepts with our engaging ISTQB Foundation Level sample quiz.

This quiz features multiple-choice questions covering various topics, including:

  • Quality assurance fundamentals
  • Testing principles and practices
  • Defect management
  • Agile testing approaches
102 Questions26 MinutesCreated by TestingTree250
What is quality?
The degree to which a component or system satisfies the stated and implied needs of its various stakeholders
Activities focused on providing confidence that quality requirements will be fulfilled
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
The total costs incurred on quality activities and issues and often split into prevention costs, appraisal costs, internal failure costs and external failure costs
Which of the following is a typical test objective?
Preventing defects
Repairing defects
Comparing actual results to expected results
Analyzing the cause of failure
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:
The root cause
The failure
The error
The defect
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?
Defect clustering
Testing shows the presence of defects
Absence of error fallacy
Root cause analysis
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?
Good communication skills
Code coverage
Evaluating code defects
Attention to detail
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?
1D, 2B, 3C, 4A
1B, 2D, 3A, 4C
1D, 2C, 3A, 4B
1D, 2B, 3A, 4C
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?
Enabling required tests to be identified at an early stage
Ensuring processes are carried out properly
Reducing the risk of fundamental design defects
Reducing the risk of untestable functionality
Which of the following is an example of a task that can be carried out as part of the test process?
Analyzing a defect
Designing test data
Assigning a version to a test item
Writing a user story
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 functional test during the integration test level
A non-functional test during the integration test level
A functional test during the component test level
A non-functional test during the component test level
Which of the following statements is true?
Impact analysis is useful for confirmation testing during maintenance testing
Confirmation testing is useful for regression testing during system design
Impact analysis is useful for regression testing during maintenance testing
Confirmation testing is useful for impact analysis during maintenance testing
Consider the following types of defects that a test level might focus on: 1. Defects in separately testable modules or objects 2. Not focused on identifying defects 3. Defects in interfaces and interactions 4. 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?
1 = performance test; 2 = component test; 3 = system test; 4 = acceptance test
1 = component test; 2 = acceptance test; 3 = system test; 4 = integration test
1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test
1 = integration test; 2 = system test; 3 = component test; 4 = acceptance test
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?
Performance test
Processor test
Functional test
Portability test
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?
Confirmation tests
Regression tests
Functional tests
Change-related tests
In a formal review, what is the role name for the participant who runs an inspection meeting?
Facilitator
Programmer
Author
Project manager
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?
It is not a static test, because static testing involves execution of the test object
It is not a static test, because static testing is always performed using a tool
It is a static test, because any defects you find could be found cheaper during dynamic testing
It is a static test, because static testing does not involve execution of the test object
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?
Appropriate review type
Adequate time to prepare
Sufficient metrics to evaluate the author
Well-managed review meeting
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 adept 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 MOST DIRECTLY applies to increased velocity?
Increasing total cost of quality
Reducing testing cost
Increasing development productivity
Reducing total cost of quality
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?
Deviation from standards
Contradiction
Security vulnerability
Coverage gaps
What is decision coverage?
The coverage of condition outcomes
Decision coverage is a synonym for statement coverage
The coverage of executable statements
The coverage of decision outcomes
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?
White-box
Black-box
Experience-based
Error guessing
Which of the following is a true statement about exploratory testing?
More experienced testers who have tested similar applications and technologies are likely to do better than less experienced testers at exploratory testing
Exploratory testing does not identify any additional tests beyond those that would result from formal test techniques
The time required to complete an exploratory testing session cannot be predicted in advance
Exploratory testing can involve the use of black-box techniques but not white-box techniques
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?
Specification-based
Exploratory
Checklist-based
Error guessing
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?
Statement testing
Exploratory testing
State transition testing
Decision testing
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?
Decision testing
Statement testing
Checklist-based testing
Error guessing
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?
0.0, 20.0, 60.0
0.0, 0.1, 50.0
0.0, 0.1, 50.0, 70.0
-0.1, 0.0, 0.1, 49.9, 50.0, 50.1
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 set of input values that cover the boundary values with two-point boundary values for this field?
0.3, 10.0, 28.0
0.4, 0.5, 0.6, 24,9,25,0, 25.1
0.4, 0.5, 25.0 25.1
0.5, 0.6, 24.9, 25.0
Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel: 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?
2
3
4
9
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?
4
7
1
Infinite
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?
10.0, 28.0
0.4, 0.5, 25.0, 25.1
0.2, 0.9, 29.5
12.3
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?
01.001, 01.002, 01.003, 01.005, 01.004
01.001, 01.002, 01.004, 01.003, 01.005
01.003, 01.004, 01.002, 01.001, 01.002
01.001, 01.002, 01.004, 01.005, 01.003
Which of the following is a common test metric often used to monitor BOTH test preparation and test execution?
Test case status
Defect find/fix rates
Test environment preparation
Estimated cost to find the next defect
Which of the following are two factors that can be used to determine the level of risk?
Testing and development
Dynamic and reactive
Statement and decision
Likelihood and impact
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: The assigned developer finds and fixes the defect, then creates an experimental build A peer developer reviews, unit tests, and confirmation tests the defect fix on his/her desktop A tester – usually the one who found the defect – confirmation tests the defect fix in the development environment Once a day, a new release with all confirmed defect fixes included, is installed in the test environment e) 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?
The activity of developers, who may not be adequately testing in step 2
The activity of testers, who may be confused about what to test in step 5
Configuration management, which may not be maintaining the integrity of the product in step 4
The activity of developers, who may not be fixing defects properly in step 1
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 well-coordinated 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 simultaneous expert-based and metrics-based approach
Primarily an expert-based approach, augmented with a metrics-based approach
Primarily a metrics-based approach, augmented with an expert-based approach
Primarily planning poker, checked by velocity from burndown charts
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?
Recognizing different kinds of failures
Taking primary responsibility for quality
Removing a defect early
Challenging stakeholder assumptions
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?
Scope of testing
Approach of testing
Metrics of testing
Configuration management of the test object
Consider the following list of undesirable outcomes that could occur on a mobile app development effort: A. Incorrect totals on reports 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?
Product risks: B, E; Project risks: A, C, D
Product risks: A, C, D; Project risks: B, E
Product risks: A, C, D, E Project risks: B
Product risks: A, C Project risks: B, D, E
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?
Learn more details about the tool
See how the tool would fit with existing processes and practices
Decide on standard ways of using, managing, storing, and maintaining the tool and the test assets
Assess whether the benefits will be achieved at reasonable cost
Which of the following tools is most useful for reporting test metrics?
Test management tool
Static analysis tool
Coverage tool
Model-Based testing tools
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?
Web server logs show error 0x44AB27 when running test 07.005, which is not an expected error message in /tmp filesystem
Developers have introduced major availability defect which will seriously upset our customers
Performance is slow and reliability flaky under load
Typical funds-transfer transaction results in termination of customer session, with a delay in availability when attempting to reconnect
Which of the following provides the definition of the term test case?
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
A set of preconditions, inputs, actions, expected results and postconditions, developed based on test conditions
Work products produced during the test process for use in planning, designing, executing, evaluating and reporting on testing
A source to determine an expected result to compare with the actual result of the system under test
Which of the following is a typical objective of testing?
To find defects and failures
To validate the project plan works as required
Ensuring of complete testing
Comparing actual results with expected results
Which of the following is an example of a failure in a car cruise control system?
The developer of the system forgot to rename variables after a cut-and-paste operation
Unnecessary code that sounds an alarm when reversing was included in the system
The system stops maintaining a set speed when the radio volume is increased or decreased
The design specification for the system wrongly states speeds
Which of the following is a defect rather than a root cause in a fitness tracker?
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
The tester of the smartphone interface had not been trained in state transition testing, so missed a major defect
An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times
Because the designer had never worked on wearable devices before, she as designer of the user interface therefore misunderstood the effects of reflected sunlight
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?
Beware of the pesticide paradox
Testing is context dependent
Absence-of-errors is a fallacy
Defects cluster together
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-2, B-3, C-4, D-1
A-2, B-1, C-3, D-4
A-3, B-2, C-4, D-1
A-3, B-2, C-1, D-4
Which of the following BEST describes how value is added by maintaining traceability between the test basis and test artifacts?
Maintenance testing can be fully automated based on changes to the initial requirements
It is possible to determine if a new test case has increased coverage of the requirements
Test managers can identify which testers found the highest severity defects
Areas that may be impacted by side-effects of a change can be targeted by confirmation testing
Which of the following qualities is MORE likely to be found in a tester’s mindset rather than in a developer’s?
A tester´s mindset tends to grow and mature as the tester gains experience
Ability to see what might go wrong
Good communication with team members
Attention to detail
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?
True – 1, 2; False – 3, 4
True – 2, 3; False – 1, 4
True – 1, 2, 4; False – 3
True – 1, 4; False – 2, 3
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?
Integration testing
Acceptance testing
System testing
Component testing
Which of the following statements about test types and test levels is CORRECT?
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
Functional testing can be performed at any test level, while white-box testing is restricted to component testing
It is possible to perform functional, non-functional and white-box testing at any test level
Functional and non-functional testing can be performed at any test level, while white-box testing is restricted to component and integration testing
Which of the following statements BEST compares the purposes of confirmation testing and regression testing?
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
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
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
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
Which of the following statements CORRECTLY describes a role of impact analysis in Maintenance Testing?
Impact analysis is used when deciding if a fix to a maintained system is worthwhile
Impact analysis is used to identify how data should be migrated into the maintained system
Impact analysis is used to decide which hot fixes are of most value to the user
Impact analysis is used to determine the effectiveness of new maintenance test cases
Which of the following statements CORRECTLY reflects the value of static testing?
By introducing reviews, we have found that both the quality of specifications and the time required for development and testing have increased
Using static testing means we have better control and cheaper defect management due to the ease of detecting defects later in the lifecycle
Now that we require the use of static analysis, missed requirements have decreased and communication between testers and developers has improved
Since we started using static analysis, we find coding defects that might have not been found by performing only dynamic testing
Which of the following statements on the use of checklists in a formal review is CORRECT?
As part of the review planning, the reviewers create the checklists needed for the review
As part of the issue communication, the reviewers fill in the checklists provided for the review
As part of the review meeting, the reviewers create defect reports based on the checklists provided for the review
As part of the review initiation, the reviewers receive the checklists needed for the review
Which of the following CORRECTLY matches the roles and responsibilities in a formal review?
Manager – Decides on the execution of reviews
Review Leader - Ensures effective running of review meetings
Scribe – Fixes defects in the work product under review
Moderator – Monitors ongoing cost-effectiveness
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?
Informal Review
Walkthrough
Technical Review
Inspection
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 of requirements?
6-10, 6-15, 7-12
6-15, 9-11
6-10, 6-15, 9-11
6-15, 7-12
Which of the following provides the BEST description of exploratory testing?
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
An approach to testing whereby the testers dynamically designs and execute tests based on their knowledge, exploration of the test item and the results of previous tests
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
Testing based on the tester's experience, knowledge and intuition
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
Black – 4, 5 White – 1, 2; Experience – 3
Black – 3 White – 1, 2; Experience – 4, 5
Black – 4 White – 1, 2; Experience – 3, 5
Black – 1, 3, 5 White – 2; Experience – 4
A fitness app measures the number of steps that are walked each day and provides feedback to encourage the user to keep fit. The feedback for different numbers of steps should be: Up to 1000 - Couch Potato! Above 1000, up to 2000 - Lazy Bones! Above 2000, up to 4000 - Getting There! Above 4000, up to 6000 - Not Bad! Above 6000 - Way to Go! Which of the following sets of test inputs would achieve the BEST equivalence partition coverage?
0, 1000, 2000, 3000, 4000
1000, 2001, 4000, 4001, 6000
123, 2345, 3456, 4567, 5678
666, 999, 2222, 5555, 6666
A daily radiation recorder for plants produces a sunshine score based on a combination of the number of hours a plant is exposed to the sun (below 3 hours, 3 to 6 hours or above 6 hours) and the average intensity of the sunshine (very low, low, medium, high). Given the following test cases:What is the minimum number of additional test cases that are needed to ensure full coverage of ALL VALID INPUT equivalence partitions?
1
2
3
4
A smart home app measures the average temperature in the house over the previous week and provides feedback to the occupants on their environmental friendliness based on this temperature. The feedback for different average temperature ranges (to the nearest °C) should be: Up to 10°C - Icy Cool! 11°C to 15°C - Chilled Out! 16°C to 19°C - Cool Man! 20°C to 22°C - Too Warm! Above 22°C - Hot & Sweaty! Using BVA (only Min- and Max values), which of the following sets of test inputs provides the highest level of boundary coverage?
0°C, 11°C, 20°C, 22°C, 23°C
9°C, 15°C, 19°C, 23°C, 100°C
10°C, 16°C, 19°C, 22°C, 23°C
14°C, 15°C, 18°C, 19°C, 21°C, 22°C
Decision table testing is being performed on a speeding fine system. Two test cases have already been generated for rules R1 and R4, which are shown below:
DT1, DT2
DT2, DT3
DT2, DT4
DT3, DT4
Given the following state model of a battery charger software, Which of the following sequences of transitions provides the highest level of transition coverage for the model?
OFF → WAIT → OFF → WAIT → TRICKLE → CHARGE → HIGH → CHARGE → LOW
WAIT → TRICKLE → WAIT → OFF → WAIT → TRICKLE → CHARGE → LOW → CHARGE
HIGH → CHARGE → LOW → CHARGE → TRICKLE → WAIT → TRICKLE → WAIT → TRICKLE
WAIT → TRICKLE → CHARGE → HIGH → CHARGE → TRICKLE → WAIT → OFF → WAIT
Which of the following statements BEST describes how test cases are derived from a use case?
Test cases are created to exercise defined basic, exceptional and error behaviors performed by the system under test in collaboration with actors
Test cases are derived by identifying the components included in the use case and creating integration tests that exercise the interactions of these components
Test cases are generated by analyzing the interactions of the actors with the system to ensure the user interfaces are easy to use
Test cases are derived to exercise each of the decision points in the business process flows of the use case, to achieve 100% decision coverage of these flows
Which of the following descriptions of statement coverage is CORRECT?
Statement coverage is a measure of the number of lines of source code exercised by tests
Statement coverage is a measure of the proportion of executable statements in the source code exercised by tests
Statement coverage is a measure of the percentage of lines of source code (without comments) exercised by tests
Statement coverage is a measure of the number of executable statements in the source code exercised by tests
Which of the following descriptions of decision coverage is CORRECT?
Decision coverage is a measure of the percentage of possible paths through the source code exercised by tests
Decision coverage is a measure of the percentage of business flows through the component exercised by tests
Decision coverage is a measure of the ‘if’ statements in the code that are exercised with both the true and false outcomes
Decision coverage is a measure of the proportion of decision outcomes in the source code exercised by tests
Which of the following BEST describes the concept behind error guessing?
Error guessing requires you to imagine you are the user of the test object and guess mistakes the user could make interacting with it
Error guessing involves using your personal experience of development and the mistakes you made as a developer
Error guessing involves using your knowledge and experience of defects found in the past and typical mistakes made by developers
Error guessing requires you to rapidly duplicate the development task to identify the sort of mistakes a developer might make
Which of the following BEST explains a benefit of independent testing?
The use of an independent test team allows project management to assign responsibility for the quality of the final deliverable to the test team, so ensuring everyone is aware that quality is the test team’s overall responsibility
If a test team external to the organization can be afforded, then there are distinct benefits in terms of this external team not being so easily swayed by the delivery concerns of project management and the need to meet strict delivery deadlines
An independent test team can work totally separately from the developers, need not be distracted with changing project requirements, and can restrict communication with the developers to defect reporting through the defect management system
When specifications contain ambiguities and inconsistencies, assumptions are made on their interpretation, and an independent tester can be useful in questioning those assumptions and the interpretation made by the developer
Which of the following tasks is MOST LIKELY to be performed by the test manager?
Write test summary reports based on the information gathered during testing
Review tests developed by others
Prepare and acquire test data
Analyze, review, and assess requirements, specifications and models for testability
Given the following examples of entry and exit criteria: 1. The original testing budget of $30,000 plus contingency of $7,000 has been spent 2. 96% of planned tests for the drawing package have been executed and the remaining tests are now out of scope 3. The trading performance test environment has been designed, set-up and verified 4. Current status is no outstanding critical defects and two high-priority ones 5. The autopilot design specifications have been reviewed and reworked 6. The tax rate calculation component has passed unit testing. Which of the following BEST categorizes them as entry and exit criteria:
Entry criteria – 5, 6; Exit criteria – 1, 2, 3, 4
Entry criteria – 2, 3, 6; Exit criteria – 1, 4, 5
Entry criteria – 1, 3; Exit criteria – 2, 4, 5, 6
Entry criteria – 3, 5, 6; Exit criteria – 1, 2, 4
Given the following priorities and dependencies for these test cases:Which of the following test execution schedules BEST considers the priorities and technical and logical dependencies?
TC1 – TC3 – TC4 – TC6 – TC2 – TC5
TC4 – TC3 – TC1 – TC2 – TC5 – TC6
TC4 – TC1 – TC3 – TC5 – TC6 – TC2
TC4 – TC2 – TC5 – TC1 – TC3 – TC6
Which of the following statements about test estimation approaches is CORRECT?
With the metrics-based approach, the estimate is based on test measures from the project and so this estimate is only available after the testing starts
With the expert-based approach, a group of expert users identified by the client recommends the necessary testing budget
With the expert-based approach, the test managers responsible for the different testing activities predict the expected testing effort
With the metrics-based approach, an average of the testing costs recorded from several past projects is used as the testing budget
Which of the following BEST defines risk level?
Risk level is calculated by adding together the probabilities of all problem situations and the financial harm that results from them
Risk level is estimated by multiplying the likelihood of a threat to the system by the chance that the threat will occur and will result in financial damage
Risk level is determined by a combination of the probability of an undesirable event and the expected impact of that event
Risk level is the sum of all potential hazards to a system multiplied by the sum of all potential losses from that system
Which of the following is MOST likely to be an example of a PRODUCT risk?
The expected security features may not be supported by the system architecture
The developers may not have time to fix all the defects found by the test team
The test cases may not provide full coverage of the specified requirements
The performance test environment may not be ready before the system is due for delivery
Which of the following is LEAST likely to be an example of product risk analysis CORRECTLY influencing the testing?
The potential impact of security flaws has been identified as being particularly high, so security testing has been prioritized ahead of some other testing activities
Testing has found the quality of the network module to be higher than expected, so additional testing will not be performed in that area
The users had problems with the user interface of the previous system, so additional usability testing is planned for the replacement system
The time needed to load web pages is crucial to the success of the new website, so an expert in performance testing has been employed for this project
You are performing system testing of a train reservation system. Based on the test cases performed, you have noticed that the system occasionally reports that no trains are available, although this should actually be the case. You have provided the developers with a summary of the defect and the version of the tested system. They recognize the urgency of the defect and are now waiting for you to provide further details. In addition to the information already provided, the following additional information is given: 1. Degree of impact (severity) of the defect 2. Identification of the test item 3. Details of the test environment 4. Urgency/priority to fix 5. Actual results 6. Reference to test case specification Which of this information is most useful to include in the defect report?
1, 2, 6
1, 4, 5, 6
2, 3, 4, 5
3, 5, 6
Given the following test activities and test tools: 1. Performance measurement and dynamic analysis 2. Test execution and logging 3. Management of testing and testware 4. Test design A. Requirements coverage tools B. Dynamic analysis tools C. Test data preparation tools D. Defect management tools Which of the following BEST matches the activities and tools?
1 – B, 2 – C, 3 – D, 4 – A
1 – B, 2 – A, 3 – C, 4 – D
1 – B, 2 – A, 3 – D, 4 – C
1 – A, 2 – B, 3 – D, 4 – C
Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization?
The need to evaluate how the tool fits with existing processes and practices and determining what would need to change
The need to evaluate the test automation skills and training, mentoring and coaching needs of the testers who will use the tool
The need to evaluate whether the tool provides the required functionality and does not duplicate existing test tools
The need to evaluate the tool vendor in terms of the training and other support they provide
Which one of the following answers describes a test condition?
A distinguishing characteristic of a component or system
A testable aspect of a component or system identified as a basis for testing
The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions
Test cases designed to execute combinations of conditions and actions resulting from them
Which of the following statements is a valid objective for testing?
The test should start as late as possible so that development had enough time to create a good product
To validate whether the test object works as expected by the users and other stakeholders
To prove that all possible defects are identified
To prove that any remaining defects will not cause any failures
Which of the following statements correctly describes the difference between testing and debugging?
Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities
Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the source of failures
Testing does not remove faults; but debugging removes defects that cause the faults
Dynamic testing prevents the causes of failures; debugging removes the failures
Which one of the statements below describes the most common situation for a failure discovered during testing or in production?
The product crashed when the user selected an option in a dialog box
The wrong version of a compiled source code file was included in the build
The computation algorithm used the wrong input variables
The developer misinterpreted the requirement for the algorithm
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?
Testing depends on the environment
Exhaustive testing is not possible
Repeating of same tests will not find new defects
Defects cluster together
In what way can testing be part of Quality Assurance?
It ensures that requirements are detailed enough
Testing reduces the risk of poor software quality
It ensures that standards in the organization are followed
It measures the quality of software in terms of number of executed test cases
Which of the following activities is part of the main activity "test analysis" in the test process?
Identifying any required infrastructure and tools
Creating test suites from test scripts
Analyzing lessons learned for process improvement
Evaluating the test basis for testability
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
1A, 2C, 3B, 4D
1D, 2B, 3A, 4C
1A, 2C, 3D, 4B
1D, 2C, 3B, 4A
How can white-box testing be applied during acceptance testing?
To check if large volumes of data can be transferred between integrated systems
To check if all code statements and code decision paths have been executed
To check if all work process flows have been covered
To cover all web page navigations
Which of the following statements comparing component testing and system testing is TRUE?
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
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
Component testing only focuses on functional characteristics, whereas system testing focuses on functional and non-functional characteristics
Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users of the system
Which one of the following is TRUE?
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
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
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 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
Which one of the following is the BEST definition of an incremental development model?
Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added
A phase in the development process should begin when the previous phase is complete
Testing is viewed as a separate phase which takes place after development has been completed
Testing is added to development as an increment
Which of the following should NOT be a trigger for maintenance testing?
Decision to test the maintainability of the software
Decision to test the system after migration to a new operating platform
Decision to test if archived data is possible to be retrieved
Decision to test after “hot fixes”
Which of the following options are roles in a formal review?
Developer, Moderator, Review leader, Reviewer, Tester
Author, Moderator, Manager, Reviewer, Developer
Author, Manager, Review leader, Reviewer, Designer
Author, Moderator, Review leader, Reviewer, Scribe
Which activities are carried out within the planning of a formal review?
Collection of metrics for the evaluation of the effectiveness of the review
Answer any questions the participants may have
Definition and Verification of fulfillment of entry criteria for the review
Evaluation of the review findings against the exit criteria
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?
Informal Review
Technical Review
Inspection
Walkthrough
Which of the following statements about static testing are MOST true?
Static testing is a cheap way to detect and remove defects
Static testing makes dynamic testing less challenging
Static testing makes it possible to find run-time problems early in the lifecycle
When testing safety-critical system, static testing has less value because dynamic testing finds the defects better
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 concludes the review with an official review done-comment." Which of the following statements about your review is correct?
Point ii) of the checklist has been violated because it is not clear which condition must be fulfilled in order to invite to the review
You notice that in addition to the tester and the verifier, the validator must also be invited. Since this item is not part of your checklist, you do not create a corresponding comment
Point iii) of the checklist has been violated as it is not clear what marks the review as completed
Point i) of the checklist has been violated because it is not clear who is providing the checklist for the invitation to the review
What is checklist-based testing?
A test technique in which tests are derived based on the tester's knowledge of past faults, or general knowledge of failures
A test technique based on an analysis of the specification of a component or system
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
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
Which one of the following options is categorized as a black-box test technique?
A technique based on analysis of the architecture
A technique checking that the test object is working according to the detailed design
A technique based on the knowledge of past faults, or general knowledge of failures
A technique based on formal requirements
{"name":"ISTQB Foundation Level sample test", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of software testing concepts with our engaging ISTQB Foundation Level sample quiz.This quiz features multiple-choice questions covering various topics, including:Quality assurance fundamentalsTesting principles and practicesDefect managementAgile testing approaches","img":"https:/images/course1.png"}
Powered by: Quiz Maker