Winter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

Question # 4

What is the main purpose of use case testing?

A.

To identify defects in process flows related to typical use of the system.

B.

To identify defects in the connections between components.

C.

To identify defects in the system related to extreme scenarios.

D.

To identify defects in the system related to the use of unapproved programming practices.

Full Access
Question # 5

Which of the following statements BEST describes one of the seven key principles of software testing?

A.

Automated tests are better than manual tests for avoiding the Exhaustive Testing.

B.

Exhaustive testing is, with sufficient effort and tool support, feasible for all software.

C.

It is normally impossible to test all input / output combinations for a software system.

D.

The purpose of testing is to demonstrate the absence of defects. The purpose of testing is to demonstrate the absence of defects.

Full Access
Question # 6

Which of the following is the main purpose of the component build and integration strategy?

A.

to ensure that all of the small components are tested

B.

to ensure that the system interfaces to other systems and networks

C.

to ensure that the integration testing can be performed by a small team

D.

to specify how the software should be divided into components

E.

to specify which components to combine when, and how many at once

Full Access
Question # 7

You have been asked to improve the way test automation tools are being used in your company.

Which one of the following is the BEST approach?

A.

Selecting and automating scripts that test new functionality to find the most defects

B.

Using a keyword-driven testing approach to separate the actions and data from the tool's script

C.

Ensuring that all data, inputs and actions are stored in the tool's script for ease of maintenance

D.

Keeping expected results separate from the automation tool to allow the testers to check the results

Full Access
Question # 8

Which of the following does NOT represent one of the three triggers for maintenance testing an operational system?

A.

Data migration

B.

System retirement

C.

System modification

D.

Introduction of a test management tool

Full Access
Question # 9

Which of the following would you NOT expect to see on an incident report from test execution?

A.

The version(s) of the software under test

B.

The test execution schedule

C.

Expected results and actual results

D.

Precise steps to reproduce the problem

Full Access
Question # 10

The following Test Cases have been created for a simple web-based airline booking system.

Test Case 1: Search for an item Available Flights

Test Case 2: View selected item in My Flights

Test Case 3: Login to the system: Login is accepted

Test Case 4: Select an available flight: item added to My Flights

Test Case 5: Print confirmation receipt, then exit

Test Case 6: In My Flights, confirm details and book flight

Which of the following is the correct logical order for the test cases?

A.

6, 3, 1, 4, 2, 5

B.

3, 4, 1, 2, 5, 6

C.

3, 2, 1, 4, 6, 5

D.

3, 1, 4, 2, 6, 5

Full Access
Question # 11

A booking system for a city bus service prices its fares according to the time of travel:

• Peak-time tariff starts at 0600 and finishes at 1000 am

• Off-peak tariff applies during all other times of service

• The bus service does not operate between 2300 and the start of the next day’s peak service

Note that all times mentioned are inclusive.

When applying the equivalence partitioning test design technique, which of the following options, shows test case inputs that each fall into a different equivalence partition?

A.

0600, 1000, 1200

B.

1001, 1300, 2259

C.

0100, 0800, 2200

D.

2400, 1000, 2301

Full Access
Question # 12

You are examining a document which gives the precise steps needed in order to execute a test.

What is the correct definition of this document?

A.

Test design specification

B.

Test condition

C.

Test procedure specification

D.

Test case specification

Full Access
Question # 13

When considering the roles of test leader and tester, which of the following tasks would NOT typically be performed by a tester?

A.

Prepare and acquire the test data

B.

Set up and check the test environment

C.

Write test summary reports

D.

Review tests developed by others

Full Access
Question # 14

Which of the following is NOT a valid use of decision coverage?

A.

Checking that all decisions have been exercised in a single program

B.

Checking that all decisions have been exercised in a business process

C.

Checking that all calls from one program module to another have been made correctly

D.

Checking that at least 50% of decisions have been exercised by a test case suite

Full Access
Question # 15

The decision table above reflects a golf club's pricing structure for green fees and buggy/cart hire.

What is the expected result (actions) for each of the following two test cases (TC1 and TC2)?

* TC 1 - Paul is not a full member, is a Loyalty Card holder and requests to play 18 holes with a buggy/cart

* TC 2 - Cheryl is not at full member, doesn't have a Loyalty Card and requests to play 9 holes with a buggy/cart

A.

TC1 - £23 total charges including buggy hire; TC2 - £21 total charge including buggy hire

B.

TC1 - £18 total charges including buggy hire; TC2 - £16 total charge but no buggy allowed

C.

TC1 - £23 total charges including buggy hire; TC2 - £16 total charge but no buggy allowed

D.

TC1 - £17 total charges but no buggy allowed; TC2 - £21 total charge including buggy hire

Full Access
Question # 16

Which of the following is a white-box test technique?

A.

Decision table testing

B.

Exploratory testing

C.

Statement testing

D.

Error guessing

Full Access
Question # 17

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

A.

Test Implementation and Execution

B.

Test Planning and Control

C.

Evaluating Exit Criteria and Reporting

D.

Test Analysis and Design

Full Access
Question # 18

Which of the following options explain why it is often beneficial to have an independent test function in an organisation?

A.

To improve defect finding during reviews and testing

B.

To ensure that developers adhere to coding standards

C.

To limit communication between developers and testers

D.

To provide better metrics for the stakeholders

Full Access
Question # 19

A system requirement states that up to 100 users should be able to carry out a transaction, with responses returned within 5 seconds.

What type of non-functional testing would you carry out to verify these requirements?

A.

Stress testing

B.

Maintenance testing

C.

Load testing

D.

Usability testing

Full Access
Question # 20

A live defect has been found where a code component fails to release memory after it has finished using it.

Which of the following tools would have been the MOST effective at detecting this defect prior to live implementation?

A.

Dynamic analysis tool

B.

Monitoring tool

C.

Configuration management tool

D.

Coverage measurement tool

Full Access
Question # 21

Which one of the following statements about testing techniques is TRUE?

A.

Exploratory testing can replace black box techniques when testing time is very limited

B.

Test execution scheduling should give priority to experienced based testing

C.

Specification based techniques can be used as a substitute for a poorly defined test basis

D.

Experienced based techniques are systematic and produce detailed test documentation

Full Access
Question # 22

Which option BEST describes how the level of risk is determined?

A.

The likelihood of an adverse event happening multiplied by the cost of preventing it

B.

The consequences of a potential problem multiplied by the cost of possible legal action

C.

The impact of an adverse event multiplied by the likelihood of that event occurring

D.

The likelihood and the probability of a hazard occurring

Full Access
Question # 23

Which of the following activities is appropriate to the test planning stage?

A.

Analysing the test basis

B.

Assigning resources for the planned activities

C.

Designing the test environments

D.

Writing a test execution schedule

Full Access
Question # 24

During the development of a software change for a system, the developer makes a mistake in his work, which leads to a fault in the code. Unfortunately the fault is not found by software testing and is released into live.

What is the definite consequence of this mistake?

A.

The system will fail, causing a defect

B.

If the defect is executed, the system may fail

C.

Loss of money, time, or business reputation

D.

Contractual requirements have not been met by testing

Full Access
Question # 25

Which of the following type of defect would NOT be typically found by using a static analysis tool?

A.

A variable is defined but is then not used

B.

A variable is used in a calculation before it is defined

C.

A variable has the wrong numeric value passed into it

D.

A variable is used but not declared

Full Access
Question # 26

Which of the following is a Black Box test design technique?

A.

Decision Coverage

B.

Error Guessing

C.

Statement Coverage

D.

Equivalence Partitioning

Full Access
Question # 27

Which of the following would be a good test technique to use when under severe time pressure?

A.

Exploratory testing

B.

Structure based testing

C.

Specification based testing

D.

Use Case testing

Full Access
Question # 28

In the above State Table, which of the following represents an invalid transition?

A.

Event C from S3

B.

Event E from S4

C.

Event B from S2

D.

Event D from S4

Full Access
Question # 29

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

Which of the following are 'Debugging' activities?

a) Identifying, a failure

b) Locating the cause of failure

c) Fixing the defect

d) Checking the fix has resolved the failure

A.

a & d

B.

a & b

C.

b & c

D.

c & d

Full Access
Question # 30

Which of the following is a defect that is more likely to be found by a static analysis tool than by other testing techniques?

A.

Omission of a major requirement

B.

Inadequate decision coverage

C.

Component memory leakage

D.

Variables that are not used improperly declared

Full Access
Question # 31

Why is measurement of code coverage Important?

A.

Because 100% code coverage implies 100% coverage of requirements

B.

Because 100% code coverage guarantees that there are no coding errors

C.

Because code coverage can be used to ensure that all code is exercised by tests

D.

Because code coverage can ensure that all decisions are correctly implemented in the code

Full Access
Question # 32

When can functional and structural testing BOTH be applied?

A.

System and Component test levels only

B.

All 'Developement' test levels, i.e. those before Acceptance testing

C.

Component and Component integration test levels only

D.

All test levels

Full Access
Question # 33

Testing effort can depend on a number of factors, which one of following is MOST likely to impact the amount of effort required?

A.

The predicted number of defects and the amount of rework required

B.

The ratio of developers to testers in the project team

C.

The planned use of a project management tool to schedule tasks

D.

The responsibilities for testers and developers being clearly defined

Full Access
Question # 34

Which of the following is most likely to be a benefit of using static techniques?

A.

Fewer performance defects.

B.

Productivity improvements in the development process.

C.

More efficient regression testing.

D.

Quick return on investment in static analysis tools.

Full Access
Question # 35

Tests are prioritized so that:

A.

You shorten the time required for testing

B.

You do the best testing in the time available

C.

You do more effective testing

D.

You find more faults

Full Access
Question # 36

A deviation from the specified or expected behavior that is visible to end-users is called:

A.

an error

B.

a fault

C.

a failure

D.

a defect

Full Access
Question # 37

The selection of test cases for regression testing..?

A.

Requires knowledge on the bug fixes and how it affect the system

B.

Includes the area of frequent defects

C.

Includes the area which has undergone many/recent code changes

D.

All of the above

Full Access
Question # 38

Which of the following statements are true?

(i) Defects are likely to be found earlier in the development process by using reviews rather than static analysis.

(ii) Walkthroughs require code but static analysis does not require code.

(iii) Informal reviews can be performed on code and specifications.

(iv) Dynamic techniques are generally used before static techniques.

(v) Dynamic techniques can only be used after code is ready to be executed.

A.

(i), (ii), (vi).

B.

(ii), (iii), (v).

C.

(i), (iv), (v).

D.

(i), (iii), (v).

Full Access
Question # 39

Which of the following statements is the MOST valid goal for a test team?

A.

Determine whether enough component testing was executed.

B.

Cause as many failures as possible so that faults can be identified and corrected.

C.

Prove that all faults are identified.

D.

Prove that any remaining faults will not cause any failures.

Full Access
Question # 40

Which of the following, if observed in reviews and tests, would lead to problems (or conflict) within teams?

A.

Testers and reviewers are not curious enough to find defects.

B.

Testers and reviewers are not qualified enough to find failures and faults.

C.

Testers and reviewers communicate defects as criticism against persons and not against the software product.

D.

Testers and reviewers expect that defects in the software product have already been found and fixed by the developers.

Full Access
Question # 41

A top-down development strategy affects which level of testing most?

A.

Component testing

B.

Integration testing

C.

System testing

D.

User acceptance testing

Full Access
Question # 42

Which of the following is in the correct order (typically)?

A.

Unit testing, system testing, acceptance testing, maintenance testing.

B.

System testing, unit testing, acceptance testing, maintenance testing.

C.

Acceptance testing, system testing, maintenance testing, unit testing.

D.

Unit testing, maintenance testing, system testing, acceptance testing.

Full Access
Question # 43

In a review meeting a moderator is a person who:

A.

Takes minutes of the meeting

B.

Mediates between people

C.

Takes telephone calls

D.

Writes the documents to be reviewed

Full Access
Question # 44

Which of the following best describes the purpose of non-functional testing?

A.

To measure characteristics of a system which give an indication of how the system performs its functions

B.

To ensure that a system complies with the quality standards set by ISO 9126

C.

To ensure that the system deals appropriately with software malfunctions

D.

To measure the extent to which a system has been tested by functional testing

Full Access
Question # 45

Which of the following are the typical defects found by static analysis tools?

a. Variables that are never used.

b. Security vulnerabilities.

c. Poor performance.

d. Unreachable code.

e. Business processes not followed.

A.

b, c and d are true; a and e are false

B.

a is true; b, c, d and e are false

C.

c, d and e are true; a and b are false

D.

a, b and d are true; c and e are false

Full Access
Question # 46

When a defect is detected and fixed then the software should be retested to confirm that the original defect has been successfully removed. This is called:

A.

Regression testing

B.

Maintenance testing

C.

Confirmation testing

D.

None of the above

Full Access
Question # 47

Which of the following is a benefit of test independence?

A.

It does not require familiarity with the code.

B.

It is cheaper than using developers to test their own code.

C.

It avoids author bias in defining effective tests.

D.

Testers are better at finding defects than developers.

Full Access
Question # 48

What is the benefit of independent testing?

A.

More work gets done because testers do not disturb the developers all the time.

B.

Independent testers tend to be unbiased and find different defects than the developers

C.

Independent testers do not need extra education and training.

D.

Independent testers reduce the bottleneck in the incident management process.

Full Access
Question # 49

The difference between re-testing and regression testing is:

A.

Re-testing is running a test again; regression testing looks for unexpected side effects

B.

Re-testing looks for unexpected side effects; regression testing is repeating those tests

C.

Re-testing is done after faults are fixed; regression testing is done earlier

D.

Re-testing uses different environments, regression testing uses the same environment

E.

Re-testing is done by developers, regression testing is done by independent testers

Full Access
Question # 50

Which statement below BEST describes non-functional testing?

A.

The process of testing an integrated system to verify that it meets specified requirements.

B.

The process of testing to determine the compliance of a system to coding standards.

C.

Testing without reference to the internal structure of a system.

D.

Testing system attributes, such as usability, reliability or maintainability.

Full Access
Question # 51

Failure is _________

A.

Incorrect program behavior due to a fault in the program

B.

Bug found before product Release

C.

Bug found after product Release

D.

Bug found during Design phase

Full Access
Question # 52

How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment?

Assume that the two conditions are independent of each other : -if (Condition 1)then statement 1else statement 2if (Condition 2)then statement 3

A.

2 Test Cases

B.

3 Test Cases

C.

4 Test Cases

D.

Not achievable

Full Access
Question # 53

For which of the following would maintenance testing be used?

A.

Correction of defects during the development phase.

B.

Planned enhancements to an existing operational system.

C.

Complaints about system quality during user acceptance testing.

D.

Integrating functions during the development of a new system.

Full Access
Question # 54

Which of the following are most likely to be used when developing a test strategy or test approach?

(i) Failure-based approach

(ii)Test specification approach

(iii) Model-based approach

(iv)Finance-based approach

A.

(iii) and (ii)

B.

(i) and (iv)

C.

(ii) and (i)

D.

(i) and (iii)

Full Access
Question # 55

Dynamic Analysis Tools are used to:

A.

Determine differences between files or databases.

B.

Monitor and report on how a system behaves under a variety of conditions.

C.

Find defects, such as memory leaks, while software is executing.

D.

Measure the percentage of specific types of code structure that have been exercised.

Full Access
Question # 56

Which of the following processes ensures that all items of testware are identified, version controlled, tracked for changes, so that traceability can be maintained throughout the test process?

A.

Software traceability process

B.

Incidence management process

C.

Testing design process

D.

Configuration management process

Full Access
Question # 57

Which of the following test design techniques is classified as a structure-based (white box) technique? [K1]

A.

Exploratory testing

B.

Decision table testing

C.

State transition testing

D.

Statement testing

Full Access
Question # 58

Which of the following are valid test objectives?

(i)Finding defects.

(ii)Gaining confidence about the level of quality and providing information.

(iii)Preventing defects.

(iv)Debugging the code.

A.

i, ii and iii

B.

i, ii and iv

C.

ii and iii

D.

i and iv

Full Access
Question # 59

“Experience based" test design techniques, typically...

A.

Use decision tables to generate the Boolean test conditions to be executed.

B.

Identify the structure of the system or software at the component, integration or system level.

C.

Use the skill, intuition and experience of the tester to derive the test cases, using error guessing and exploratory testing.

D.

Establish traceability from test conditions back to the specifications and requirements.

Full Access
Question # 60

An iPhone application identifies and counts all purchases of a particular product from a shopping website. The application incorrectly counts purchase attempts by including both failed attempts, and also those where the purchase was terminated by the user before completion. Testing has identified that the problem was located in the ‘purchase identification’ module, where the first stage in the purchasing process was counted, rather than a successful confirmed purchase.

Which of the following statements correctly identifies what has happened? [K2]

A.

The application failed because of a defect in the purchase identification module caused by a programmer mistake or an error in the specification.

B.

An error by the programmer led to a mistake in the purchase identification module and this caused a defect in the application

C.

A defect in the purchase identification module caused by a mistake in the module specification led to a defect in the overall application

D.

A bug in the purchase identification module caused a fault in the application

Full Access
Question # 61

Which of the following is a consideration when deploying test execution tools? [K1]

A.

Data-driven testing cannot be used with test execution tools

B.

Recorded manual tests may become unstable in use

C.

Keyword-driven testing cannot be used with test execution tools

D.

Expected results for tests are not required because the tool generates expected results

Full Access
Question # 62

How does software testing contribute to the quality of delivered software? [K2]

A.

By detecting and removing all the defects in the delivered code and ensuring that all tests adhere to the quality standards set for the project

B.

By measuring reliability of the software and ensuring that it is always above 99.99%

C.

By identifying root causes of defects from past projects and using the lessons learned to improve processes and thus help to reduce the defect count

D.

By detecting all deviations from coding good practice and ensuring that these are corrected

Full Access
Question # 63

Which of the following test case design techniques is white box (structure-based)? [K1]

A.

Use case testing

B.

State transition testing

C.

Decision testing

D.

Equivalence partitioning

Full Access
Question # 64

Which type of review has the following main purposes:

discussing, making decisions, evaluating alternatives, finding defects, solving technical problems and checking conformance to specifications, plans, regulations, and standards?

A.

Technical Review

B.

Inspection

C.

Walkthrough

D.

Informal review

Full Access
Question # 65

Which of the following is a white box testing design characteristic?

A.

To be based on specifications

B.

To be based on an analysis of the test basis documentation

C.

To be based on an analysis of the structure of the component or system

D.

To include both functional and non-functional testing

Full Access
Question # 66

What content would be in an incident report if that incident report was based on the IEEE 829 Standard for SoftwareTest Documentation?

(i)Identification of configuration items of the software or system.

(ii)Software or system lifecycle process in which the incident was observed.

(iii)Description of the anomaly to enable reproduction of the incident.

(iv)Number of occurrences of the incident.

(v)Classification of the cause of the incident for metrics and for reporting purposes.

Number of correct answers: 1

A.

i, ii, iii

B.

ii, iii

C.

i, iii, iv

D.

i, ii, iii, v

Full Access
Question # 67

Which of the following statements about use-case testing are most accurate?

(i)In a use-case diagram an actor represents a type of user.

(ii)Use-cases are the most common test basis for unit testing.

(iii)A use-case describes interactions between actors.

(iv)An actor is always a human user that interacts with the system.

(v)Test cases can be based on use-case scenarios.

(vi)Use-case testing will often identify gaps not found by testing individual components.

A.

ii, iii, iv, v

B.

i, iii, v, vi

C.

i, ii, iv, v

D.

iii, iv, v, vi

Full Access
Question # 68

A client-server system for a web development must support a minimum of 200 enquiries per hour. In peak times, it must be available 24 hours x 7 days due to the critical nature of the application, and must have a response time lower than 20 seconds during peak loads.

Which of the following set of test types would be most appropriate to verify the non-functional requirements expressed in this statement?

A.

Performance, Usability, Regression.

B.

System, Load, Fail-over.

C.

Performance, Load, Stress.

D.

Load, Volume and Component.

Full Access
Question # 69

Which of the following statements about software development models is most accurate? [K1]

A.

The 4 stage V model is always the best choice of software development model for any project

B.

The agile development model is usually most appropriate for short projects

C.

The choice of software development model depends on product and project characteristics

D.

The 2 stage V model is the most appropriate development model for simple products

Full Access
Question # 70

Which of the following BEST defines static techniques? [K1]

A.

Executing the software work product

B.

Manually examining the code or project documentation

C.

Automated analysis of the code or project documentation

D.

Manual examination and automated analysis of code or project documentation

Full Access
Question # 71

Which of the following would NOT be a typical target of testing support tools?

A.

Automate activities that require significant resources when done manually

B.

Automate activities that cannot be executed manually

C.

Automate repetitive tasks

D.

Automating repetitive inspections

Full Access
Question # 72

Refer to the exhibit

Given the following State Transition diagram, match the test cases below with the relevant set of state transitions.

(i)X-Z-V-W

(ii)W-Y-U-U

A.

(i) = S1 – S2 – S3 – S4 – S2 and (ii) = S4 – S2 – S4 – S4 – S4

B.

(i) = S1 – S2 – S3 – S4 – S4 and (ii) = S2 –S4 – S4 – S4 – S2

C.

(i) = S2 – S3 – S4 – S2 – S2 and (ii) = S4 – S2 – S4 – S4 – S4

D.

(i) = S2 – S3 – S4 - S4 – S2 and (ii) = S2 –S3 – S4 –S4 – S4

Full Access
Question # 73

Consider the following pseudo code:

1. Begin

2. Input X, Y

3. If X > Y

4. __Print (X, ‘is greater than’, Y)

5. Else

6. __Print (Y, is greater than or equal to’, X)

7. EndIf

8. End

What is the minimum number of test cases required to guarantee both 100% statement coverage and 100% decision coverage?

A.

Statement coverage = 3, Decision coverage = 3

B.

Statement coverage = 2, Decision coverage = 2

C.

Statement coverage = 1, Decision coverage = 2

D.

Statement coverage = 2, Decision coverage = 1

Full Access
Question # 74

Which TWO of the following test tools would be classified as test execution tools? [K2]

a. Test data preparation tools

b. Test harness

c. Review tools

d. Test comparators

e. Configuration management tools

A.

a and b

B.

c and d

C.

c and e

D.

b and d

Full Access
Question # 75

What is a test condition?

A.

A statement of test objectives and test ideas on how to test.

B.

An item or event that could be verified by one or more test cases.

C.

The process of identifying differences between the actual results and the expected results for a test.

D.

All documents from which the requirements of a component or system can be inferred.

Full Access
Question # 76

Which of the following BEST describes the relationship between test planning and test execution? [K2]

A.

Test planning ensures the level of detail in test procedures is appropriate for test execution

B.

Test planning schedules test execution but does not assign resources

C.

Test planning defines the overall approach to testing but does not schedule specific activities such as test execution

D.

Test planning identifies test objectives related to scope and risk but does not define the level of detail for test procedures used in test execution

Full Access
Question # 77

Which of the following correctly states a limitation in the use of static analysis tools? [K1]

A.

Static analysis tools can be applied to new code but cannot be applied to existing code

B.

Static analysis tools can be used to enforce coding standards

C.

Static analysis tools always generate large numbers of warning messages when applied to new code, even if the code meets coding standards

D.

Static analysis tools do not generate warning messages when applied to existing code

Full Access
Question # 78

Functional and structural tests are alternative test types that may be used separately or together at which test level? [K1]

A.

At the component test level only

B.

At all test levels

C.

At integration testing and system testing levels only

D.

At all levels from integration testing to acceptance testing

Full Access
Question # 79

Which of the following statements is most true about test conditions?

A.

An item or event of a component or system that can be verified by one or more test cases.

B.

The grouping of a composite set of test cases which, when tested as a whole, reveal a positive or negative result.

C.

A testable component derived from business requirements.

D.

Applies to software testing only.

Full Access
Question # 80

Testers are often seen as the bearer of unwanted news regarding defects. What are effective ways to improve the communication and relationship between testers and others?

a)Communicate factual information in a constructive way.

b)Try to understand how the other person feels and why they react the way they do.

c)Always outsource testing activities.

d)Never record information that could be used to apportion blame to an individual or team.

A.

a and b

B.

a, b and c

C.

a, b and d

D.

a and c

Full Access
Question # 81

Which of the following characteristics is most likely to promote effective software testing? [K1]

A.

Independence from the production process

B.

A belief that programmers always make mistakes

C.

Knowledge of the number of defects typically found in a program

D.

Confidence that the next stage will find defects missed at this stage

Full Access