ExamGecko
Home Home / ISTQB / CTFL-2018

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

Question list
Search
Search

Related questions











You need to test a vending machine for light drinks The machine has a button for each of the drinks it contains

Pressing a button before inserting coins, will display the cost of the drink

Pressing the same button after inserting enough coins will dispense the drink and provide change if needed)

If the machine is out of the specific drink, and the button for this drink is pressed, the machine displays 'Sold Out' (regardless if coins were inserted or not).

Which test technique is most suitable for this situation?

A.
State transition testing
A.
State transition testing
Answers
B.
Equivalence class testing
B.
Equivalence class testing
Answers
C.
Boundary value testing
C.
Boundary value testing
Answers
D.
Use-case testing
D.
Use-case testing
Answers
Suggested answer: A

Explanation:

State transition testing is the most suitable test technique for this situation. State transition testing is a technique that uses scenarios based on state diagrams to test the behavior of a system or component that can change its state in response to events or inputs. A state diagram is a graphical representation of the states that a system or component can be in, the events or inputs that can trigger a change of state (transitions), and the actions or outputs that can occur as a result of a change of state. In this case, the vending machine for light drinks can be modeled as a state diagram with states such as ''idle'', ''coins inserted'', ''drink selected'', ''drink dispensed'', ''change returned'', ''sold out'', etc., and transitions triggered by events such as ''button pressed'', ''coins inserted'', ''drink dispensed'', ''change returned'', etc. State transition testing can help design test cases that cover all the possible states and transitions of the vending machine and verify its functionality and usability.

A tester thinks of a likely cause for a specific bug Should the tester make a comment about this in the bug report?

A.
No. A bug r^&ort must only include factual information, and not unsupported hypothesis
A.
No. A bug r^&ort must only include factual information, and not unsupported hypothesis
Answers
B.
No. Such addition may bias the developers' attitude when they attempt to fix the bug
B.
No. Such addition may bias the developers' attitude when they attempt to fix the bug
Answers
C.
Yes It will reduce the risk that the bug fix will cause a regression
C.
Yes It will reduce the risk that the bug fix will cause a regression
Answers
D.
Yes Observations that may help correct a bug should be included in the bug report
D.
Yes Observations that may help correct a bug should be included in the bug report
Answers
Suggested answer: D

Explanation:

A bug report is a document that records the details of a defect or failure found during testing, such as the steps to reproduce, the expected and actual results, the severity and priority, etc. A bug report should also include any observations or suggestions that may help correct the bug, such as the possible cause, the affected components, the related requirements, etc. This information can help the developers to locate and fix the bug more efficiently and effectively. Therefore, if a tester thinks of a likely cause for a specific bug, they should make a comment about it in the bug report.

Which of the following sentences about testing and debugging is correct?

A.
Re-testing checks that debugging has found and analyzed the failure
A.
Re-testing checks that debugging has found and analyzed the failure
Answers
B.
Dynamic testing finds defects, while debugging removes failures
B.
Dynamic testing finds defects, while debugging removes failures
Answers
C.
Dynamic testing reveals failures, while debugging removes defects
C.
Dynamic testing reveals failures, while debugging removes defects
Answers
D.
Like most development activities, debugging is usually done before testing starts
D.
Like most development activities, debugging is usually done before testing starts
Answers
Suggested answer: C

Explanation:

Testing and debugging are two different activities that are related to finding and removing defects and failures in software. Testing is the process of evaluating software by applying test cases to find failures and provide information on its quality. Debugging is the process of finding, analyzing, and removing the causes of failures in software. Testing reveals failures, which are deviations of the actual behavior of the software from its expected behavior. Debugging removes defects, which are flaws in the software that cause failures.

What is integration testing?

A.
Looking for faults in larger components or subsystems
A.
Looking for faults in larger components or subsystems
Answers
B.
Another term for testing system integrity
B.
Another term for testing system integrity
Answers
C.
Specifying which components to integrate in which order
C.
Specifying which components to integrate in which order
Answers
D.
Testing that the interfaces work correctly
D.
Testing that the interfaces work correctly
Answers
Suggested answer: D

Explanation:

Integration testing is the process of testing the interactions between different components or subsystems of a system. Integration testing verifies that the interfaces work correctly, meaning that they pass data and control correctly between components or subsystems, and that they handle errors and exceptions properly. Integration testing can also verify the functionality and quality of the integrated system or subsystem.

Which of the following BEST describes a Test Case?

A.
A statement about ''what to test'' in terms of measurable coverage criteria from analysis of the test basis.
A.
A statement about ''what to test'' in terms of measurable coverage criteria from analysis of the test basis.
Answers
B.
A set of preconditions, inputs, actions, expected results and postconditions developed based on test conditions.
B.
A set of preconditions, inputs, actions, expected results and postconditions developed based on test conditions.
Answers
C.
A description of the test objectives to be achieved and the means and the schedule for achieving them.
C.
A description of the test objectives to be achieved and the means and the schedule for achieving them.
Answers
D.
A source to determine expected results to compare with the actual result of the system under test.
D.
A source to determine expected results to compare with the actual result of the system under test.
Answers
Suggested answer: B

Explanation:

A test case is a set of preconditions, inputs, actions, expected results and postconditions developed based on test conditions. A test condition is a statement about what to test in terms of measurable coverage criteria from analysis of the test basis. A test plan is a description of the test objectives to be achieved and the means and the schedule for achieving them. A test oracle is a source to determine expected results to compare with the actual result of the system under test.

Testing and Debugging are key activities in the software development lifecycle.

Which of the following are DEBUGGING activities?

a) Designing tests to find failures.

b) Locating the cause of failures.

c) Analysing and fixing the defects.

d) Executing tests to show failures.

A.
a and d.
A.
a and d.
Answers
B.
a and b.
B.
a and b.
Answers
C.
b and c.
C.
b and c.
Answers
D.
c and d.
D.
c and d.
Answers
Suggested answer: C

Explanation:

Testing and debugging are two different activities that are related to finding and removing defects and failures in software. Testing is the process of evaluating software by applying test cases to find failures and provide information on its quality. Debugging is the process of finding, analyzing, and removing the causes of failures in software. Designing tests to find failures and executing tests to show failures are testing activities. Locating the cause of failures and analyzing and fixing the defects are debugging activities.

During which stage of the fundamental test process is the testability of requirements evaluated?

A.
Test Execution.
A.
Test Execution.
Answers
B.
Test Planning.
B.
Test Planning.
Answers
C.
Test Design.
C.
Test Design.
Answers
D.
Test Analysis.
D.
Test Analysis.
Answers
Suggested answer: D

Explanation:

The fundamental test process consists of five main activities: test planning and control, test analysis, test design, test implementation and execution, and test evaluation and reporting. During the test analysis activity, the testability of requirements is evaluated, meaning that the requirements are checked for clarity, completeness, consistency, verifiability, etc. Test analysis also involves identifying test conditions based on the test basis, such as requirements, specifications, user stories, or use cases.

Which ONE of the following is the BEST way to take advantage of the different mindsets of testers and developers?

A.
Insist on independent testing at all stages in the lifecycle.
A.
Insist on independent testing at all stages in the lifecycle.
Answers
B.
Have all developers undergo ISTQB training.
B.
Have all developers undergo ISTQB training.
Answers
C.
Keep developers and testers in separate teams.
C.
Keep developers and testers in separate teams.
Answers
D.
Bring the two mindsets together.
D.
Bring the two mindsets together.
Answers
Suggested answer: D

Explanation:

The best way to take advantage of the different mindsets of testers and developers is to bring the two mindsets together. Testers and developers have different perspectives and skills that can complement each other and improve the quality of the software. Testers tend to focus on finding defects and verifying the software against the requirements and specifications, while developers tend to focus on creating and implementing the software according to the design and architecture. By collaborating and communicating with each other, testers and developers can share their knowledge, feedback, and ideas, and resolve issues more efficiently and effectively.

In which development life cycle model is regression testing an increasingly important activity as the project progresses?

A.
V-model.
A.
V-model.
Answers
B.
Waterfall.
B.
Waterfall.
Answers
C.
Scrum.
C.
Scrum.
Answers
D.
Progressive.
D.
Progressive.
Answers
Suggested answer: C

Explanation:

In a Scrum development life cycle model, regression testing is an increasingly important activity as the project progresses. Scrum is an agile framework that follows an iterative and incremental approach to software development, where the software is delivered in small units called sprints. Regression testing is a type of testing that verifies that previously tested software still performs as expected after changes or modifications. Regression testing is essential in Scrum, as new features or functionalities are added or modified in each sprint, which can introduce new defects or affect existing ones. Therefore, regression testing should be performed at the end of each sprint, as well as before releasing the software, to ensure that the software meets the quality standards and user expectations.

Which of the following apply to System Testing?

a) May satisfy legal requirements.

b) Can use system specifications as a test basis.

c) Often the responsibility of business users.

d) Main goal is to establish confidence.

e) Should focus on the communication between systems.

A.
a and c.
A.
a and c.
Answers
B.
b and d.
B.
b and d.
Answers
C.
a and b.
C.
a and b.
Answers
D.
c and e.
D.
c and e.
Answers
Suggested answer: B

Explanation:

System testing is a test level that focuses on testing the system as a whole against its requirements and specifications. System testing applies to both functional and non-functional aspects of the system, such as functionality, performance, reliability, usability, security, etc. System testing has several objectives, such as:

Satisfying legal requirements, such as compliance with standards or regulations.

Using system specifications as a test basis, such as system requirements, system design, user stories, or use cases.

Establishing confidence in the system, such as its readiness for release or deployment, its suitability for use, its quality and reliability, etc.

Therefore, statements a and b apply to system testing.

Total 365 questions
Go to page: of 37