ISTQB 2018 Foundation Software Testing 1

Description

ISTQB - Foundation Level Foundation - Certified Tester Quiz on ISTQB 2018 Foundation Software Testing 1, created by Robyn Babbage on 13/11/2018.
Robyn Babbage
Quiz by Robyn Babbage, updated more than 1 year ago
Robyn Babbage
Created by Robyn Babbage over 5 years ago
5295
0

Resource summary

Question 1

Question
During the test process of an Internet of Things software, a defect was discovered, but it was not corrected due to the release deadline. After the release, it has not yet caused a failure. A test team decides to fix this defect. Which trigger for maintenance is described in this scenario?
Answer
  • Upgrade of the software
  • Migration
  • Corrective change
  • Introduction of completely new or modified thing into the system

Question 2

Question
Consider the following activities: (i) Implementing an automated test case (ii) Performing the review of the architectural design (iii) Checking grammar and spelling of a user manual (iv) Planning test activities (v) Designing a test case Select all the activities that are part of the testing process.
Answer
  • (i), (iv), and (v)
  • (ii) and (v)
  • (i), (iii), and (iv)
  • (i), (ii), (iii), (iv), (v)

Question 3

Question
Consider the piece of code: You executed a predefined set of test cases for this code. Which of the following guarantees that in at least one of these test cases, the while loop was executed at least once?
Answer
  • A set of test cases achieved 50% decision coverage.
  • A set of test cases achieved 100% statement coverage.
  • One of these tests executes the code with NumberOfValues = 0.
  • There are at least two test cases in the test suite.

Question 4

Question
You test the autopilot system for the airplanes. You want to perform the tests that check the correctness of the communication between two modules of this system: geolocalisation module and engine controller. Which of the following would be the best example of a test basis for designing your tests?
Answer
  • Detailed design of the geolocalisation module
  • Architectural design
  • Risk analysis reports
  • Legal regulations in the field of avionics

Question 5

Question
Choose the correct sequence of events.
Answer
  • A mistake results in defect, which in turn may result in a failure.
  • A defect results in a mistake, which in turn may result in a failure.
  • A failure results in a mistake, which in turn may result in a defect.
  • A defect results in a failure, which in turn may result in a mistake.

Question 6

Question
You test a system that computes the pass/fail result for a student who attends a lecture on software testing. The lecture consists of laboratories and exam. For each of these two parts, a student can get from 0 to 50 points (it is always an integer number). The final evaluation is based on the following rule (Please see image) You want to apply the equivalence partitioning technique to a FinalResult variable. Assume that each test is a pair (L, E). Which set of test cases covers all valid equivalence classes?
Answer
  • (1, 50); (50, 50)
  • (39, 19); (28, 23)
  • (0, 50); (50, 0)
  • (35, 15); (40, 20)

Question 7

Question
You work as a tester in a software house and you concurrently work on two projects. One of them is an internal tool for on-line room reservation, done within an agile life cycle. The other one is a commercial software for managing hospital patients' data, conducted in the waterfall model. In one month, new versions of both systems will be released. You don't have time to perform all the planned tests for both systems. You decide to focus on testing the commercial system. Select the correct answer.
Answer
  • This is a good decision, because the commercial software is much more important for the company than the internal system.
  • This is a bad decision, because critical defects can occur in both systems, and one of them will not be tested.
  • This is a bad decision, because testing commercial project will be much more expensive than testing the internal one.
  • This is a good decision, because the waterfall model requires testing during the end of the project.

Question 8

Question
Figure 6.1 presents the set of test cases you want to execute. An arrow from a test case A to B indicates logical dependencies between these test cases: the execution of B is possible only after the execution of A. The number in parentheses represent the priorities of test cases (1= the highest, 5= the lowest). In your strategy, you want to prioritise the execution sequence regarding the test priority. Which test case should be executed as the fifth one?
Answer
  • TC2
  • TC7
  • TC5
  • TC6

Question 9

Question
Consider the collapsed decision table presented in Table 6.1 that describes the business rules for admitting a free bus ticket. Assume that a test consists of three Boolean values corresponding to three conditions. Which of the following tests demonstrates that the business ruled described in the table are contradictory?
Answer
  • (member of parliament = TRUE, disabled = FALSE, student = TRUE)
  • (member of parliament = TRUE, disabled = TRUE, student = FALSE)
  • (member of parliament = FALSE, disabled = FALSE, student = TRUE)
  • (member of parliament = FALSE, disabled = FALSE, student = FALSE)

Question 10

Question
You test a system that produced very big output files. Their structure must follow some set of predefined rules. The expected result of a test case is the file that follows these rules. You want to execute a set of test cases. Suppose you have a tool that takes two files as an input and returns TRUE if they are identical and FALSE otherwise. What would be the type of this tool in this case?
Answer
  • A test oracle
  • A comparator
  • A test data generator
  • A monitoring tool

Question 11

Question
Match the actions with the corresponding work product review activities. Action 1 - Distribution of the work product Action 2 - Noting questions and recommendations about the work product Action 3 - Allocating roles Activity a - Individual review Activity b - Planning Activity c - Initiating the review
Answer
  • 1b, 2a, 3c
  • 1c, 2a, 3b
  • 1a, 2b, 3c
  • 1b, 2c, 3a

Question 12

Question
A tester, together with a developer, architect, and test manager, participates in the inspection of an architectural design of a component. The design was done by the architect. During the inspection, the test manager finds an error int he design. After the inspection, the tester creates the new, corrected version of the design. Using the new design, the developer implements the component. Who performed the debugging?
Answer
  • Tester
  • Developer
  • Architect
  • Test manager

Question 13

Question
If there are n binary decisions in the code, and there are no other decisions apart from these ones, what is the total number of coverage elements for the decision coverage?

Question 14

Question
The client of a system under test is interested primarily in a high availability of this system. One of his requirements is as follows: " The system may be unavailable no more often than 1 hour per week." You prepare a test report designed specifically for the client, regarding the above-mentioned requirement. The report covers the data from the period of last week. Which information should contain this report?
Answer
  • Number of test cases executed, number of test cases that failed, number of test cases that passed
  • Number of defects found, number of defects fixed
  • Total repairing time
  • Mean time between failures, number of failures

Question 15

Question
You work as a tester in a project for a dedicated client. You have a set of automated test cases, which are traced back to the functional requirements and to the software components. Each functional requirement is traced back to one or more risk items. Suppose that in a certain moment, risk level of one of the risk items has changed. Using the impact analysis, what can we infer from this fact? (i) Which requirements may be affected by this change? (ii) Which test cases may be affected by this change? (iii) Which software components may be affected by this change?
Answer
  • We can infer about (i); we cannot infer about (ii) and (iii)
  • We can infer about (i), (ii), and (iii)
  • We can infer about (i) and (ii); we cannot infer about (iii)
  • We can infer about (iii); we cannot infer about (i) and (ii)

Question 16

Question
Which of the below information affects the testing effort and at the same time is the outcome of the testing itself?
Answer
  • The size of the product
  • The number of testers
  • The client requirements
  • The number of defects found

Question 17

Question
A moderator was asked to organise a code review (walkthrough) of a component X for a group of developers. He organised an inspection and invited an author of X and a team of testers. Based on this scenario, which type(s) of the success factors for reviews are missing?
Answer
  • Neither organisational nor people-related success factors are missing
  • Only a certain people-related success factor is missing
  • Only a certain organisational success factor is missing
  • Both organisational and people-related success factors are missing

Question 18

Question
You test the program that takes a sequence of numbers as the input and returns these numbers sorted. Before you start your testing, you get the idea (without referring to any documentation) to check what happens, if you enter the empty set of numbers as the input. This is an example of which technique?
Answer
  • Black-box testing
  • White-box testing
  • Error guessing
  • Checklist-based testing

Question 19

Question
Which of the following gives the best description of a decision table testing?
Answer
  • A technique for representing complex business rules, by identifying conditions and the resulting actions.
  • A technique for representing a behaviour of a test item depending on current conditions or previous history
  • A technique for representing a sequence of decisions undertaken by a subject in collaboration with one or more actors.
  • A technique for deriving test cases that exercise the decisions in the code and for testing the code that is executed based on the decision outcomes.

Question 20

Question
Which sentence explains correctly the importance of performing regression test regarding the SDLC model chosen?
Answer
  • Regression testing is important in incremental models, because after adding an increment, we need to check if it did not cause problems in other, already developed , parts of the system.
  • Regression testing is important during the system testing, because regression testing is usually performed on a system that allows end-to-end testing, no matter which SDLC model is chosen.
  • Regression testing is important in a waterfall model, because in the sequential models, testing is performed in the late phases, when the system is already implemented, so the testing effort will be usually bigger than in case of incremental models.
  • Regression testing is important in the iterative SDLC models, because these models put a strong emphasis on the constant interaction between end users, testers, and developers.

Question 21

Question
Software development models must be adapted to:
Answer
  • Testing model
  • User requirements
  • Testing process
  • Context of the project

Question 22

Question
A system calculates the bonus for airplane pilots. The bonus is based on the total number of flying hours, which is the sum of the number of hours on a flight simulator and the number of hours on regular flights. The business rules R1 - R5 for admitting the bonus are presented in the following decision table. Which of the following sets of test inputs is a minimal set that achieves the equivalence partitioning coverage for the output value? Assume each test input is a pair (s,f), where s denotes the simulator hours and f-flight hours.
Answer
  • (25, 300), (200, 199), (150, 345), (350, 0), (227, 101)
  • (0,0), (101, 0), (200, 207), (200, 99), (205, 210)
  • (90, 0), (120, 90), (210, 80), (200, 201)
  • (0, 300), (200, 50), (300, 50), (300, 300)

Question 23

Question
Recently, your organisation outsourced the test team for conducting the performance testing. You talk with a developer, who told you that it was a very good idea, because now they - developers - do not need to care so much about the performance issues, as they will be found by the test team. This is an example of:
Answer
  • Benefit of test independence, as developers may focus on other activities.
  • Benefit of test independence, as the outsourced testing team may see other and different defects and is unbiased.
  • Drawback of test independence, as the outsourced team is isolated from the developers.
  • Drawback of test independence, as some of the team members may lose a sense of responsibility for quality.

Question 24

Question
Which of the following can be the root cause of the fact that a developer implemented an ineffective algorithm?
Answer
  • Poor performance of the system.
  • Acceptance testing done by testers in the client's location, not by client.
  • Developer's lack of education in the area of algorithms and complexity.
  • Memory leaks that occurred after a long time of the software operation.

Question 25

Question
Which of the following is an example of the analytical test strategy?
Answer
  • Designing software models and then deriving test cases from these models.
  • Prioritising the test execution with respect to the related risk levels.
  • Performing fault attacks with the use of predesigned checklist containing the types of defects that had occurred in the past in other projects.
  • Automating extensively functional regression tests.

Question 26

Question
Select the right relation between quality assurance, quality control, and testing.
Answer
  • Testing is a synonym of quality assurance, which is a part of quality control.
  • Testing is a form of quality control, which is a part of quality assurance.
  • Quality control is a form of quality assurance, which is a synonym for testing.
  • Quality control is a synonym of quality assurance, which is part of testing.

Question 27

Question
Your company has recently published an official document describing how to perform static analysis of a source code. Can this document be a subject to static analysis?
Answer
  • Yes, because every software work product can be examined using static techniques.
  • No, because we would have to apply the rules described in the document to themselves.
  • No, because the document describes how to perform a static analysis of a source code, but the document itself is not a source code.
  • No, because static analysis can be performed only for specifications and source code.

Question 28

Question
Which of the following is the benefit of using the checklist-based testing?
Answer
  • It allows us to appreciate the nonfunctional testing, which is often underestimated.
  • It allows us to test effectively in absence of formal requirements.
  • It allows us to take advantage of the tester's expert knowledge.
  • It allows us to test in a more consistent way.

Question 29

Question
Risk level is characterised by:
Answer
  • Likelihood and priority
  • Probability and impact
  • Severity and priority
  • Product risks and project risks

Question 30

Question
Table 6.2 shows all the valid transitions of some state machines with three states: Initial, LoginPage, and WelcomePage. Assuming there are only four possible events in the system: GoToLogin, LoginOK, LoginNotOk, LogOut, how many invalid transitions are in this state machine?
Answer
  • 8
  • 0
  • 4
  • 12

Question 31

Question
Which of the following are the examples of the metrics-based approach and which are the examples of the expert based approach? (i) Planning poker (ii) Wideband Delphi (iii) Burndown chart (iv) Software reliability model
Answer
  • (i) and (ii) are metric based; (iii) and (iv) are expert based.
  • (i), (iii), and (iv) are metric based; (iv) is expert based.
  • (iii) and (iv) are metric based; (i) and (ii) are expert based.
  • (ii) is metric based; (i), (iii), and (iv) are expert based.

Question 32

Question
Testers may test the software more efficient than developers, because:
Answer
  • Testers may have programming skills.
  • Testers usually do not have programming skills.
  • Developers' responsibility is to write code, not to test it.
  • Developers have the emotional attitude to their code.

Question 33

Question
You test the online reservation system for a hotel chain. Consider the artifact (ID003). This artifact is an example of:
Answer
  • Test suite
  • Low- level test case
  • Test condition
  • High-level test case

Question 34

Question
You perform an ad-hoc review of the model of a process that realises the following business requirement.: "User can send any file of size at most 1 GB through a web form. If the file size exceed this bound, the system should reject the file, clear the form, and return to the initial state. Otherwise, the system accepts the file." The model under review is presented in Fig. 6.2. What type of defect in the model can you uncover during the review?
Answer
  • Wrong design, because there is a potentially infinite loop.
  • Inconsistency with the requirement regarding the business rule.
  • Ambiguity, because the model does not say what file types are accepted.
  • There are no defects - the model conforms to the business requirement.

Question 35

Question
A shopping discount system takes as an input the total price T (a positive integer with precision of 1 cent), rounds it to the nearest integer value (in dollars), and basing on this value calculates a discount using the rules presented in Table 6.3. You want to test if the system correctly calculates the discount for a given total price T. Which of the following is a set of boundary values for one of the equivalence classes of a variable T? Assume that you follow 2-point boundary value analysis.
Answer
  • $0.01, $99.49
  • $0, $100
  • $100, $299
  • $299.49, $299.50

Question 36

Question
Which of the following is a clear advantage of static testing over dynamic testing?
Answer
  • Static techniques can locate defects other than dynamic techniques.
  • Static techniques are cheaper than dynamic techniques.
  • Static techniques can detect defects earlier than dynamic techniques.
  • Static techniques can detect failures, while dynamic techniques are only able to find defects.

Question 37

Question
You write a defect report with an intention to provide developers a sufficient information to reproduce defect as quick as possible. The current form of our report looks as follows: (Please see image) Which additional information in the defect report will be the most beneficial in this scenario?
Answer
  • Your name and date of the defect occurrence.
  • Information about the form name and system version.
  • Information that you suspect that there is a problem with the database, which fails to write a record when a postal code is empty.
  • Information about defect priority and severity.

Question 38

Question
Consider the use case describing the course enrolment. What is the minimal number of test cases to achieve the standard use-case coverage defined in the Foundation Level Syllabus?
Answer
  • 3
  • 4
  • 7
  • 10

Question 39

Question
Which of the following is an example of how configuration management supports testing, when a user reports the field bug?
Answer
  • A tester can search for the similar issues that might have happened before and look up for the potential solution.
  • A tester can reproduce the test cases related to the client's version of the software.
  • The bug can be identified, version controlled, and tracked for changes by the tester.
  • Configuration management supports the development activities, not testing activities.

Question 40

Question
Your manager asked you to participate in a tool selection process. What task may you be given?
Answer
  • To access the organisational maturity and decide whether the tool acquisition will be beneficial to the organisation.
  • To decide on standard ways of using the tool across the organisation.
  • To evaluate how well the tool fits with existing processes and practices.
  • To perform a pilot project.
Show full summary Hide full summary

Similar

CTFL-AT
C B
ISTQB Foundation Software Testing A
Robyn Babbage
QATesting
hartle5727
Chapter 1 - Quick Quiz - Principles of testing
America LH
Software Testing Basics
msmyth52
moolya
Madhu Rao
Software testing
msmyth52
Chapter 6 - CTFL ISTQB
America LH
En que Consisten las Pruebas ISTQB Fundation Level I Nro 1. 2
Gregory Diaz
Chapter 3 - CTFL ISTQB
America LH
Chapter 4 - CTFL ISTQB
America LH