Software Testing Fundamentals, Exams of Advanced Education

Key concepts and principles of software testing, including the objectives of testing, the differences between testing and debugging, the types of testing (e.g., component testing, system testing), the test process (e.g., test analysis, test design, test execution), and the role of reviews and static testing. It also discusses testing strategies, test metrics, and the use of test tools. A comprehensive overview of the fundamental aspects of software testing, which are essential for ensuring the quality and reliability of software products. The information presented can be useful for software developers, testers, and project managers to understand the importance of testing and the best practices for effective software testing.

Typology: Exams

2024/2025

Available from 10/14/2024

cate-mentor
cate-mentor 🇺🇸

1

(2)

2.6K documents

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ISTQB Foundation Level Test
Which of the following answers describes a test condition?
a) A distinguishing characteristic of a component or system
b) A testable aspect of a component or system identified as a basis for testing
c) The degree to which a software product provides functions which meet stated and implied needs
when the software is used under specified conditions
d) test cases designed to execute combinations of conditions and actions resulting from them - B
Which of the following statements is a valid objective for testing?
a) The test should start as late as possible so that development had enough time to create a good
product
b) To validate whether the test object works as expected by the users and other stakeholders
c) To prove that all possible defects are identified
d) To prove that any remaining defects will not cause any failures - B
Which of the following statements correctly describes the difference between testing and debugging?
a) Testing identifies the source of defects; debugging analyzes the defects and proposes prevention
activities
b) Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the
source of failures
c) Testing does not remove faults; but debugging removes defects that cause the faults
d) Dynamic testing prevents the causes of failures; debugging removes the failures - B
Which one of the statements below describes the most common situation for a failure discovered during
testing or in production?
a) The product crashed when the user selected an option in a dialog box
b) The wrong version of a compiled source code file was included in the build
c) The computation algorithm used the wrong input variables
d) The developer misinterpreted the requirement for the algorithm - A
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Software Testing Fundamentals and more Exams Advanced Education in PDF only on Docsity!

ISTQB Foundation Level Test

Which of the following answers describes a test condition? a) A distinguishing characteristic of a component or system b) A testable aspect of a component or system identified as a basis for testing c) The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions d) test cases designed to execute combinations of conditions and actions resulting from them - B Which of the following statements is a valid objective for testing? a) The test should start as late as possible so that development had enough time to create a good product b) To validate whether the test object works as expected by the users and other stakeholders c) To prove that all possible defects are identified d) To prove that any remaining defects will not cause any failures - B Which of the following statements correctly describes the difference between testing and debugging? a) Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities b) Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the source of failures c) Testing does not remove faults; but debugging removes defects that cause the faults d) Dynamic testing prevents the causes of failures; debugging removes the failures - B Which one of the statements below describes the most common situation for a failure discovered during testing or in production? a) The product crashed when the user selected an option in a dialog box b) The wrong version of a compiled source code file was included in the build c) The computation algorithm used the wrong input variables d) The developer misinterpreted the requirement for the algorithm - A

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? a) Testing depends on the environment b) Exhaustive testing is not possible c) Repeating of the same tests will not find new defects d) Defects cluster together - C In what way can testing be part of Quality Assurance? a) It ensures that requirements are detailed enough b) Testing reduces the risk of poor software quality c) It ensures that standards in the organization are followed d) It measures the quality of software in terms of number of executed test cases - B Which of the following activities is part of the main activity "test analysis" in the test process? a) Identifying any required infrastructure and tools b) Creating test suites from test scripts c) Analyzing lessons learned for process improvement d) Evaluating the test basis for testability - D 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

c) The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check the original defect has been fixed d) The purpose of regression testing is to check if the new functionality is working, well the purpose of confirmation testing is to check if the original defect has been fixed - C Which one of the following is the BEST definition of an incremental development model? a) Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added b) A phase in the development process should begin when the previous phase is complete c) Testing is viewed as a separate phase which takes place after development has been completed d) Testing is added to development as an increment - A Which of the following should not trigger for maintenance testing? a) Decision to test the maintainability of the software b) Decision to test the system after migration to a new operating platform c) Decision to test if archived data is possible to be retrieved d) Decision to test after "hot fixes" - A Which of the following options are roles in a formal review? a) Developer, Moderator, Review leader, Reviewer, Tester b) Author, Moderator, Reviewer, Designer c) Author, Manager, Review leader, Reviewer, Designer d) Author, Moderator, Review leader, Reviewer, Scribe - D Which activities are carried out within the planning of a formal review? a) Collection of metrics for the evaluation of the effectiveness of the review b) Answer any questions the participants may have c) Definition and verification of fulfillment of entry criteria for the review d) Evaluation of the review findings against the exit criteria - C

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? a) Informal Review b) Technical Review c) Inspection d) Walkthrough - C Which of the following statements about static testing are MOST true? a) Static testing is a cheap way to detect and remove defects b) Static testing makes Dynamic testing less challenging c) Static testing makes it possible to find run-time problems early in the life cycle d) When testing safety-critical system, static testing has less value because dynamic testing finds the defects better - A 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 exerpt 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 cr - D

b) It is a metric, which is the percentage of statements in the source code that have been executed c) It is a metric, which is the number of statements in the source code that have been executed by test cases that are passed d) It is a metric, that gives a true/false confirmation if all statements are covered or not - B Which statement about the relationship between statement coverage and decision coverage is true? a) 100% decision coverage also guarantees 100% statement coverage b) 100% statement coverage also guarantees 100% decision coverage c) 50% decision coverage also guarantees 50% statement coverage d) Decision coverage can never reach 100% - A For which of the following situations is exploratory testing suitable? a) When time pressure requires speeding up the execution of tests already specified b) When the system is developed incrementally, and no test charter is available c) When testers are available who have enough knowledge of similar applications and technologies d) When in advance knowledge of the system already exists, and evidence is to be provided that it should be tested intensively - C An employee's bonus is to be calculated. it cannot be negative, but it can be calculated down to zero. The bonus is based on the length of employment:

  • less than or equal to 2 years
  • more than 2 years but less than 5 years
  • 5 to 10 years inclusively
  • longer than 10 years What is the minimum number of test cases required to cover all valid equivalents partitions for the calculating the bonus? a) 3 b) 5

c) 2 d) 4 - D A speed control and reporting system has the following characteristics:

  • If you drive 50 km/h or less, nothing will happen
  • If you drive faster than 50 km now, but no more than 55 km/h, you will be fined
  • If you drive faster than 55 km/h but not more than 60 km/h, your driving license will be suspended
  • If you drive faster than 60 km/h, your driving license will be suspended
  • The speed in km/h is available to the system as an integer value Which would be the most likely set of values (km/h) identified by applying the boundary value analysis, where only the values of the boundaries on the equivalence classes are selected? a) 0, 49, 50, 54, 59, 60 b) 50, 55, 60 c) 49, 50, 54, 55, 60, 62 d) 50, 51, 55, 56, 60, 61 - D a company's employees are paid bonuses if they work more than a year in the company and achieve a Target which is individually agreed before. These facts can be shown in a decision table: 1 Empl > 1 year? YES NO NO YES 2 Agreed target? NO NO YES YES 3 Achieved target? NO NO YES YES Result Bonus? NO NO NO YES which of the following test cases represent a situation that can happen in real life and is missing in the above decision table?

d) the test manager plans and organizes the testing and specifies the test cases while the tester executes the tests - B which of the following metrics would be most useful to monitor during test execution? a) percentage of executed test cases b) average number of testers involved in the test execution c) coverage of requirements by source code d) percentage of test cases already created and reviewed - A which of the following can affect and be a part of the (initial) test planning? a) budget limitations b) test log c) failure rate d) use cases - A which of the following lists contains only typical exit criteria from testing? a) reliability measures, test coverage schedule and status about fixing defect and remaining risks b) reliability measures, test coverage, degree of testers Independence and products completeness c) reliability measures, test coverage, test cost, availability of test environment, time to market and product completeness d) time to market, remaining defects, tester qualification, availability of testable use cases, test coverage and test cost - A which of the following is not included in a test summary report? a) defining pass/fail criteria and objectives of testing b) deviations from the test approach c) measurements of actual progress against exit criteria

d) evaluation of the quality of the test object - A the project develops a smart heating thermostat. the control algorithms of thermostat were modeled as Matlab/Simulink models and run on the Internet connected server. The thermostat uses the specifications of the server to trigger the heating valves. The test manager has defined the following test strategy/approach in the test plan

  1. the acceptance test for the whole system is executed as an experienced-based test
  2. the control algorithms on the server are checked against standard of the energy saving regulation
  3. the functional test of the thermostat is performed as risk-based testing
  4. the security tests of data/communication via the Internet are executed together with external security experts what four common types of test strategies/approaches did the test manager implement in the test plan? a) methodical, analytical, reactive and regression-averse b) analytical, standard-compliant, consultative and reac - B which one of the following is the characteristic of a metrics-based approach for test estimation? a) budget which was used by a previous similar test project b) overall experience collected in interviews with test managers c) estimation of effort for test automation agreed in the test team d) average of calculations collected from business - A 37 diagram - C list 38 - B