Chapter 2 Testin Throughout the Software Development Lifecycle Flashcards

1
Q

Which of the following characteristics of good testing apply to any software development life cycle model?

A. For every development activity there is a corresponding testing activity.

B. Acceptance testing is always the final test level to be applied

C. All test levels are planned and completed for each developed feature

D. Testers are involved as soon as the first piece of code can be executed

A

A. For every development activity there is a corresponding testing activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following is a characteristic of well-managed test level?

A. It has a target duration of one month

B. It has a corresponding test objective

C. It does not overlap with another test level

D. It applies a single test design technique

A

B. It has a corresponding test objective

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When should the testers start reviewing project documents?

A. When they have been baselined and approved

B. After the first revision

C. When the developers have started coding

D. As soon as draft is available

A

D. As soon as draft is available

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is important to do when working with software development models?

A. To adapt the models to the context of project and product characteristics

B. To choose the waterfall model because it is the first and best proven model

C. To start with the V-model and then move to either iterative or incremental models

D. To only change the organization to fit the model and not vice versa

A

A. To adapt the models to the context of project and product characteristics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which one of the following describes the major benefit of verification early in the life cycle?

A. It allows the identification of changes in user requirements.

B. It facilitates timely set up of the test environment.

C. It reduces defect multiplication.

D. It allows testers to become involved early in the project.

A

C. It reduces defect multiplication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which iterative model consists of relatively short iterations (e.g. few weeks) and produces small features increments?

A. Rational Unified Process

B. Scrum

C. Kanban

D: Spiral (or prototyping)

A

B. Scrum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which iterative model involves creating experimental increments, some of which may be heavily re-worked or even abandoned in subsequent development work

A. Rational Unified Process

B. Scrum

C. Kanban

D: Spiral (or prototyping)

A

D: Spiral (or prototyping)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Match every stage of the software Development Life cycle with the Testing Life cycle:

i. Hi-level design
ii. Code
iii. Low-level design
iv. Business requirements

a. Unit tests
b. Accetance test
c. System tests
d. Integration tests
A. i-d , ii-a , iii-c , iv-b

B. i-c , ii-d , iii-a , iv-b

C. i-b , ii-a , iii-d , iv-c

D. i-c , ii-a , iii-d , iv-b

A

D. i-c , ii-a , iii-d , iv-b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where may functional testing be performed?

A. At system and acceptance testing levels only.

B. At all test levels.

C. At all levels above integration testing.

D. At the acceptance testing level only.

A

B. At all test levels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which testing level is primarily focused on building confidence rather than finding defects?

A. Unit Testing

B. Integration Testing

C. System Testing

D. Acceptance Testing

A

D. Acceptance Testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which one of the following is true of software development models?

A. There are always four test levels in the V-model.

B. In a Rapid Application Development (RAD) project, there are four test levels for each iteration.

C. In Agile development models, the number of test levels for an iteration can vary depending on the project.

D. There must be at least four test levels for any software development model.

A

C. In Agile development models, the number of test levels for an iteration can vary depending on the project.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In which test levels are the developers most heavily involved?

A. Compatibility

B. Acceptance

C. Component

D. Conversion

A

C. Component

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Contract and regulation testing is a part of:

A. System testing

B. Acceptance testing

C. Integration testing

D. Functional testing

A

B. Acceptance testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A test harness is a

A. A high level document describing the principles, approach and major objectives of the organization regarding testing

B. A distance set of test activities collected into a manageable phase of a project

C. A test environment comprised of stubs and drives needed to conduct a test

D. A set of several test cases for a component or system under test

A

C. A test environment comprised of stubs and drives needed to conduct a test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You are running a performance test with the objective of finding possible network bottlenecks in interfaces between components of a system.

Which of the following statements describes this test?

A. A functional test during the integration test level

B. A non-functional test during the integration test level

C. A functional test during the component test level

D. A non-functional test during the component test level

A

B. A non-functional test during the integration test level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Consider the following types of defects that a test level might focus on:

  1. Defects in separately testable modules or objects
  2. Not focused on identifying defects
  3. Defects in interfaces and interactions
  4. Defects in the whole test object

Which of the following list correctly matches test levels from the Foundation syllabus with the defect focus options given above?

A. 1 = performance test; 2 = component test; 3 = system test; 4 = acceptance test

B. 1 = component test; 2 = acceptance test; 3 = system test; 4 = integration test

C. 1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test

D. 1 = integration test; 2 = system test; 3 = component test; 4 = acceptance test

A

C. 1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which of the following should NOT be a trigger for maintenance testing?

A. Decision to test the maintainability of the software.

B. Decision to test the system after migration to a new operating platform.

C. Decision to test if archived data is possible to be retrieved.

D. Decision to test after “hot fixes”.

A

A. Decision to test the maintainability of the software.

18
Q

Which of the following statements are true in relation to component testing?

a. Stubs may be used.
b. May cover resource behaviour (e.g. memory leaks).
c. Tests the interactions between software components.
d. Defects are typically fixed without formally managing these defects.

A. a, c and d

B. a, b and d

C. b, c and d

D. a, b and c

A

B. a, b and d

19
Q

Integration testing has following characteristics:

I. It can be done in incremental manner

II. It is always done after system testing

III. It includes functional tests

IV. It includes non-functional tests

A. I, II and III are correct

B. I is correct

C. I, III and IV are correct

D. I, II and IV are correct

A

C. I, III and IV are correct

20
Q

Which one of the following statements about system testing is NOT true?

A. System tests are often performed by independent teams.

B. Functional testing is used more than structural testing.

C. Faults found during system tests can be very expensive to fix.

D. End-users should be involved in system tests.

A

D. End-users should be involved in system tests.

21
Q

How is the scope of maintenance testing assessed?

A. Scope is related to the risk, size of the changes and size of the system under test

B. Scope is defined by the size and type of system being changed

C. Scope is defined by the size and type of system being changed

D. Scope is related to the number of system users affected by the change.

A

A. Scope is related to the risk, size of the changes and size of the system under test

22
Q

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

A

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

23
Q

Which of the following statements comparing component testing and system testing is TRUE?

A. Component testing verifies the functionality of software modules, program objects, and classes that are separately testable, whereas system testing verifies interfaces between components and interactions between different parts of the system.

B. Test cases for component testing are usually derived from component specifications, design specifications, or data models, whereas test cases for system testing are usually derived from requirement specifications or use cases.

C. Component testing only focuses on functional characteristics, whereas system testing focuses on functional and non-functional characteristics.

D. Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users of the system.

A

B. Test cases for component testing are usually derived from component specifications, design specifications, or data models, whereas test cases for system testing are usually derived from requirement specifications or use cases.

24
Q

How can white-box testing be applied during acceptance testing?

A. To check if large volumes of data can be transferred between integrated systems.

B. To check if all code statements and code decision paths have been executed.

C. To check if all work process flows have been covered.

D. To cover all web page navigations.

A

C. To check if all work process flows have been covered.

25
Q

Given that the testing being performed has the following attributes:

· based on interface specifications;

· focused on finding failures in communication;

· the test approach uses both functional and structural test types.

Which of the following test levels is MOST likely being performed?

A. Component integration testing.

B. Acceptance testing.

C. System testing.

D. Component testing.

A

A. Component integration testing.

26
Q

Which of the following is a type of non-functional testing?

A. usability testing

B. statement coverage

C. dataflow testing

D. cause-effect graphing

A

A. usability testing

27
Q

Why is incremental integration preferred over “big bang” integration?

A. Because incremental integration has better early defects screening and isolation ability

B. Because “big bang” integration is suitable only for real time applications

C. Incremental integration is preferred over “Big Bang Integration” only for “bottom up” development model

D. Because incremental integration can compensate for weak and inadequate component testing

A

A. Because incremental integration has better early defects screening and isolation ability

28
Q

Which of the following is NOT true about Verification?

A. It is a low-level activity.

B. It is the process of evaluating a system or component to determine whether the products of the given development phase satisfy the conditions imposed at the start of the phase.

C. It is only performed after a work product is produced against established criteria ensuring that the product integrates correctly into the environment

D. It answers the question, “Am I building the software right?”

A

C. It is only performed after a work product is produced against established criteria ensuring that the product integrates correctly into the environment

29
Q

Which of the following is not part of performance testing?

A. measuring response times

B. recovery testing

C. simulating many users

D. generating many transactions

A

B. recovery testing

30
Q

During this event the entire system is tested to verify that all functional information structural and quality requirements have been met. A predetermined combination of tests is designed that when executed successfully satisfy management that the system meets
specifications

A. Validation Testing

B. Integration Testing

C. User Acceptance Testing

D. System Testing

A

C. User Acceptance Testing

31
Q

The ___________ Testing will be performed by the people at client own locations.

A. Alpha testing

B. Field testing

C. Performance testing

D. System testing

A

B. Field testing

32
Q

Which of the following statements contains a valid goal for a functional test set?

A. A goal is that no more failures will result from the remaining defects

B. A goal is to find as many failures as possible so that the cause of the failures can be identified and fixed

C. A goal is to eliminate as much as possible the causes of defects

D. A goal is to fulfil all requirements for testing that are defined in the project plan.

A

B. A goal is to find as many failures as possible so that the cause of the failures can be identified and fixed

33
Q

Which of the following is correct?

A. Impact analysis assesses the effect on the system of a defect found in regression testing.

B. Impact analysis assesses the effect of a new person joining the regression test team.

C. Impact analysis assesses whether or not a defect found in regression testing has been fixed correctly.

D. Impact analysis assesses the effect of a change to the system to determine how much regression testing to do.

A

D. Impact analysis assesses the effect of a change to the system to determine how much regression testing to do.

34
Q

Which is not a Component testing

A. Check the memory leaks

B. Check the robustness

C. Check the branch coverage

D. Check the decision tables

A

D. Check the decision tables

35
Q

V-Model is:

A. A software development model that illustrates how testing activities integrate with software development phases

B. A software life-cycle model that is not relevant for testing

C. The official software development and testing life-cycle model of ISTQB

D. A testing life cycle model including unit, integration, system and acceptance phases

A

A. A software development model that illustrates how testing activities integrate with software development phases

36
Q

Which of these statements about functional testing is true?

A. Structural testing is more important than functional testing as it addresses the code.

B. Functional testing is useful throughout the life cycle and can be applied by business analysts, testers,

developers and users.

C. Functional testing is more powerful than static testing as you actually run the system and see what

happens.

D. Inspection is a form of functional testing.

A

B. Functional testing is useful throughout the life cycle and can be applied by business analysts, testers, developers and users

37
Q

Which of the following is most often considered as components interface bug?

A. For two components exchanging data, one component used metric units, the other one
used British units

B. The system is difficult to use due to a too complicated terminal input structure

C. The messages for user input errors are misleading and not helpful for understanding the input error cause

D. Under high load, the system does not provide enough open ports to connect to

A

A. For two components exchanging data, one component used metric units, the other one
used British units

38
Q

Which of the following statements about test types and test levels is CORRECT?

A. Functional and non-functional testing can be performed at system and acceptance test levels, while white-box testing is restricted to component and integration testing.

B. Functional testing can be performed at any test level, while white-box testing is restricted to component testing.

C. It is possible to perform functional, non-functional and white-box testing at any test level.

D. Functional and non-functional testing can be performed at any test level, while Whitebox testing is restricted to component and integration testing.

A

C. It is possible to perform functional, non-functional and white-box testing at any test level.

39
Q

Which one of the following is the BEST definition of an incremental development model?

A. Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added.

B. A phase in the development process should begins when the previous phase is complete.

C. Testing is viewed as a separate phase which takes place after development has been completed.

D. Testing is added to development as an increment.

A

A. Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added.

40
Q

Which of the following list contains only non-functional tests?

A. Interoperability (compatibility) testing, reliability testing, performance testing

B. System testing, performance testing

C. Load testing, stress testing, usability testing, portability testing

D. Testing various configurations, beta testing, load testing

A

C. Load testing, stress testing, usability testing, portability testing