wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ISTQB - Section 3

Total questions: 25

Worksheet time: 21mins

Name
Class
Date
1.

Defects discovered by static analysis tools include:

i. Variables that are never used.

ii. Security vulnerabilities.

iii. Programming Standard Violations

iv. Uncalled functions and procedures

a)

i , ii, iii, iv are all correct

b)

iii is correct; i, ii, iv are incorrect.

c)

i , iii , iv , ii are all incorrect

d)

iv, ii are correct

2.

Success Factors for a review include:

i. Each Review does not have a predefined objective

ii. Defects found are welcomed and expressed objectively

iii. Management supports a good review process.

iv. There is an emphasis on learning and process improvement.

a)

ii, iii, iv are correct and i is incorrect

b)

i, iii, iv are correct and ii is incorrect

c)

i, ii, iii, iv are incorrect

d)

ii is correct

3.

What can static analysis NOT find?

a)

The use of a variable before it has been defined

b)

Unreachable (“dead”) code

c)

Whether the value stored in a variable is correct

d)

The re-definition of a variable before it has been used

4.

Given the following types of tool, which tools would typically be used by developers and which

by an independent test team:

i. static analysis

ii. performance testing

iii. test management

iv. dynamic analysis

v. test running

vi. test data preparation

a)

developers would typically use i, iv and vi; test team ii, iii and v

b)

developers would typically use i and iv; test team ii, iii, v and vi

c)

developers would typically use i, ii, iii and iv; test team v and vi

d)

developers would typically use ii, iv and vi; test team I, ii and v

e)

developers would typically use i, iii, iv and v; test team ii and vi

5.

Unreachable code would best be found using:

a)

code reviews

b)

code inspections

c)

a coverage tool

d)

a test management tool

e)

a static analysis tool

6.

Which of the following is true about Formal Review or Inspection:

i. Led by Trained Moderator (not the author).

ii. No Pre Meeting Preparations

iii. Formal Follow up process.

iv. Main Objective is to find defects

a)

ii is true and i, iii, iv are false

b)

i, iii, iv are true and ii is false

c)

i, iii, iv are false and ii is true

d)

iii is true and i, ii, iv are false

7.

Which of the following is a static test?

a)

code inspection

b)

coverage analysis

c)

usability assessment

d)

installation test

8.

Static analysis is best described as:

a)

the analysis of batch programs.

b)

the reviewing of test plans.

c)

the analysis of program code.

d)

the use of black box testing.

9.

Why are static testing and dynamic testing described as complementary?

a)

Because they share the aim of identifying defects and find the same types of defect.

b)

Because they have different aims and differ in the types of defect they find.

c)

Because they have different aims but find the same types of defect.

d)

Because they share the aim of identifying defects but differ in the types of defect they find.

10.

Which of the following statements regarding static testing is false:

a)

static testing requires the running of tests through the code

b)

static testing includes desk checking

c)

static testing includes techniques such as reviews and inspections

d)

static testing can give measurements such as cyclomatic complexity

11.

The phases of the formal review process are listed below. Arrange them in the correct order.

i. Planning

ii. Review Meeting

iii. Rework

iv. Individual Preparations

v. Kick Off

vi. Follow Up

a)

i, ii, iii, iv, v, vi

b)

vi, i, ii, iii, iv, v

c)

i, v, iv, ii, iii, vi

d)

i, ii, iii, v, iv, vi

12.

The Planning phase of a formal review includes the following :

a)

Explaining the objectives

b)

Selecting the personnel, allocating roles.

c)

Follow up

d)

Individual Meeting preparations

13.

A Person who documents all the issues, problems and open points that were identified during a formal review.

a)

Moderator

b)

Scribe

c)

Author

d)

Manager

14.

Who are the persons involved in a Formal Review :


i. Manager

ii. Moderator

iii. Scribe / Recorder

iv. Assistant Manager

a)

i,ii,iii,iv are true

b)

i,ii,iii are true and iv is false.

c)

ii,iii,iv are true and i is false.

d)

i,iv are true and ii, iii are false.

15.

What can static analysis NOT find?

a)

the use of a variable before it has been defined

b)

unreachable (“dead”) code

c)

memory leaks

d)

array bound violations

16.

Which of the following statements about reviews is true?

a)

Reviews cannot be performed on user requirements specifications.

b)

Reviews are the least effective way of testing code.

c)

Reviews are unlikely to find faults in test plans.

d)

Reviews should be performed on specifications, code, and test plans.

17.

‘Entry criteria’ should address questions such as:


I. Are the necessary documentation, design and requirements information available that will allow testers to operate the system and judge correct behavior?

II. Is the test environment-lab, hardware, software and system administration support ready?

III. Those conditions and situations that must prevail in the testing process to allow testing to continue effectively and efficiently.

IV. Are the supporting utilities, accessories and prerequisites available in forms that testers can use?

a)

I, II and IV

b)

I, II and III

c)

I, II, III and IV

d)

II, III and IV

18.

Static Analysis

a)

A) is the same as static testing

b)

B) is done by the developers

c)

C) Both A and B

d)

D) None of the above

19.

Reviews, static analysis and dynamic testing have the same objective-

a)

A) identifying defects.

b)

B) fixing defects.

c)

C) A & B

d)

D) None of the above

20.

The Kick Off phase of a formal review includes the following :

a)

Explaining the objective

b)

Fixing defects found typically done by author

c)

Follow up

d)

Individual Meeting preparations

21.

In a formal review during the Rework step, fixing defects is typically done by the

a)

Moderator

b)

Author

c)

Reviewer

d)

Recorder

22.

Which expression best matches the following characteristics or review processes:


1. led by author

2. undocumented

3. no management participation

4. led by a trained moderator or leader

5. uses entry exit criteria


s) inspection

t) peer review

u) informal review

v) walkthrough

a)

s = 4, t = 3, u = 2 and 5, v = 1

b)

s = 4 and 5, t = 3, u = 2, v = 1

c)

s = 1 and 5, t = 3, u = 2, v = 4

d)

s = 5, t = 4, u = 3, v = 1 and 2

e)

s = 4 and 5, t = 1, u = 2, v = 3

23.

Which of the following statements is NOT true?

a)

inspection is the most formal review process

b)

inspections should be led by a trained leader

c)

managers can perform inspections on management documents

d)

inspection is appropriate even when there are no written documents

24.

Which rule should not be followed for reviews?

a)

Defects and issues are identified and corrected.

b)

The product is reviewed, not the producer

c)

All members of the reviewing team are responsible for the result of the review

d)

Each review has a clear predefined objective

25.

What is NOT included in typical costs for an inspection process?

a)

setting up forms and databases

b)

analysing metrics and improving processes

c)

writing the documents to be inspected

d)

time spent on the document outside the meeting