iSQI ISTQB Certified Tester Foundation Level CTFL_Syll2018 Exam Practice Test

Page: 1 / 14
Total 365 questions
Question 1

Which of the following tools can be used by developers, testers and quality assurance personnel in looking for defects prior to dynamic testing?



Answer : A

A static analysis tool can be used by developers, testers and quality assurance personnel in looking for defects prior to dynamic testing, because it can analyse the code or design of the software under test without executing it and identify errors such as syntax errors, missing declarations, undefined variables, unused variables, or unreachable code . The other options are not tools that can be used by developers, testers and quality assurance personnel in looking for defects prior to dynamic testing. Option B is not a tool that can be used for this purpose, because a modeling tool is used to create graphical or textual representations of the software under test, such as state diagrams, data flow diagrams, or use cases . Option C is not a tool that can be used for this purpose, because a test data preparation tool is used to generate or manipulate data that are needed for executing the test cases or procedures . Option D is not a tool that can be used for this purpose, because a configuration management tool is used to manage and control the versions and changes of the software under test and the testware .


Question 2

The decision table above reflects a golf club's pricing structure for green fees and buggy/cart hire.

What is the expected result (actions) for each of the following two test cases (TC1 and TC2)?

* TC 1 - Paul is not a full member, is a Loyalty Card holder and requests to play 18 holes with a buggy/cart

* TC 2 - Cheryl is not at full member, doesn't have a Loyalty Card and requests to play 9 holes with a buggy/cart



Question 3

Considering the following pseudo-code, calculate the MINIMUM number of test cases required to achieve 100% statement coverage and 100% decision coverage.



Answer : C

To achieve 100% statement coverage, we need to execute every statement in the code at least once. To achieve 100% decision coverage, we need to execute every possible outcome of every decision in the code at least once. In this case, we can use the following test cases to cover both statement and decision coverage:

A = 5, B = 4, C = 3, D = 2, E = 1

A = 1, B = 2, C = 3, D = 4, E = 5

A = 3, B = 4, C = 5, D = 2, E = 1

A = 3, B = 2, C = 1, D = 4, E = 5

These four test cases will cover all the statements and all the possible outcomes of the decisions in the code. Therefore, the minimum number of test cases required to achieve both statement and decision coverage is four.


Question 4

Which of the following BEST distinguishes the terms "validation" and "verification"?



Answer : D

According to the syllabus, verification is the process of evaluating a product or component to determine whether it satisfies its specified requirements. Validation is the process of evaluating a product or component to determine whether it fulfills its intended use and user expectations. Verification answers the question ''Are we building the product right?'' while validation answers the question ''Are we building the right product?'' Both verification and validation involve providing objective evidence, which means factual, unbiased, and observable information that supports the evaluation. The answer D is correct because it best distinguishes the terms ''validation'' and ''verification''. The other answers are incorrect because they either confuse the terms ''validation'' and ''verification'' or use subjective evidence, which means personal, biased, or unobservable information that does not support the evaluation.


Question 5

Which of the following would you NOT expect to see on an incident report from test execution?



Answer : B

The test execution schedule would not be expected to see on an incident report from test execution, because it is not related to the incident itself, but rather to the overall plan and progress of testing . An incident report is a document that records any event that deviates from the expected or desired behaviour of the software under test . The other options are information that would be expected to see on an incident report from test execution. Option A is expected, because the version(s) of the software under test can help to identify and reproduce the incident . Option C is expected, because the expected results and actual results can help to describe and demonstrate the incident . Option D is expected, because the precise steps to reproduce the problem can help to analyse and resolve the incident .


Question 6

Software was found to take much more time than the stated requirement of less than one second to save a file. Upon investigation it was found that there was an unnecessary check inside a loop which was slowing down the file-save operation. The software not being able to meet the desired response time is an example of



Answer : A

The software not being able to meet the desired response time is an example of a failure. A failure is an event in which a component or system does not perform a required function within specified limits. A failure is observable by end users or testers as a deviation from expected results. defines a failure as follows:

Failure: Deviation of the component or system from its expected delivery, service or result.

B, C, and D are incorrect answers. The software not being able to meet the desired response time is not an example of a defect (B), an error , or not a defect (D). A defect is a flaw in a component or system that can cause it to fail to perform its required function. An error is a human action that produces an incorrect result. Not a defect is a term used to describe an incident report that is rejected or closed as invalid or out of scope. defines these terms as follows:

Defect: A flaw in a component or system that can cause the component or system to fail to perform its required function.

Error: A human action that produces an incorrect result.

Not a defect: An incident report status indicating that there is no defect in relation to this incident report.


Question 7

Which set of test data (representing ages of human beings in years) given below shows equivalence partitioning to verify if a customer is in its thirties (A person whose age is between thirty and thirty-nine years, inclusive) or not?



Answer : A

25, 30, and 40 are the test data that show equivalence partitioning to verify if a customer is in their thirties or not. Equivalence partitioning is a technique to divide the input domain into partitions that are expected to behave similarly or produce the same output.Each partition should have at least one representative value as a test case1explains this as follows:

Equivalence Partitioning (or Equivalence Class Partitioning) is an software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. In principle, test cases are designed to cover each partition at least once.

The fundamental concept of Equivalence Partitioning is that you can find more errors in a test case by using a representative value from an equivalence class than by using any other value from the class.

The input domain for the age parameter can be divided into four partitions: less than or equal to zero, between one and 29, between 30 and 39, and greater than or equal to 40. The first and the last partitions are invalid, as they are outside the range of possible ages for human beings. The second and the third partitions are valid, as they are within the range of possible ages for human beings. The test data 25, 30, and 40 represent one value from each partition, covering both valid and invalid cases.

B, C, and D are incorrect answers. B does not include a representative value from the invalid partition greater than or equal to 40. C does not include a representative value from the invalid partition less than or equal to zero. D does not include a representative value from the valid partition between one and 29.


Page:    1 / 14   
Total 365 questions