ExamGecko
Home Home / ISTQB / CTFL-2018

ISTQB CTFL-2018 Practice Test - Questions Answers, Page 27

Question list
Search
Search

Related questions











What is the order in which the specifications for test cases, test conditions and test procedures are developed as a part of the test development process?

A.
Test Procedure --> Test Condition -> Test Case
A.
Test Procedure --> Test Condition -> Test Case
Answers
B.
Test Condition --> Test Case --> Test Procedure
B.
Test Condition --> Test Case --> Test Procedure
Answers
C.
Test Procedure -> Test Case -> Test Condition
C.
Test Procedure -> Test Case -> Test Condition
Answers
D.
Test Condition --> Test Procedure --> Test Case
D.
Test Condition --> Test Procedure --> Test Case
Answers
Suggested answer: B

Explanation:

The order in which the specifications for test cases, test conditions and test procedures are developed as a part of the test development process is as follows:

Test Condition: A test condition is an item or event of a component or system that could be verified by one or more test cases, such as a function, transaction, feature, quality attribute, or structural element.

Test Case: A test case is a set of input values, execution preconditions, expected results and execution postconditions, developed for a particular objective or test condition, such as to exercise a particular program path or to verify compliance with a specific requirement.

Test Procedure: A test procedure is a document providing detailed instructions for the execution of one or more test cases.

Therefore, the correct order is test condition --> test case --> test procedure.

When should component integration tests be carried out?

A.
Integration tests should always be done after system tests
A.
Integration tests should always be done after system tests
Answers
B.
Integration tests should be done at the customer's site, after acceptance tests
B.
Integration tests should be done at the customer's site, after acceptance tests
Answers
C.
Integration tests can be done before or after system tests
C.
Integration tests can be done before or after system tests
Answers
D.
Integration tests should always be done before system tests
D.
Integration tests should always be done before system tests
Answers
Suggested answer: D

Explanation:

Component integration testing is the process of testing the interactions between different components of a system. It should always be done before system testing, which is the process of testing the system as a whole. Integration testing can reveal defects in the interfaces and interactions between components, which can affect the functionality and performance of the system. System testing can reveal defects in the system requirements, design, and behavior, which can affect the quality and usability of the system. Therefore, it is logical to perform integration testing before system testing, to ensure that the components work together correctly before testing the system as a whole.

Which of the following activities do NOT belong to test implementation and execution?

A.
Checking if the preconditions of test execution have been met
A.
Checking if the preconditions of test execution have been met
Answers
B.
Logging of test results
B.
Logging of test results
Answers
C.
Test data generation
C.
Test data generation
Answers
D.
Prioritizing test conditions
D.
Prioritizing test conditions
Answers
Suggested answer: D

Explanation:

Test implementation and execution is the phase of the test process where test cases are executed and test results are logged. It includes activities such as checking if the preconditions of test execution have been met, executing test cases according to a test procedure, comparing actual results with expected results, logging test results and reporting defects, and repeating test activities as needed. Prioritizing test conditions is not an activity that belongs to test implementation and execution, but rather to test analysis and design, which is the phase where test conditions are identified and test cases are designed.

Reference:Certified Tester Foundation Level Syllabus, Section 4.2.3 and 4.2.4

Choose below the best characterization of the difference between black-box testing and white-box testing

A.
For black-box testing, the testers do not need to know the test object in advance
A.
For black-box testing, the testers do not need to know the test object in advance
Answers
B.
For white-box testing, the testers have to consult specifications and developers before running any tests
B.
For white-box testing, the testers have to consult specifications and developers before running any tests
Answers
C.
Black box testing uses static analysis. White box testing uses dynamic analysis
C.
Black box testing uses static analysis. White box testing uses dynamic analysis
Answers
D.
Black-box testing is based on the test basis documentation. White-box testing is based on an analysis of the code itself.
D.
Black-box testing is based on the test basis documentation. White-box testing is based on an analysis of the code itself.
Answers
E.
Black-box testing is based on an analysis of the code itself White-box testing is based on the test basis.
E.
Black-box testing is based on an analysis of the code itself White-box testing is based on the test basis.
Answers
Suggested answer: D

Explanation:

Black-box testing and white-box testing are two approaches to test design that differ in the way they derive test cases from the test basis. Black-box testing is based on an analysis of the test basis documentation, such as requirements, specifications, user stories, or use cases, without looking at the internal structure or code of the system under test. White-box testing is based on an analysis of the code itself, such as statements, branches, paths, or data flows, to design test cases that cover specific aspects of the code. Black-box testing focuses on the external behavior and functionality of the system, while white-box testing focuses on the internal logic and structure of the system.

For a mandatory input field 'ZIP code' the following rules are given:

1 - The valid ZIP code format is 5 numeric digits

2 - The code has to exist in the pest office's official ZIP code list

Using equivalence classes partitioning, how many test cases are required to test this field?

A.
6
A.
6
Answers
B.
4
B.
4
Answers
C.
8
C.
8
Answers
D.
3
D.
3
Answers
Suggested answer: B

Explanation:

Equivalence partitioning is a technique to divide a set of possible inputs or outputs into classes that are expected to behave similarly or produce similar results. For each equivalence class, only one test case is required to represent the whole class. In this case, we can identify the following equivalence classes for the input field 'ZIP code':

Valid ZIP code format and valid ZIP code value (e.g., 12345)

Valid ZIP code format and invalid ZIP code value (e.g., 99999)

Invalid ZIP code format and valid ZIP code value (e.g., 1234)

Invalid ZIP code format and invalid ZIP code value (e.g., ABCDE)

Therefore, four test cases are required to test this field using equivalence partitioning.

Which of the following statements about independent testing is WRONG?

A.
Independent testing is necessary because developers don't know any testing
A.
Independent testing is necessary because developers don't know any testing
Answers
B.
A certain degree of independence makes the tester more effective at finding defects
B.
A certain degree of independence makes the tester more effective at finding defects
Answers
C.
Independent testing is best suited for the system test level
C.
Independent testing is best suited for the system test level
Answers
D.
Independent test teams may find other types of defects than developers who are familiar with the system's structure.
D.
Independent test teams may find other types of defects than developers who are familiar with the system's structure.
Answers
Suggested answer: A

Explanation:

The statement that independent testing is necessary because developers don't know any testing is wrong. Developers do know some testing, as they perform unit testing and component testing on their own code. However, independent testing is beneficial because it can provide a different perspective and a higher degree of objectivity than testing done by developers. Independent testers may have different skills, knowledge, experience, and expectations than developers, which can help them find different types of defects and improve the quality of the system.

Integration testing has following characteristics.

I, It can be done in incremental manner

II, It is always done after system testing

II,I, It includes functional tests

IV It includes non-functional tests

A.
I, l and IV are correct
A.
I, l and IV are correct
Answers
B.
I Ill and IV are correct
B.
I Ill and IV are correct
Answers
C.
TI is correct
C.
TI is correct
Answers
D.
II, and II,I are correct
D.
II, and II,I are correct
Answers
Suggested answer: B

Explanation:

Integration testing is the process of testing the interactions between different components or subsystems of a system. It has the following characteristics:

It can be done in an incremental manner, meaning that components or subsystems are integrated and tested one by one until the whole system is integrated and tested.

It is usually done before system testing, which is the process of testing the system as a whole against its requirements and specifications.

It includes functional tests, which are tests that verify the functionality and behavior of the system or its components.

It includes non-functional tests, which are tests that verify the quality attributes of the system or its components, such as performance, reliability, security, etc.

Therefore, statements I, II,I, and IV are correct.

Which of the following is NOT a common objective of testing?

A.
Providing information on the status of the system
A.
Providing information on the status of the system
Answers
B.
Preventing defects
B.
Preventing defects
Answers
C.
Finding defects in the software
C.
Finding defects in the software
Answers
D.
Debugging the software to find the reason for defects
D.
Debugging the software to find the reason for defects
Answers
Suggested answer: D

Explanation:

Debugging the software to find the reason for defects is not a common objective of testing. Debugging is the process of finding, analyzing, and removing the causes of failures in software. Debugging is usually done by developers after testers have reported defects found during testing. Testing is the process of evaluating software by applying test cases to find defects and provide information on its quality. Testing has several common objectives, such as:

Providing information on the status of the system, such as its readiness for release, its compliance with requirements, its risks and issues, etc.

Preventing defects, by applying good practices throughout the software development lifecycle, such as reviews, inspections, static analysis, etc.

Finding defects in the software, by applying test cases that cover different aspects of the software functionality, quality, performance, security, etc.

Therefore, statement D is not correct.

Which of the following DOES NOT describe 'component testing'?

A.
Component testing tests interfaces between modules and interactions of different parts of a system.
A.
Component testing tests interfaces between modules and interactions of different parts of a system.
Answers
B.
Component testing occurs with access to the code being tested and with the support of a development environment, such as a unit test framework or debugging tool
B.
Component testing occurs with access to the code being tested and with the support of a development environment, such as a unit test framework or debugging tool
Answers
C.
Component testing verifies the functioning of. software modules, programs, objects, classes, etc. that are separately testable.
C.
Component testing verifies the functioning of. software modules, programs, objects, classes, etc. that are separately testable.
Answers
D.
In component testing stubs, drivers and simulators may be usefully utilized to facilitate tester activity
D.
In component testing stubs, drivers and simulators may be usefully utilized to facilitate tester activity
Answers
Suggested answer: A

Explanation:

The statement that component testing tests interfaces between modules and interactions of different parts of a system does not describe component testing. Component testing is the process of testing individual software components that are separately testable, such as modules, programs, objects, classes, etc. Component testing verifies the functionality and quality of the components in isolation from other components. Component testing does not test the interfaces or interactions between components, as this is done in integration testing.

Which type of software development product can undergo static testing?

A.
Any software development product can undergo static testing, including requirements specifications, design specifications and code
A.
Any software development product can undergo static testing, including requirements specifications, design specifications and code
Answers
B.
Static testing is done only on the requirements. You need to execute the software in order to find defects in the code
B.
Static testing is done only on the requirements. You need to execute the software in order to find defects in the code
Answers
C.
Static testing is done only on the code as part of the 'code review' sessions Other documents are reviewed, but not by static testing Static tests
C.
Static testing is done only on the code as part of the 'code review' sessions Other documents are reviewed, but not by static testing Static tests
Answers
D.
should be performed on the installation and user guide documents as these documents are used by the end user
D.
should be performed on the installation and user guide documents as these documents are used by the end user
Answers
Suggested answer: A

Explanation:

Any software development product can undergo static testing, including requirements specifications, design specifications, code, test cases, test plans, user manuals, etc. Static testing is a type of testing that does not involve executing the software or system under test, but rather analyzing it using various techniques, such as reviews, inspections, walkthroughs, checklists, static analysis tools, etc. Static testing can help find defects and improve the quality of any software development product at any stage of the software development lifecycle.

Total 365 questions
Go to page: of 37