ExamGecko
Home Home / ISTQB / CTFL-2018

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

Question list
Search
Search

Related questions











Load testing tool checks for:

A.
presence of bugs in user interface
A.
presence of bugs in user interface
Answers
B.
the number of testers needed in order to achieve 'dead line'
B.
the number of testers needed in order to achieve 'dead line'
Answers
C.
correct functional behavior of the system under test
C.
correct functional behavior of the system under test
Answers
D.
time response and resource utilization
D.
time response and resource utilization
Answers
Suggested answer: D

Explanation:

Load testing tool checks for time response and resource utilization of a system under a specific load condition or scenario. Load testing tool can simulate multiple users accessing or performing operations on a system concurrently and measure how long it takes for the system to respond and how much CPU, memory, disk or network resources are consumed by the system.

Which of the following can be a common objective of testing?

A.
Gaining confidence about the level of the system's quality
A.
Gaining confidence about the level of the system's quality
Answers
B.
Fixing defects to improve the system's quality characteristics
B.
Fixing defects to improve the system's quality characteristics
Answers
C.
Providing information as part of the debugging activity
C.
Providing information as part of the debugging activity
Answers
D.
Making sure the system performs as fast and as efficient as needed
D.
Making sure the system performs as fast and as efficient as needed
Answers
Suggested answer: A

Explanation:

Gaining confidence about the level of the system's quality can be a common objective of testing, because testing can provide information about how well the system meets its specified requirements and user expectations, and how many defects have been found and fixed in the system.

A calculator software is used to calculate the result for 5+6.

The user noticed that the result given is 6.

This is an example of:

A.
Failure
A.
Failure
Answers
B.
Mistake
B.
Mistake
Answers
C.
Fault
C.
Fault
Answers
D.
Error
D.
Error
Answers
Suggested answer: A

Explanation:

This is an example of a failure, which is an event in which a component or system does not perform a required function within specified limits. In this case, the calculator software failed to perform the addition function correctly and gave an incorrect result.

Which of the following is by definition a reactive test approach?

A.
Risk-based testing
A.
Risk-based testing
Answers
B.
Automation of regression tests
B.
Automation of regression tests
Answers
C.
Exploratory testing
C.
Exploratory testing
Answers
D.
Requirements-based testing
D.
Requirements-based testing
Answers
Suggested answer: C

Explanation:

Exploratory testing is by definition a reactive test approach, because it involves designing and executing tests based on the tester's knowledge, experience and intuition, and reacting to the actual behavior and feedback of the system under test. Exploratory testing does not follow a predefined test plan or test cases, but rather adapts to the situation and learns from the results.

Consider the following pseudo-code

How many minimum test cases are required to cover 100% Statement coverage and Decision coverage?

A.
5 for Statement, 5 for Decision
A.
5 for Statement, 5 for Decision
Answers
B.
4 for Statement, 5 for Decision
B.
4 for Statement, 5 for Decision
Answers
C.
8 for Statement, 6 for Decision
C.
8 for Statement, 6 for Decision
Answers
D.
6 for Statement, 8 for Decision
D.
6 for Statement, 8 for Decision
Answers
Suggested answer: B

Explanation:

To cover 100% statement coverage, we need to execute every statement in the code at least once. To cover 100% decision coverage, we need to execute every branch in the code at least once. The minimum number of test cases required to achieve both statement and decision coverage is 4 for statement and 5 for decision. Here is one possible set of test cases:

| Test Case | Input | Output | Statement Coverage | Decision Coverage | | TC1 | Walking = True, Midnight = False, Raining = False, Running = False | Take umbrella | S1, S2, S3, S4, S5 | D1-T, D2-T | | TC2 | Walking = False, Midnight = True, Raining = False, Running = False | Search light | S1, S2, S6, S7 | D1-F, D3-T | | TC3 | Walking = False, Midnight = False, Raining = True, Running = False | Take umbrella and search light | S1, S2, S6, S8, S9 | D1-F, D3-F, D4-T | | TC4 | Walking = False, Midnight = False, Raining = False, Running = True | Keep doing what you were doing | S1, S2, S6, S8, S10 | D1-F, D3-F, D4-F |

Which of the following statements is true?

A.
Regression testing is a technique for system testing and acceptance testing only.
A.
Regression testing is a technique for system testing and acceptance testing only.
Answers
B.
Regression testing can be used in any level of testing, but must be done after white-box testing has been finished.
B.
Regression testing can be used in any level of testing, but must be done after white-box testing has been finished.
Answers
C.
Regression testing is an alternative term for re-testing
C.
Regression testing is an alternative term for re-testing
Answers
D.
Regression testing is intended to find side-effects after changes have been applied to the system under test.
D.
Regression testing is intended to find side-effects after changes have been applied to the system under test.
Answers
Suggested answer: D

Explanation:

Regression testing is intended to find side-effects after changes have been applied to the system under test. Side-effects are unintended consequences of changes that may cause new defects or re-introduce previously fixed defects in parts of the system that were not directly modified. Regression testing can be done at any level of testing and can use any type of testing technique.

Which of the following lists contains only black-box test techniques?

A.
Exploratory testing. State transition testing, Control flow testing
A.
Exploratory testing. State transition testing, Control flow testing
Answers
B.
Decision table testing. Use case testing, Control flow testing
B.
Decision table testing. Use case testing, Control flow testing
Answers
C.
Decision table testing, Use case testing, State transition testing
C.
Decision table testing, Use case testing, State transition testing
Answers
D.
Use case testing, Statement testing, State transition testing
D.
Use case testing, Statement testing, State transition testing
Answers
Suggested answer: C

Explanation:

Black-box test techniques are test techniques that are based on an analysis of the test basis without reference to the internal structure of the system under test. Decision table testing is a black-box test technique that uses a table showing combinations of inputs and/or stimuli (causes) with their associated outputs and/or actions (effects). Use case testing is a black-box test technique that uses scenarios based on use cases (descriptions of sequences of events that a system performs that yield an observable result of value to a particular actor). State transition testing is a black-box test technique that uses models of the state transitions and events of a system to design test cases.

Which of the following is an example of Static testing?

A.
Calculating path coverage using tools
A.
Calculating path coverage using tools
Answers
B.
Performance testing
B.
Performance testing
Answers
C.
Requirements review
C.
Requirements review
Answers
D.
Usability testing
D.
Usability testing
Answers
Suggested answer: C

Explanation:

Static testing is testing of a component or system at a specification or implementation level without execution of that software. Requirements review is an example of static testing, because it involves checking the quality and completeness of the requirements specification document without executing the software.

Which of the following test execution outcomes are likely to increase the overall quality of the software:

I) A test case passes

II,) A test case fails, defect gets logged which subsequently gets fixed

II,I) Some tests are deferred because test environment is not available

IV) A bug is found but there is no corresponding test case

A.
I, II, and II,I
A.
I, II, and II,I
Answers
B.
I and IV
B.
I and IV
Answers
C.
I and II,
C.
I and II,
Answers
D.
I, II, and IV
D.
I, II, and IV
Answers
Suggested answer: C

Explanation:

The overall quality of the software can be increased by finding and fixing defects before releasing the software to the customers or users. A test case passes means that no defect was found in the tested functionality, which indicates a high quality. A test case fails, defect gets logged which subsequently gets fixed means that a defect was found and corrected, which improves the quality. Some tests are deferred because test environment is not available means that some functionality was not tested, which may leave some defects undetected, which reduces the quality. A bug is found but there is no corresponding test case means that a defect was found by chance or by other means than planned testing, which does not increase the quality of the testing process or the test coverage.

Which of the following approaches is/are used in Integration tests?

A.
Both functional and structural
A.
Both functional and structural
Answers
B.
Usability
B.
Usability
Answers
C.
Functional only
C.
Functional only
Answers
D.
Structural only
D.
Structural only
Answers
Suggested answer: A

Explanation:

Both functional and structural approaches are used in integration tests.Functional testing verifies that the integrated components work together as expected, while structural testing checks the internal structure and logic of the integrated components1explains this in more detail:

Integration testing is a level of software testing where individual units are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units. Test drivers and test stubs are used to assist in Integration Testing.

Integration testing can be done in two ways:

Bottom-up Integration Testing: Bottom up integration testing begins with unit testing, followed by tests of progressively higher-level combinations of units called modules or builds.

Top-down Integration Testing: In top down integration testing, the highest-level modules are tested first and progressively lower-level modules are tested after that.

Total 365 questions
Go to page: of 37