ExamGecko
Home Home / ISTQB / CTFL-2018

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

Question list
Search
Search

Related questions











After a record of poor-quality software releases (incorrect menu selection options, new features that do not work, users allowed to change security levels without administrator rights), you have been asked to review the test capability in your company.

You have limited time to do the review before the next project, which type of testing would be MOST appropriate to review first?

A.
Functional testing.
A.
Functional testing.
Answers
B.
Non-functional testing.
B.
Non-functional testing.
Answers
C.
Performance testing.
C.
Performance testing.
Answers
D.
Structural testing.
D.
Structural testing.
Answers
Suggested answer: A

Explanation:

Functional testing is the most appropriate type of testing to review first, after a record of poor-quality software releases. Functional testing is a type of testing that verifies the functionality and behavior of the software against its requirements and specifications. Functional testing can help detect defects such as incorrect menu selection options, new features that do not work, users allowed to change security levels without administrator rights, etc. Functional testing can also help improve the user satisfaction and confidence in the software. Therefore, functional testing should be reviewed first to ensure that it is done effectively and efficiently, and that it covers all the relevant aspects of the software functionality.

Which of the following are triggers for Maintenance testing?

a) System migration from one platform to another.

b) Retirement of a system.

c) Preparation for an audit of a system.

d) Modifications to a system.

e) Development of a whole new system.

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

Explanation:

Maintenance testing is a type of testing that is done on an existing system after modifications or migration, or to prevent deterioration or obsolescence. Maintenance testing can be triggered by various events or situations, such as:

System migration from one platform to another, which can affect the functionality, performance, or compatibility of the system.

Preparation for an audit of a system, which can require verifying the compliance of the system with standards or regulations.

Modifications to a system, which can introduce new defects or affect existing ones.

Therefore, statements a, c, and d are correct.

Which statement about Static Testing is TRUE?

A.
Static testing can be applied to any work product that participants know how to read and understand.
A.
Static testing can be applied to any work product that participants know how to read and understand.
Answers
B.
Static testing must only be applied to final work products that have been signed off.
B.
Static testing must only be applied to final work products that have been signed off.
Answers
C.
Static testing must be conducted by users of the product being tested.
C.
Static testing must be conducted by users of the product being tested.
Answers
D.
Static testing executes the code to verify the functionality is as expected.
D.
Static testing executes the code to verify the functionality is as expected.
Answers
Suggested answer: A

Explanation:

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 be applied to any work product that participants know how to read and understand, such as requirements specifications, design specifications, code, test cases, test plans, user manuals, etc. Static testing can help find defects and improve the quality of any work product at any stage of the software development lifecycle.

When comparing Static and Dynamic test techniques, which of the following statements is TRUE?

A.
Static Testing finds failures, whilst Dynamic Testing only finds the cause of failures.
A.
Static Testing finds failures, whilst Dynamic Testing only finds the cause of failures.
Answers
B.
Static Testing techniques, such as reviews, can be undertaken before Dynamic Testing, making defects cheaper to remove.
B.
Static Testing techniques, such as reviews, can be undertaken before Dynamic Testing, making defects cheaper to remove.
Answers
C.
Static Testing is based on the execution of code, whist Dynamic Testing relies on examination and analysis.
C.
Static Testing is based on the execution of code, whist Dynamic Testing relies on examination and analysis.
Answers
D.
Only Static Testing has the objective of identifying defects.
D.
Only Static Testing has the objective of identifying defects.
Answers
Suggested answer: B

Explanation:

Static testing and dynamic testing are two types of testing that differ in the way they evaluate the software or system under test. 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. Dynamic testing is a type of testing that involves executing the software or system under test using test cases and comparing the actual results with the expected results. Static testing techniques, such as reviews, can be undertaken before dynamic testing, making defects cheaper to remove. This is because static testing can help find defects and improve the quality of any work product at any stage of the software development lifecycle, before they become more costly and difficult to fix during dynamic testing or after deployment.

Which defect below is MOST likely to be found by a review during static testing?

A.
Incorrect interface specifications.
A.
Incorrect interface specifications.
Answers
B.
Old versions of software in use.
B.
Old versions of software in use.
Answers
C.
Performance bottlenecks.
C.
Performance bottlenecks.
Answers
D.
Broken links to web addresses.
D.
Broken links to web addresses.
Answers
Suggested answer: A

Explanation:

Incorrect interface specifications are most likely to be found by a review during static testing. A review is a type of static testing technique that involves a manual examination of a work product by one or more individuals who follow a defined process. A review can be applied to any work product, such as requirements specifications, design specifications, code, test cases, test plans, user manuals, etc. A review can help find defects and improve the quality of any work product at any stage of the software development lifecycle. Incorrect interface specifications are defects that affect the definition and communication of the interfaces between components or systems. These defects can be detected by reviewing the interface specifications document and comparing it with the requirements and design specifications.

Which of the following is a typical characteristic of the WALKTHROUGH review type?

A.
The meeting is led by the author.
A.
The meeting is led by the author.
Answers
B.
Metrics are gathered throughout.
B.
Metrics are gathered throughout.
Answers
C.
Attendees must prepare before the meeting.
C.
Attendees must prepare before the meeting.
Answers
D.
Entry and exit criteria are defined.
D.
Entry and exit criteria are defined.
Answers
Suggested answer: A

Explanation:

A typical characteristic of the walkthrough review type is that the meeting is led by the author. A walkthrough is a type of informal review that involves a presentation of a work product by the author to peers and other stakeholders for feedback and comments. The author leads the meeting and explains the work product to the participants, who can ask questions and make suggestions for improvement. The author may also record any issues or action items during the meeting. A walkthrough does not require formal preparation or follow-up by the participants, nor does it have defined entry and exit criteria.

You are performing a review of your colleague's test cases based on the following test basis document:

The Test Cases are as follows:

TC1. Success -- valid 'User Name' and 'Password'; Customer Menu displayed

TC2. Failure -- 'User Name' field has blank entry; Error Number 12 displayed

TC3. Failure -- 'User Id' entered does not exist on database (i.e. unregistered user); Error Number 23 displayed

TC4. Failure -- 'Password' entered does not match user's password on database; Error Number 24 displayed

You are guided by the following checklist in your review:

C1. There must be one test case to cover success

C2. There must be one test case for each error path (e.g. validation failure)

C3. Each test case must use terminology consistent with the test basis document (field names, error numbering, etc.)

Record a separate defect for each missing test case (checklist items C1 and C2) and for each test case that does not meet checklist item C3.

How many defects should you record?

A.
1.
A.
1.
Answers
B.
2.
B.
2.
Answers
C.
3.
C.
3.
Answers
D.
4.
D.
4.
Answers
Suggested answer: C

Explanation:

Defect 1: Missing test case for validation failure of 'Password' field being blank. According to checklist item C2, there must be one test case for each error path. The test basis document specifies that the 'Password' field must be mandatory, and that if it is blank, Error Number 13 should be displayed. However, none of the test cases cover this scenario. Therefore, a test case for this validation failure is missing and should be added.

Defect 2: Incorrect field name in TC3. According to checklist item C3, each test case must use terminology consistent with the test basis document. The test basis document uses the term 'User Name' to refer to the field that identifies the user. However, TC3 uses the term 'User Id', which is inconsistent and confusing. Therefore, TC3 should be corrected to use the term 'User Name' instead of 'User Id'.

Defect 3: Incorrect error number in TC3. According to checklist item C3, each test case must use terminology consistent with the test basis document. The test basis document specifies that if the 'User Name' entered does not exist on the database, Error Number 12 should be displayed. However, TC3 states that Error Number 23 should be displayed, which is incorrect and does not match the test basis document. Therefore, TC3 should be corrected to use Error Number 12 instead of Error Number 23.

Which of the following BEST describes checklist-based testing?

A.
An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests.
A.
An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests.
Answers
B.
An experience-based test technique whereby the experienced tester uses a high-level list of items to be noted, checked or remembered, or a set of rules or criteria against which a product has to be verified.
B.
An experience-based test technique whereby the experienced tester uses a high-level list of items to be noted, checked or remembered, or a set of rules or criteria against which a product has to be verified.
Answers
C.
A procedure to derive and/or select test cases based on an analysis of the specification, either functional or non-functional, of a component or system without reference to its internal structure.
C.
A procedure to derive and/or select test cases based on an analysis of the specification, either functional or non-functional, of a component or system without reference to its internal structure.
Answers
D.
A test design technique which ensures that test cases are checked for consistency and completeness against an organisation's list of formatting rules and best practices.
D.
A test design technique which ensures that test cases are checked for consistency and completeness against an organisation's list of formatting rules and best practices.
Answers
Suggested answer: B

Explanation:

Checklist-based testing is an experience-based test technique whereby the experienced tester uses a high-level list of items to be noted, checked or remembered, or a set of rules or criteria against which a product has to be verified. Checklist-based testing can help the tester to focus on important aspects of the test object and to ensure that nothing is overlooked or forgotten. Checklist-based testing can also help the tester to communicate and report the test results and coverage more effectively.

Which of the following is a key difference between black box and white box test design techniques?

A.
Black box techniques use software code to derive test cases, white box techniques do not.
A.
Black box techniques use software code to derive test cases, white box techniques do not.
Answers
B.
White box techniques use functional design specifications to derive test cases, black box techniques do not.
B.
White box techniques use functional design specifications to derive test cases, black box techniques do not.
Answers
C.
White box techniques can measure the extent of code coverage, black box techniques can not.
C.
White box techniques can measure the extent of code coverage, black box techniques can not.
Answers
D.
White box techniques derive test cases from models of the software, black box techniques do not.
D.
White box techniques derive test cases from models of the software, black box techniques do not.
Answers
Suggested answer: C

Explanation:

A key difference between black box and white box test design techniques is that white box techniques can measure the extent of code coverage, while black box techniques cannot. Code coverage is a measure of how much of the code of a system or component has been executed by a test or a set of tests. White box techniques use software code to derive test cases that cover specific aspects of the code, such as statements, branches, paths, or data flows. White box techniques can use tools or methods to measure the code coverage achieved by the test cases and identify any gaps or redundancies. Black box techniques use functional design specifications to derive test cases that cover specific aspects of the functionality, behavior, or quality of the system or component, such as inputs, outputs, equivalence classes, boundary values, states, transitions, etc. Black box techniques do not use or access the code of the system or component, and therefore cannot measure the code coverage.

A car insurance policy has 3 rates of insurance depending on the age of the driver. For drivers aged between 17 and 25 inclusive they are charged at rate A, drivers aged between 26 and 50 inclusive are charged at rate B and those drivers aged over 50 are charged at rate C.

You are designing test cases, which of the following three ages would test all valid equivalence partitions and therefore test rate A, B and C?

A.
26, 45, 50.
A.
26, 45, 50.
Answers
B.
10, 21, 55.
B.
10, 21, 55.
Answers
C.
20, 35, 65.
C.
20, 35, 65.
Answers
D.
17, 25, 50.
D.
17, 25, 50.
Answers
Suggested answer: C

Explanation:

The three ages that would test all valid equivalence partitions and therefore test rate A, B and C are 20, 35 and 65. 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 age of the driver:

Valid age between 17 and 25 inclusive (rate A)

Valid age between 26 and 50 inclusive (rate B)

Valid age over 50 (rate C)

Invalid age below 17

Invalid age above 100

Therefore, three test cases are required to test all valid equivalence partitions, and any value within each class can be used as a representative value. For example, 20 for rate A, 35 for rate B, and 65 for rate C.

Total 365 questions
Go to page: of 37