Chapter 2 - Quiz Flashcards

1
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.

Incremental development involves establishing requirements, designing, building, and testing a system in pieces

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

Question #2.1.02

Given the following statements about the relationships between software development activities and test activities in the software development lifecycle:

  1. Each development activity should have a corresponding testing activity
  2. Reviewing should start as soon as final versions of documents become available
  3. The design and implementation of tests should start during the corresponding development activity
  4. Testing activities should start in the early stages of the software development lifecycle Which of the following CORRECTLY shows which are true and false?
A
  1. Each development activity should have a corresponding testing activity. TRUE
  2. Reviewing should start as soon as final versions of documents become available. FALSE – it should start as soon as drafts are available
  3. The design and implementation of tests should start during the corresponding development activity. FALSE – the analysis and design of tests should start during the corresponding development activity, not the implementation
  4. Testing activities should start in the early stages of the software development lifecycle. TRUE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Question #2.1.03

Which of the following is most correct regarding the test level at which functional tests may be

executed?

Which of the following is a true statement regarding the V-model lifecycle?

A

The test process is integrated with the development process.

In the V-Model, testing activities are paired with each development activity.

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

In an iterative lifecycle model, which of the following is an accurate statement about testing activities?

A

For every development activity, there should be a corresponding testing activity.

For any lifecycle model, this is a correct statement.

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

Consider the following statements about the reasons to adapt life cycle models for specific projects or products:

I Different projects have different goals.

II The life cycle model should be adapted to suit

all types of development within the company for consistency.

III Different types of product have different product risks.

IV Business priorities are different depending on the context of the project or product.

V Different test environments may be necessary.

A

I Different projects have different goals.

III Different types of product have different product risks.

IV Business priorities are different depending on the context of the project or product.

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

Which of the following software development models BEST exemplifies a model that does NOT support the principle of early testing?

A

The Waterfall model

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

Which of the following is the BEST reason for selecting a particular type of software development lifecycle model?

A

The type of product being developed

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

Which of the following are characteristics of good testing in any life cycle model?

I. Every development activity has a corresponding test activity

II. Testers review development documents early

III. Each test level is based on the same test basis

IV. Each test level has objectives specific to that level

A

I. Every development activity has a corresponding test activity

II. Testers review development documents early

IV. Each test level has objectives specific to that level

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

What are good practices for testing within the development life cycle?

A

Early test analysis and design

Different test levels are defined with specific objectives

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

In any software development life cycle (SDLC) model, which of the following are characteristics of good testing?

I. For every development activity, there is a corresponding test activity

II. Each test level has test objectives specific to that level

III. Test analysis and design for a given test level begin during the corresponding development activity

IV. Testers participate in discussions to define and refine requirements and design as soon as drafts are available

A

I. For every development activity, there is a corresponding test activity

II. Each test level has test objectives specific to that level

III. Test analysis and design for a given test level begin during the corresponding development activity

IV. Testers participate in discussions to define and refine requirements and design as soon as drafts are available

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

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

A

To adapt the model to the context of project and product characteristics

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

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

A

In Agile development models, self-organizing teams, where the whole team is responsible for the quality and gives testers more autonomy in their work.

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

We split testing into distinct stages primarily because:

A

Each test stage has a different purpose

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

Preparing and automating test cases before coding is called

A

Test first approach

Test driven development

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

In practice, which Life Cycle model may have more, fewer or different levels of development and testing, depending on the project and the software product. For example, there may be component integration testing after component testing, and system integration testing after system testing

A

V-model

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

Which ADDITIONAL test level could be introduced into a standard V-model after system testing?

A

System Integration Testing

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

Which statement about testing is true?

A

Testing is started as early as possible in the life cycle

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

V-Model is:

A

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

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

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

A

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.

Examples of work products that can be used as a test basis for component testing include detailed design, code, data model, component specifications. Examples of work products for system testing include system and software requirement specifications(functional and non-functional) use cases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
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

Integration testing.

  1. ‘testing is based on interface specifications’ – the test basis for integration testing includes interface specifications (along with communication protocol specification), while these are not included for any of the other test levels
  2. ‘testing is focused on finding failures in communication’ - failures in the communication between tested components is included as a typical failure for integration testing, but failures in communication is not included for any of the other test levels
  3. ‘the test approach uses both functional and structural test types’ - functional and structural test typ
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
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 = Component Testing
2 = Acceptance Testing
3 = Integration Testing
4 = System Testing

Component testing focuses on defects in separately testable modules or objects,

integration testing on defects in interfaces and interactions,

system testing on defects in the whole test object,

and acceptance testing is not typically focused on identifying defects.

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

What type of testing is normally conducted to verify that a product meets a particular regulatory requirement?

A

Acceptance Testing

Regulatory acceptance is a form of acceptance testing. The other types of testing should be conducted as well, but the focus on the compliance with the regulatory requirements should occur during acceptance testing. It is a good practice to conduct this testing as early as possible, but formal acceptance by a regulatory agency is normally done during acceptance testing.

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

Use cases are a test basis for which level of testing?

A

System Testing.

Use cases are a good test basis for system testing because they include end-to-end transaction scenarios.

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

Which of the following would be a typical defect found in component testing?

A

Incorrect code and logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Which of the following statements is true about a software verification and validation program? I. It strives to ensure that quality is built into software II. It provides management with insights into the state of a software project III. It ensures that alpha, beta, and system tests are performed IV. It is executed in parallel with software development activities
I. It strives to ensure that quality is built into software II. It provides management with insights into the state of a software project IV. It is executed in parallel with software development activities
26
What test can be conducted for off-the-shelf software to get market feedback?
Alpha and Best testing. Alpha and beta testing are typically used for COTS software, such as software packages that can be bought or downloaded by consumers. Feedback is needed from potential or existing users in their market before the software product is put out for Hale commercially.
27
Alpha testing is:
Pre-release testing by end user representatives at the developer's site
28
System Integration testing should be done
After System testing
29
Which one of the following statements about system testing is NOT true?
End-users should be involved in system tests
30
The ___________ Testing will be performed by the people at client own locations
Field Testing Books defines field testing as synonym to beta testing. There is no such info in glossary and syllabus. But I guess Rex Black left this in purpose. Beta testing Simulated or actual operational testing conducted at an external site, by roles outside the development organization. Synonym: field testing
31
Contract and regulation testing is a part of
Acceptance testing
32
Which acceptance test is USUALLY performed by system administrators?
Operational
33
Which of the following is true of acceptance testing
A goal of acceptance testing is to establish confidence in the system
34
Which of the following BEST describes system testing?
A test level that focuses on verifying that a system as whole meets specified requirements.
35
The main focus of acceptance testing is:
Testing for a business perspective
36
System testing should investigate
Non-functional requirements and functional requirements
37
Which is not a Component testing
Check the Interface mismatch
38
COTS is known as
Commercial off the shelf software
39
Question #2.2.21 Which of the following combinations correctly describes a valid approach to component testing: I. Functional testing of the component in isolation II. Structure-based testing of the code without recording incidents III. Automated tests that are run until the component passes IV. Functional testing of the interfaces between modules
I. Functional testing of the component in isolation II. Structure-based testing of the code without recording incidents III. Automated tests that are run until the component passes
40
Which of the following is not the integration strategy?
Bottom-down
41
Which of the following best describes integration testing?
Testing performed to expose faults in the interfaces and in the interaction between integrated components
42
Which of the following BEST describes integration testing?
A test level that focuses on interactions between components or systems
43
A type of integration testing in which software elements, hardware elements, or both are combined all at once into a component or an overall system, rather than in stages.
Big-bang testing
44
Where may functional testing be performed?
At all test levels
45
What is the difference between component testing and integration testing?
Component testing searches for defects Integration testing tests interfaces
46
In system testing...
Both functional and non-functional requirements are to be tested
47
Which of the following can be tested as part of operational testing?
Testing of backup and restore Disaster recovery Maintenance tasks
48
To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.
Driver
49
What is the name of a skeletal implementation of a software component that is used for testing?
Stub
50
Which of the following statements are true about component testing? I. Structural testing is rarely done during component testing II. The test basis for component testing is often the code III. The component testing environment should be as much like production as possible IV. Robustness testing may be a part of component testing
II. The test basis for component testing is often the code IV. Robustness testing may be a part of component testing
51
Which description best matches the following Integration approaches: I. Components or systems are substituted by drivers II. testing starts from the top and works to the bottom, following the control flow or architectural structure III. integrating all components or systems in one single step IV. a small number of additional components or systems at a time A. Top-down B. Bottom-up C. Functional incremental D. Big-bang
A - II B - I C - IV D - III
52
Component Testing is also called as: I. Unit Testing II. Program Testing III. Module Testing IV. System Component Testing
I. Unit Testing TRUE II. Program Testing TRUE III. Module Testing TRUE IV. System Component Testing FALSE
53
Which of the following comparisons of component testing and system testing are TRUE?
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, functional specifications or use cases.
54
What is the normal order of activities in which software testing is organized?
Module, Integration, System, Acceptance
55
Question #2.2.37 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
I. It can be done in incremental manner III. It includes functional tests IV. It includes non-functional tests
56
Link Testing is also called as:
Component Integration testing
57
Question #2.3.01 How can white-box testing be applied during acceptance testing?
To check if all work process flows have been covered. For acceptance testing, tests are designed to cover all supported financial data file structures and value ranges for bank-to-bank transfers
58
Which one of the following is TRUE?
The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check if the original defect has been fixed
59
Which of the following statements about test types and test levels is CORRECT?
It is possible to perform functional, non-functional and white-box testing at any test level It is possible to perform any of the test types (functional, nonfunctional, white-box) at any test level
60
Which of the following statements BEST compares the purposes of confirmation testing and regression testing?
The purpose of confirmation testing is to check that a previously found defect has been fixed, while the purpose of regression testing is to ensure that no other parts of the system have been adversely affected by the fix
61
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 non-functional test during the integration test level
62
A mass market operating system software product is designed to run on any PC hardware with an x86-family processor. You are running a set of tests to look for defects related to support of the various PCs that use such a processor and to build confidence that important PC brands will work. What type of test are you performing?
Portability test Testing supported devices is a non-functional test, specifically a portability test
63
During an Agile development effort, a product owner discovers a previously-unknown regulatory requirement that applies to most of the user stories within a particular epic. The user stories are updated to provide for the necessary changes in software behavior. The programmers on the team are modifying the code appropriately. As a tester on the team, what types of tests will you run?
Change-related tests. The change in behavior may be either functional or non-functional you need to run change-related tests, some of which are confirmation tests and others are regression tests.
64
You have been receiving daily builds from the developers. Even though they are documenting the fixes they are including in each build, you are finding that the fixes either aren’t in the build or are not working. What type of testing is best suited for finding these issues?
Confirmation Testing Confirmation testing will determine if a fix is present in a build and if it actually fixes the defect it is supposed to fix
65
Question #2.3.12 Consider the following statements about regression tests: I They may usefully be automated if they are well designed. II They are the same as confirmation tests (re-tests). III They are a way to reduce the risk of a change having an adverse affect elsewhere in the system. IV They are only effective if automated. Which pair of statements is true?
I They may usefully be automated if they are well designed. III They are a way to reduce the risk of a change having an adverse affect elsewhere in the system.
66
Which statement about functional, non-functional and white-box testing is True?
Functional testing evaluates characteristics such as completeness and correctness Non-functional testing evaluates characteristics such as reliability, security or usability White box testing evaluates characteristics such as system architecture and the thoroughness of testing
67
Question #2.3.15 Given the following types of testing scenarios: a. Regression testing b. Confirmation testing 1. Testing to ensure the application of a new version of the operating system does not have any unintended side-effects on the system 2. Testing due to the application of a security patch 3. Testing due to the application of a new version of database management system 4. Testing to ensure the fix to the payroll system truly works
Regression Regression Regression Confirmation
68
Which of the following is a test type?
Logic-coverage testing
69
The difference between re-testing and regression testing is
Re-testing is running a test again; regression testing looks for unexpected side effects
70
Which of the following is the odd one out?
Specification-based testing
71
Which of the following is a non-functional quality characteristic?
Usability
72
Which of the following statements about functional testing is TRUE?
Functional testing is primarily concerned with "what" a system does rather than "how" it does it
73
Question #2.3.26 Which two of the following are attributes of structural testing? I. It is based on testing features described in a functional specification II. It can include statement and decision testing III. It can be carried out at all levels of testing IV. It can include debugging
II. It can include statement and decision testing III. It can be carried out at all levels of testing
74
Which of the following best describes the purpose of non-functional testing?
To measure characteristics of a system which give an indication of how the system performs its functions
75
According to the ISTQB Glossary, regression testing is required for what purpose?
To ensure that defects have not been introduced by a modification
76
Structural Testing
Same as ckear-box testing Same as code-based testing Same as logic-coverage testing
77
Which of the following are characteristic of regression testing? I. Regression testing is run ONLY once II. Regression testing is used after fixes have been made III. Regression testing is often automated IV. Regression tests does not need to be maintained
II. Regression testing is used after fixes have been made III. Regression testing is often automated
78
Which of following statements is true? Select ALL correct options Regression testing should be performed: I. Once a month II. When a defect has been fixed III. When the test environment has changed IV. When the software has changed
II. When a defect has been fixed III. When the test environment has changed IV. When the software has changed
79
Which test can be performed at all test levels?
Structural testing
80
Which of the following statements are TRUE? I. Regression testing and acceptance testing are the same II. Regression tests show if all defects have been resolved III. Regression tests are typically well-suited for test automation IV. Regression tests are performed to find out if code changes have introduced or uncovered defects V. Regression tests should be performed in integration testing
III. Regression tests are typically well-suited for test automation IV. Regression tests are performed to find out if code changes have introduced or uncovered defects
81
Which of the following statements about functional testing is correct?
Functional test cases are derived from specifications
82
Regression testing mainly helps in
Checking for side-effects of fixes
83
Functional testing is:
Testing performed to evaluate if a component or system satisfies functional requirements
84
Which of the following is TRUE?
Confirmation testing is testing fixes to a set of defects and Regression testing is testing to establish whether any defects have been introduced as a result of changes
85
Which of the following requirements would be tested by a functional system test?
The system must allow a user to amend the address of a customer
86
Question #2.3.42 During testing, a defect was found in which the system crashed when the network got disconnected while receiving data from the server. The defect was fixed by correcting functionality which checks the network availability during data transfer. Existing test cases did cover 100% of the module statements. To verify the fix and ensure more extensive coverage, some tests were designed and added to the test suite. What types of testing are mentioned above? I. Functional testing II. Structural testing III. Confirmation testing IV. Performance testing
I. Functional testing II. Structural testing III. Confirmation testing
87
The use of test automation would provide the best return on investment for which of the following?
Regression testing
88
Question #2.3.45 Consider the following statements about regression tests: I. They may usefully be automated if they are well designed II. They are the same as confirmation tests (re-tests) III. They are a way to reduce the risk of a change having an adverse affect elsewhere in the system IV. They are only effective if automated Which pair of statements is true?
I. They may usefully be automated if they are well designed III. They are a way to reduce the risk of a change having an adverse affect elsewhere in the system
89
Which of the following statements are TRUE? I. Regression testing and acceptance testing are alternative terms for the same thing II. Regression tests show that all faults have been resolved III. Regression tests are a good candidate for automation IV. Regression tests are executed to determine if side-effects have been introduced through changes to the code V. Regression tests are primarily performed in integration testing
III. Regression tests are a good candidate for automation IV. Regression tests are executed to determine if side-effects have been introduced through changes to the code
90
A regression test:
→ Will check unchanged areas of the software to see if they have been affected
91
You have been receiving daily builds from the developers. Even though they are documenting the fixes they are including in each build, you are finding that the fixes either aren’t in the build or are not working. What type of testing is best suited for finding these issues?
→ Confirmation Testing
92
A defect was found during testing. When the network got disconnected while receiving data from a server, the system crashed. The defect was fixed by correcting code that checked the network availability during data transfer. The existing test cases covered 100% of all statements of the corresponding module. To verify the fix and ensure more extensive coverage, some new tests were designed and added to the test suite.
→ Functional testing, Structural Testing, Re-testing
93
What is the purpose of performing regression testing when system maintenance activities have occurred?
→ To ensure the overall system has not regressed
94
For which of the following would maintenance testing be used?
→ Planned enhancements to an existing operational system
95
Which of the following uses impact analysis the most?
→ Maintenance Testing
96
Impact analysis helps to decide
→ How much regression testing should be done
97
Which of the following should NOT be a trigger for maintenance testing?
Decision to test the maintainability of the software
98
Which of the following statements CORRECTLY describes a role of impact analysis in Maintenance Testing?
Impact analysis is used when deciding if a fix to a maintained system is worthwhile Impact analysis may be used to identify those areas of the system that will be affected by the fix, and so the extent of the impact (e.g. necessary regression testing) can be used when deciding if the change is worthwhile
99
Which of the following statements is true?
Impact analysis is useful for regression testing during maintenance testing Impact analysis can be used to select regression tests for maintenance testing
100
When a system is targeted for decommissioning, what type of maintenance testing may be required?
Data migration testing Data migration to another system or data migration to an archival system may be needed.
101
Question #2.4.05 If impact analysis indicates that the overall system could be significantly affected by system maintenance activities, why should regression testing be executed after the changes?
To ensure the system still functions as expected with no introduced issues. By definition, regression testing is looking for areas in which the system may have regressed (gone backwards).
102
How is impact analysis used in maintenance testing?
It evaluates intended consequences and possible side effects of a change to the system, in order to plan what testing to do.
103
Which of the following statements gives the best example of a trigger for maintenance testing?
Retirement of a customer service application
104
Maintenance means
Testing a released system that has been changed
105
Which of the following uses Impact Analysis most?
Maintenance testing
106
Impact Analysis helps to decide:
How much regression testing should be done
107
Maintenance testing is:
Triggered by modifications, migration or retirement of existing software
108
Question #2.4.12 Under what circumstances would you plan to perform maintenance testing? I. As part of a migration of an application from one platform to another II. As part of a planned enhancement release III. When the test scripts need to be updated IV. For data migration associated with the retirement of a system
I. As part of a migration of an application from one platform to another II. As part of a planned enhancement release IV. For data migration associated with the retirement of a system
109
Under what circumstances would you plan to perform maintenance testing? I. Planned database upgrade II. Migration from one platform to another III. Modifications of hardware IV. Retirement of a system
I. Planned database upgrade II. Migration from one platform to another III. Modifications of hardware IV. Retirement of a system
110
For which of the following would maintenance testing be used?
Planned enhancements to an existing operational system
111
What is the main purpose of impact analysis for testers?
To determine how the existing system may be affected by changes
112
Maintenance testing is:
Testing a released system that has been changed
113
Consider the following statements about maintenance testing: I. It requires both re-test and regression test and may require additional new tests II. It is testing to show how easy it will be to maintain the system III. It is difficult to scope and therefore needs careful risk and impact analysis IV. It need not be done for emergency bug fixes Which of the statements are true?
I. It requires both re-test and regression test and may require additional new tests III. It is difficult to scope and therefore needs careful risk and impact analysis
114
Which of the following is a true statement regarding the process of fixing emergency changes?
Retest the changed area and then use risk assessment to decide on a reasonable subset of the whole regression test to run in case other parts of the system have been adversely affected
115
Which of the following defines the scope of maintenance testing?
The size and risk of any change(s) to the system
116
How is the scope of maintenance testing assessed?
Scope is related to the risk, size of the changes and size of the system under test