Special Summer Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > iSQI > ISQI certification > CTFL_Syll_4.0

CTFL_Syll_4.0 ISTQB Certified Tester Foundation Level (CTFL) v4.0 Question and Answers

Question # 4

Which ONE of the following options MOST ACCURATELY describesbranch testing?

A.

In branch testing, the coverage items are executable statements. The aim is to design test cases that exercise statements in the code until an acceptable level of coverage is achieved, expressed as a percentage.

B.

In branch testing, the coverage items are control flow transfers between decisions, and the aim is to design test cases to exercise flow transfers in the code until an acceptable level of coverage is achieved. Coverage is measured as the number of branches exercised by the test cases divided by the total number of branches expressed as a percentage.

C.

In branch testing, the coverage items are branches, and the aim is to design test cases to exercise branches in the code until an acceptable level of coverage is achieved. Coverage is measured as thenumber of branches exercised by the test cases divided by the total number of branches expressed as a percentage.

D.

In branch testing, the coverage items are executable decisions. The aim is to design test cases that exercise statements in the code until an acceptable level of coverage is achieved. Coverage is expressed as a percentage.

Full Access
Question # 5

A company wants to reward each of its salespeople with an annual bonus that represents the sum of all the bonuses accumulated for every single sale made by that salesperson. The bonus for a single sale can take on the following four values: 3%, 5%, 7% and 10% (the percentage refers to the amount of the single sale). These values are determined on the basis of the type of customer (classified as "Basic" or "Premium") to which such sale was made, and on the amount of such sale classified into the following three groups G1, G2 and G3:

• [G1]: less than 300 euros

• [G2]: between 300 and 2000 euros

• [G3]: greater than 2000 euros

Which of the following is the minimum number of test cases needed to cover the full decision table associated with this scenario?

A.

12

B.

6

C.

4

D.

3

Full Access
Question # 6

The whole-team approach:

A.

promotes the idea that all team members should have a thorough understanding of test techniques

B.

is a consensus-based approach that engages the whole team in estimating the user stories

C.

promotes the idea that all team members should be responsible for the quality of the product

D.

is mostly adopted in projects aimed at developing safety-critical systems, as it ensures the highest level of testing independence

Full Access
Question # 7

Which of the following is a test task that usually occurs during test implementation?

A.

Make sure the planned test environment is ready to be delivered

B.

Find, analyze, and remove the causes of the failures highlighted by the tests

C.

Archive the testware for use in future test projects

D.

Gather the metrics that are used to guide the test project

Full Access
Question # 8

Which ONE of the following statements is correct?

A.

Static analysis can be used against a work product containing unstructured artifacts

B.

Test cases can be tested using static testing techniques but not the models

C.

There may be legal issues in performing static testing on a commercially available executable library.

D.

Difficult to interpret work products are best tested using static analysis.

Full Access
Question # 9

Consider an estimation session where a six-member Agile team (Memb1, ... , Memb6) is performing a planning poker session to estimate a user story (in story points). Team

members are using a set of cards with the following values: 1, 2, 3, 5, 8, 13, 21. Below is the outcome produced by the first round of estimation for this session:

Which of the following answers best describes how the estimation session should proceed?

A.

The final estimate of the user story in story points is determined as the arithmetic mean of all the estimates made by the team members during this first round, without the need to perform further rounds of estimation

B.

The final estimation of the user story in story points is determined as the most frequent estimate value among those selected by the team members (in this case 3 story points chosen by Memb1, Memb2, Memb3, Memb5) during this first round, without the need to perform further rounds of estimation

C.

The final estimate of the user story in story points is determined as the arithmetic mean of the most optimistic estimate (chosen by Memb6) and the most pessimistic estimate (chosen by Memb4) during this first round, without the need to perform further rounds of estimation

D.

Memb4 and Memb6, which have produced the most pessimistic and the most optimistic estimates respectively, should explain the reasons of their choices to stimulate a discussion between all team members before to proceed to another round of estimation

Full Access
Question # 10

Which of the following statements about the value of maintaining traceability between the test basis and test work products is not true?

A.

Traceability can be useful for assessing the impact of a change to a test basis item on the corresponding tests

B.

Traceability can be useful for determining how many test basis items are covered by the corresponding tests

C.

Traceability can be useful for determining the most suitable test techniques to be used in a testing project

D.

Traceability can be useful to support the needs required by the auditing of testing

Full Access
Question # 11

Which of the following statements is CORRECT about the value added by a tester to release planning?

A.

The tester estimates the testing effort for individual iterations

B.

The tester assesses the testability of the user stories

C.

The tester breaks down user stories into smaller testing tasks

D.

The tester writes acceptance criteria

Full Access
Question # 12

Which of the following statements about how different types of test tools support testers is true?

A.

The support offered by a test data preparation tool is often leveraged by testers to run automated regression test suites

B.

The support offered by a performance testing tool is often leveraged by testers to run load tests

C.

The support offered by a bug prediction tool is often used by testers to track the bugs they found

D.

The support offered by a continuous integration tool is often leveraged by testers to automatically generate test cases from a model

Full Access
Question # 13

A typical objective of testing is to ensure that:

A.

testing is used to drive the development of a software

B.

a software has been tested using a combination of test techniques

C.

there are no defects in a software that is about to be released

D.

a software has been properly covered

Full Access
Question # 14

An e-commerce site accepts credit cards for processing the payment. The payment processing form has a field for the amount of money to be deducted. The minimum amount of money that can be processed is $10. The credit cards have a limit of $5,000 (Five Thousand). Assume that only integers can be accepted as inputs. Which of the following set of boundary values you will choose for EFFICIENT testing for the amount of money that can be spent?

A.

9,5001

B.

10,5000

C.

9,10,11,4999,5000,5001

D.

9,10,5000,5001

Full Access
Question # 15

A company runs a pilot project for evaluation of a test automation tool. Which of the following is NOT a valid object of this pilot project?

A.

Get familiar with the functionality and options of the tool

B.

Check haw the tool fits to the existing test processes

C.

Train all testers on using the tool

D.

Decide upon standards for tool implementation

Full Access
Question # 16

Which ONE of the following options isNOTa benefit oftest automation?

A.

Reduced test execution times

B.

More objective assessment

C.

Prevention of simple human errors

D.

Eliminating completely the need for manual testing

Full Access
Question # 17

Which of the following statements about white-box test techniques is true?

A.

Achieving full statement coverage and full branch coverage for a software product means that such software product has been fully tested and there are no remaining bugs within the code

B.

Code-related white-box test techniques are not required to measure the actual code coverage achieved by black-box testing, as code coverage can be measured using the coverage criteria associated with black-box test techniques

C.

Branch coverage is the most thorough code-related white-box test technique, and therefore applicable standards prescribe achieving full branch coverage at the highest safety levels for safety-critical systems

D.

Code-related white-box test techniques provide an objective measure of coverage and can be used to complement black-box test techniques to increase confidence in the code

Full Access
Question # 18

Which sequence of state transitions is INCORRECT in accordance with the following description?

To provide for disaster recovery a system (designated as A) has been provided with a backup system (designated as B). Only one of them can be active at a time. When A goes down, B becomes active. When A comes back up then B becomes inactive and A becomes active again. However, when A is down and B also goes down then a message is sent to the system administrator. After this once A comes back up, A becomes active or if B comes up then B becomes Active.

A.

A and B are both down then A and B both come back up at the same time. A should become the active system and B should be inactive

B.

A is active and B is inactive. A goes down. B becomes active then B goes down. A is made active

C.

A is active and B is inactive then A goes down, B becomes active.

D.

A comes up when B is active and A was down. Now A becomes active and B becomes inactive.

Full Access
Question # 19

Which ONE of the following statements does NOT describe how testing contributes to higher quality?

A.

Properly designed tests that pass reduce the level of risk in a system.

B.

The testing of software demonstrates the absence of defects.

C.

Software testing identifies defects, which can be used to improve development activities.

D.

Performing a review of the requirement specifications before implementing the system can enhance quality.

Full Access
Question # 20

Which of the following statement about the shift-left approach is false?

A.

The shift-left approach can only be implemented with test automation

B.

The shift-left approach in testing is compatible with DevOps practices

C.

The shift-left approach can involve security vulnerabilities

D.

The shift-left approach can be supported by static analysis tools

Full Access
Question # 21

Pariksha labs is a mature software testing company. They are TMMi level 5 certified. Their testing processes are well defined. Which ONE of the following statements is likely to be CORRECT about them?

A.

The company uses same test strategy for all the projects doing minor changes based on test manager responsible for the project because their test strategy template is very mature and do not need to change

B.

The question about the test design techniques to be used is determined based on various factors such as the domain and expectations of the stakeholders

C.

Same set of testing processes are used by them without needing any tweaks because that is the hallmark of a mature testing company.

D.

They try to perform 100% automation for every project because automation is a must for efficiency

Full Access
Question # 22

The following rules determine the annual bonus to be paid to a salesman of a company based on the total annual amount of the sales made (referred to as TAS).

If the TAS is between 50k€ and 80k€, the bonus is 10%. If the TAS exceeds 80k€ by a value not greater than 40k€, the bonus is 15%. Finally, if the TAS

exceeds the maximum threshold which entitles to a 15% bonus, the bonus is 22%.

Consider applying equivalence partitioning to the TAS (Note: 1k€ = 1000 euros).

Which one of the following answers contain only test cases that belong to the same equivalence partition?

A.

TC1 = 81 k€; TC2= 97k€; TC3=111k€; TC4=118k€

B.

TC1 = 40k€; TC2= 46k€; TC3=51k€; TC4=53k€

C.

TC1 = 79k€; TC2= 80k€; TC3=81k€; TC4=82k€

D.

TC1 = 90k€; TC2= 110k€; TC3=125k€: TC4=140k€

Full Access
Question # 23

Which of the following types of bug are more likely to be found by static testing then by dynamic testing?

A.

A sub-system that does not perform the intended functionality

B.

Variables that were declared in the code without initialization

C.

Functions that take much longer time to complete than expected

D.

Crashes of the application

Full Access
Question # 24

Which of the following is a task the Author is responsible for, as part of a typical formal review?

A.

Determining the people who will be involved in the review

B.

Recording the anomalies found during the review meeting

C.

Identifying potential anomalies in the work product under review

D.

Fixing the anomalies found in the work product under review

Full Access
Question # 25

Which of the following statements is true?

A.

A defect does not always produce a failure, while a bug always produces a failure

B.

A defect may cause a failure which, when occurring, always causes an error

C.

Failures can be caused by defects, but also by environmental conditions

D.

Bugs are defects found during component testing, while failures are defects found at higher test levels

Full Access
Question # 26

Which of the following statements is not correct?

A.

Looking for defects in a system may require Ignoring system details

B.

Identifying defects may be perceived as criticism against product

C.

Looking for defects in system requires professional pessimism and curiosity

D.

Testing is often seen as a destructive activity instead of constructive activity

Full Access
Question # 27

Which ONE of the following options is NOT a test objective?

A.

Verifying whether specified requirements have been fulfilled

B.

Triggering failures and finding defects

C.

Finding errors

D.

Validating whether the test object is complete and works as expected by the stakeholders

Full Access
Question # 28

Which ONE of the following is a characteristic of exploratory testing?

A.

Effectiveness depends on the individual testers' skills

B.

Usually conducted when there is sufficient time for testing

C.

Test cases are written once the specifications become available

D.

Testing without defined time-boxes

Full Access
Question # 29

Which of the following coverage criteria results in the highest coverage for state transition based test cases?

A.

Can't be determined

B.

Covering all transitions at least once

C.

Covering only start and end states

D.

Covering all states at least once

Full Access
Question # 30

Mark the correct sentences:

* Defects are a result of environmental conditions and are also referred to as "Failures"

* A human mistake may produce a defect

* A system mil totally fail to operate correctly when a failure exists in it

* When a defect exists in a system it may result in a failure

* Defects occur only as a result of technology changes

A.

II, IV

B.

I, II

C.

IV, V

D.

II, III, IV

Full Access
Question # 31

Consider the following examples of risks identified in different software development projects:

[I]. It may not be possible to generate the expected workloads to run performance tests, due to the poor hardware equipment of the machines (load injectors) that should generate these workloads

[II]. A user’s session on a web application is not invalidated after a certain period of inactivity (configured by the system administrator) of the user

[III]. The test team will not have an adequate requirements specification (since many requirements will still be missing) by the time test design and analysis activities should begin according to the test plan

[IV]. Following a failure, the system is unable to continue to maintain its pre-failure operation and some data becomes corrupted

Which of the following statements is true?

A.

[II] and [IV] are product risks: [I] and [III] are project risks

B.

[II] and [III] are product risks, [I] and [IV] are project risks

C.

[I], and [IV] are product risks: [II] and [III] are project risks

D.

[I], [II] and [III] are product risks; [IV] is a project risk

Full Access
Question # 32

A number of characteristics are given for impact of SDLC on the testing effort.

i.Finishing of requirements review leading to test analysis

ii.Both - static and dynamic testing performed at unit testing level

iii.Frequent regression testing may need to be performed

iv.Extensive product documentation

v.More use of exploratory testing

Which of the following statements is MOST correct?

A.

i, ii and iii are characteristics of sequential models; iv and v are characteristicsof iterativeandincrementalmodels

B.

i and iv are characteristics of sequential models;ii, iii and varecharacteristicsof iterativeandincrementalmodels

C.

ii and iv are characteristics of sequential models;i, iii and varecharacteristicsof iterativeandincrementalmodels

D.

iii and iv are characteristics of sequential modelsand i, ii and v are characteristics of iterative and incremental models

Full Access
Question # 33

A state transition diagram describes a control system’s behavior in different operational modes. The initial state is“NORMAL MODE”.

Which ONE of the following test cases covers anINVALID sequence?

A.

NORMAL MODE → DIAGNOSTIC MODE → DEGRADED MODE → EMERGENCY MODE → DIAGNOSTIC MODE → NORMAL MODE → DIAGNOSTIC MODE

B.

NORMAL MODE → DEGRADED MODE → NORMAL MODE → DIAGNOSTIC MODE → DEGRADED MODE → EMERGENCY MODE → DIAGNOSTIC MODE

C.

NORMAL MODE → DIAGNOSTIC MODE → DEGRADED MODE → EMERGENCY MODE → DIAGNOSTIC MODE → NORMAL MODE → DEGRADED MODE

D.

NORMAL MODE → DIAGNOSTIC MODE → NORMAL MODE → DIAGNOSTIC MODE → EMERGENCY MODE → DIAGNOSTIC MODE → NORMAL MODE

Full Access
Question # 34

For a given set of test-cases, which of the following is a benefit of running these tests with a test automation tool?

A.

The number of found bugs is reduced.

B.

The time spent on repetitive tasks is reduced.

C.

Test coverage is increased.

D.

The total cost of the test project always decreases

Full Access
Question # 35

For each test case to be executed, the following table specifies its dependencies and the required configuration of the test environment for running such test case:

Assume that CONF1 is the initial configuration of the test environment. Based on this assumption, which of the following is a test execution schedule that is compatible with the specified dependencies and allows minimizing the number of switches between the different configurations of the test environment?

A.

TC4, TC3, TC2, TC1.TC5

B.

TC1.TC5.TC4. TC3, TC2

C.

TC4, TC3. TC2, TC5, TC1

D.

TC4.TC1, TC5. TC2.TC3

Full Access
Question # 36

Which ONE of the following is a CORRECT example of the purpose of a test plan?

A.

A test manager should always create a very simple test plan because the purpose of test plan is to ensure that there is documentation for the purpose of audits.

B.

A testmanager decides to create a one page test plan for an agile project for communicating the broad activities and explaining why detailed test caseswillnot be written as

mandated by the test policy.

C.

A test plan is a good document to have for the agile projects because it helps the test manager assign tasks to different people

D.

A test lead decides to write a detailed test plan so that in future, in case of project failure responsibilities could be assigned to the right person

Full Access
Question # 37

The fact that defects are usually not evenly distributed among the various modules that make up a software application, but rather their distribution tend to reflect the Pareto principle:

A.

is a false myth

B.

is expressed by the testing principle referred to as Tests wear out'

C.

is expressed by the testing principle referred to as 'Defects cluster together'

D.

is expressed by the testing principle referred to as 'Bug prediction'

Full Access
Question # 38

Which of the following is not an example of a typical content of a test completion report for a test project?

A.

The additional effort spent on test execution compared to what was planned

B.

The unexpected test environment downtime that resulted in slower test execution

C.

The residual risk level if a risk-based test approach was adopted

D.

The test procedures of all test cases that have been executed

Full Access
Question # 39

An alphanumeric password must be between 4 and 7 characters long and must contain at least one numeric character, one capital (uppercase) letter and one lowercase letter of the alphabet.

Which one of the following sets of test cases represents the correct outcome of a two-value boundary value analysis applied to the password length? (Note: test cases are separated by a semicolon)

A.

1xA;aB11;Pq1ZZab;7iDD0a1x

B.

aB11;99rSp:5NnN10;7iDD0a1x

C.

1xB: aB11: 99rSp: 5NnN10; 4NnN10T; 44ghWn19

D.

1RhT;rSp53;3N3e10;8sBdby

Full Access
Question # 40

An application is subjected to a constant load for an extended period of time as part of a performance test. While running this test, the response time of the application steadily slows down, which results in a requirement not being met. This slowdown is caused by a memory leak where the application code does not properly release some of the dynamically allocated memory when it is no longer needed.

Which of the following statements is true?

A.

The slowdown is a failure while the memory leak is a defect

B.

The slowdown is a defect while the memory leak is an error

C.

The slowdown is an error the memory leak is a defect

D.

The slowdown is a defect the memory leak is a failure

Full Access
Question # 41

Which of the following IS the BEST example of whole team approach

A.

Testing is the responsibility of the entire team

B.

Sharing same physical workspace is a must

C.

Developers should depend on the business analysts as there is no distinction between testers and developers

D.

Anyone can perform a task they are capable of

Full Access
Question # 42

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.

Mistake

B.

Fault

C.

Error

D.

Failure

Full Access
Question # 43

The four test levels used in ISTQB syllabus are:

1. Component (unit) testing

2. Integration testing

3. System testing

4. Acceptance testing

An organization wants to do away with integration testing but otherwise follow V-model. Which of the following statements is correct?

A.

It is allowed as organizations can decide on men test levels to do depending on the context of the system under test

B.

It is allowed because integration testing is not an important test level arc! can be dispensed with.

C.

It is not allowed because integration testing is a very important test level and ignoring i: means definite poor product quality

D.

It is not allowed as organizations can't change the test levels as these are chosen on the basis of the SDLC (software development life cycle) model

Full Access
Question # 44

Consider the following user story about an e-commerce website's registration feature that only allows registered users to make purchases:

“As a new user, I want to register to the website, so that I can start shopping online”

The following are some of the acceptance criteria defined for the user story:

[a]The registration form consists of the following fields: username, email address, first name, last name, date of birth, password and repeat password

[b]To submit the registration request, the new user must fill in all the fields of the registration form with valid values and must agree to the terms and conditions

[c]To be valid, the email address must not be provided by free online mail services that allow to create disposable email addresses. A dedicated error message must be presented to inform the new user when an invalid address is entered

[d]To be valid, the first name and last name must contain only alphabetic characters and must be between 2 and 80 characters long. A dedicated error message must be presented to inform the new user when an invalid first name and/or the last name is entered

[e]After submitting the registration request, the new user must receive an e-mail containing the confirmation link to the e-mail address specified in the registration form

Based only on the given information, which of the following ATDD tests is most likely to be written first?

A.

The new user enters valid values in the fields of the registration form, except for the email address, where he/she enters an e-mail address provided by a free online mail service that allow to create disposable email addresses. Then he/she is informed by the website about this issue

B.

The new user enters valid values in the fields of the registration form, except for the first name, where he/she enters a first name with 10 characters that contains a number. Then he/she is informed by the website about this issue

C.

The user accesses the website with username and password, and successfully places a purchase order for five items, paying by Mastercard credit card EV

D.

The new user enters valid values in all the fields of the registration form, confirms to accept all the terms and conditions, submits the registration request and then receives an e-mail containing the confirmation link to the e-mail address specified in the registration form

Full Access
Question # 45

A test status report should:

A.

specify the impediments to carrying out the planned test activities in the reporting period and the corresponding solutions put in place to remove them

B.

be produced as part of test completion activities and report unmitigated product risks to support the decision whether or not to release the product

C.

always be based on the same template within an organization, as its structure and contents should not be affected by the audience to which the report is presented

D.

specify the lines of communication between testing, other lifecycle activities, and within the organization that were chosen at the outset of the test project

Full Access
Question # 46

Which of the following is a good testing practice which is applicable INDEPENDENT of the software development lifecycle followed?

A.

Not all development activities should have corresponding test activities

B.

Each test level should have an appropriate test objective

C.

Reviews should be done after the work products have been finalized

D.

Large amount of redundancy between test levels is good because it prevents bug leakage

Full Access
Question # 47

Calculate the measurement error SD for the following estimates done using three point estimation technique-

Most optimistic effort (a) -120 person days

Most likely effort (m) -180 person days

Most pessimistic effort (b) - 240 person days

A.

20

B.

180

C.

197

D.

120

Full Access
Question # 48

After being in operation for many years, a document management system must be decommissioned as it has reached its end of life. This system will not be replaced by any other new system. A legal obligation provides that all documents within the system must be kept for at least 20 years in a state archive.

Which of the following statements about maintenance testing for decommissioning of this system is true?

A.

No maintenance testing is required as this system will not be replaced

B.

Data migration testing is required as part of maintenance testing

C.

Confirmation testing is required as part of maintenance testing

D.

Regression testing is required as part of maintenance testing

Full Access
Question # 49

Which of the following statements about traceability is false?

A.

Traceability between test basis items and thetest casesdesigned tocover them,makes it possible to determine which test basis items have been covered by the executedtest cases

B.

Traceability between test basis items and thetest casesdesigned tocover them,enablesexperience-based test techniques to be applied

C.

Traceability between test basis items and thetest casesdesigned tocover them,enablesidentification of which test cases will be affected by changes to the test basisitems

D.

Traceability can be established and maintained throughall test documentation for a giventest level, such as from test conditions through test cases to test scripts

Full Access
Question # 50

Which of the following is the main difference between quality assurance (QA) and quality control (QC)?

A.

QA is a process-oriented approach, while QC is a product-oriented approach.

B.

QA is the responsibility of everyone on a project, while QC is the responsibility of a dedicated team.

C.

QA is preventive, while QC is corrective.

D.

QA is focused on implementation, while QC is focused on improvement.

Full Access
Question # 51

During component testing of a program if 100% decision coverage is achieved, which of the following coverage criteria is also guaranteed to be 100%?

A.

100% Stale transition coverage

B.

100% Equivalence class coverage

C.

100% Boundary value coverage

D.

100% Statement coverage

Full Access
Question # 52

Which ONE of the following options identifies the perspectives through which acollective authorship processgenerates a shared vision of user stories?

A.

Product owner, development, and testing

B.

Business, architecture, and testing

C.

Business, development, and testing

D.

Business, development, and acceptance testing

Full Access
Question # 53

Which ONE of the following options MOST ACCURATELY describes the activities of “testing” and “debugging”?

A.

Testing triggers a failure that is caused by a defect in the software, whereas debugging is concerned with finding the causes of this failure (defects), analyzing these causes, and eliminating them.

B.

Testing triggers a failure that is caused by a defect in the software, whereas debugging is concerned with finding the causes of this failure (defects), analyzing these causes, and reproducing them.

C.

Testing identifies a defect that is caused by an error in the software, whereas debugging is concerned with finding the causes of this defect, analyzing these causes, and eliminating them.

D.

Testing triggers a defect that is caused by an error in the software, whereas debugging is concerned with finding the causes of this defect, analyzing these causes, and eliminating them.

Full Access
Question # 54

Which of the following answers describes a reason for adopting experience-based testing techniques?

A.

Experience-based test techniques provide more systematic coverage criteria than black-box and white-box test techniques

B.

Experience-based test techniques completely rely on the tester's past experience for designing test cases

C.

Experience-based test techniques allow designing test cases that are usually easier to reproduce than those designed with black-box and white-box test techniques

D.

Experience-based test techniques tend to find defects that may be difficult to find with black-box and white-box test techniques and are often useful to complement these more systematic techniques

Full Access
Question # 55

Consider the following user story about the authentication functionality of an e-commerce website:

"As a logged-in user, I want to change my current password with a new one, so that I can make my account safer".

The following are some of the acceptance criteria defined for the user story:

[a] After the logged-in user has successfully changed his password, an email confirming the change must be sent to him

[b] To successfully change the password, the logged-in user must enter the current password, enter a new valid password, and finally confirm by pressing the 'Change Password' button

[c] To be valid, the new password entered by the logged-in user is not only required to meet the criteria related to the length and type of characters, but must also be different form the last 5 passwords of that user

[d] A dedicated error message must be presented to the logged-in user when he enters a wrong current password

[e] A dedicated error message must be presented to the logged-in user when he enters the correct current password, but enters an invalid password

Based only on the given information, which of the following ATDD tests is most likely to be written first?

A.

The logged-in user enters a wrong current password and views the dedicated error message

B.

The logged-in user enters the correct current password, enters a valid new password (different from the last 5 passwords), presses the Change Password' button, and finally receives the e-mail confirming that the password has been successfully changed

C.

The logged-in user enters the correct current password, enters an invalid password, and finally views the dedicated error

D.

The logged-in user submits a purchase order containing ten items, selects to pay with a Visa credit card, enters credit card information of a valid card, presses the 'Confirm' button, and finally views the dedicated message confirming that the purchase has been successful

Full Access
Question # 56

A program is used to control a manufacturing line (turn machines on and off. start and stop conveyer belts, add raw materials to the flow. etc.). Not all actions are possible at all times. For example, there are certain manufacturing stages that cannot be stopped - unless there is an emergency. A tester attempts to evaluate if all such cases (where a specific action is not allowed) are covered by the tests.

Which coverage metric will provide the needed information for this analysis?

A.

Code coverage

B.

Data flow coverage

C.

Statement coverage

D.

Branch Coverage

Full Access