NEW
Font size
WorksheetsISTQB - Section 3
Total questions: 25
Worksheet time: 21mins
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
i , ii, iii, iv are all correct
iii is correct; i, ii, iv are incorrect.
i , iii , iv , ii are all incorrect
iv, ii are correct
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.
ii, iii, iv are correct and i is incorrect
i, iii, iv are correct and ii is incorrect
i, ii, iii, iv are incorrect
ii is correct
What can static analysis NOT find?
The use of a variable before it has been defined
Unreachable (“dead”) code
Whether the value stored in a variable is correct
The re-definition of a variable before it has been used
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
developers would typically use i, iv and vi; test team ii, iii and v
developers would typically use i and iv; test team ii, iii, v and vi
developers would typically use i, ii, iii and iv; test team v and vi
developers would typically use ii, iv and vi; test team I, ii and v
developers would typically use i, iii, iv and v; test team ii and vi
Unreachable code would best be found using:
code reviews
code inspections
a coverage tool
a test management tool
a static analysis tool
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
ii is true and i, iii, iv are false
i, iii, iv are true and ii is false
i, iii, iv are false and ii is true
iii is true and i, ii, iv are false
Which of the following is a static test?
code inspection
coverage analysis
usability assessment
installation test
Static analysis is best described as:
the analysis of batch programs.
the reviewing of test plans.
the analysis of program code.
the use of black box testing.
Why are static testing and dynamic testing described as complementary?
Because they share the aim of identifying defects and find the same types of defect.
Because they have different aims and differ in the types of defect they find.
Because they have different aims but find the same types of defect.
Because they share the aim of identifying defects but differ in the types of defect they find.
Which of the following statements regarding static testing is false:
static testing requires the running of tests through the code
static testing includes desk checking
static testing includes techniques such as reviews and inspections
static testing can give measurements such as cyclomatic complexity
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
i, ii, iii, iv, v, vi
vi, i, ii, iii, iv, v
i, v, iv, ii, iii, vi
i, ii, iii, v, iv, vi
The Planning phase of a formal review includes the following :
Explaining the objectives
Selecting the personnel, allocating roles.
Follow up
Individual Meeting preparations
A Person who documents all the issues, problems and open points that were identified during a formal review.
Moderator
Scribe
Author
Manager
Who are the persons involved in a Formal Review :
i. Manager
ii. Moderator
iii. Scribe / Recorder
iv. Assistant Manager
i,ii,iii,iv are true
i,ii,iii are true and iv is false.
ii,iii,iv are true and i is false.
i,iv are true and ii, iii are false.
What can static analysis NOT find?
the use of a variable before it has been defined
unreachable (“dead”) code
memory leaks
array bound violations
Which of the following statements about reviews is true?
Reviews cannot be performed on user requirements specifications.
Reviews are the least effective way of testing code.
Reviews are unlikely to find faults in test plans.
Reviews should be performed on specifications, code, and test plans.
‘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?
I, II and IV
I, II and III
I, II, III and IV
II, III and IV
Static Analysis
A) is the same as static testing
B) is done by the developers
C) Both A and B
D) None of the above
Reviews, static analysis and dynamic testing have the same objective-
A) identifying defects.
B) fixing defects.
C) A & B
D) None of the above
The Kick Off phase of a formal review includes the following :
Explaining the objective
Fixing defects found typically done by author
Follow up
Individual Meeting preparations
In a formal review during the Rework step, fixing defects is typically done by the
Moderator
Author
Reviewer
Recorder
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
s = 4, t = 3, u = 2 and 5, v = 1
s = 4 and 5, t = 3, u = 2, v = 1
s = 1 and 5, t = 3, u = 2, v = 4
s = 5, t = 4, u = 3, v = 1 and 2
s = 4 and 5, t = 1, u = 2, v = 3
Which of the following statements is NOT true?
inspection is the most formal review process
inspections should be led by a trained leader
managers can perform inspections on management documents
inspection is appropriate even when there are no written documents
Which rule should not be followed for reviews?
Defects and issues are identified and corrected.
The product is reviewed, not the producer
All members of the reviewing team are responsible for the result of the review
Each review has a clear predefined objective
What is NOT included in typical costs for an inspection process?
setting up forms and databases
analysing metrics and improving processes
writing the documents to be inspected
time spent on the document outside the meeting
