Chapter 3 Static Testing Flashcards
Static Analysis
A. A static testing
B. Done by the developers
C. Both A. and B
D. None of the above
C. Both A. and B
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.
D. Because they share the aim of identifying defects but differ in the types of defect they find.
Ensuring that test design starts during the requirements definition phase is important to
enable which of the following test objectives?
A. Preventing defects in the system.
B. Finding defects through dynamic testing.
C. Gaining confidence in the system.
D. Finishing the project on time.
A. Preventing defects in the system.
Find the correct flow of the phases of a formal review
A. Planning, Individual Review, Initiate Review, Issue Comm & Analysis, Fixing & reporting
B. Planning, Initiate Review, Individual Review, Issue Comm & Analysis, Fixing & reporting
C. Planning, Issue Comm & Analysis, Individual Review, Initiate Review, Fixing & reporting
D. Planning, Individual Review, Initiate Review, Fixing & reporting, Issue Comm & Analysis
B. Planning, Initiate Review, Individual Review, Issue Comm & Analysis, Fixing & reporting
The Planning phase of a formal review includes the following:
A. Explaining the objective
B. Fixing defects found typically done by author
C. Defining the entry and exit criteria
D. Individual Meeting preparations
C. Defining the entry and exit criteria
Which of the following BEST describes the difference between an inspection and a walkthrough?
A. Both inspections and walkthroughs are led by the author.
B. An inspection is led by a moderator and a walkthrough is led by the author.
C. Both inspections and walkthroughs are led by a trained moderator.
D. A walkthrough is led by the author. The author is not present during inspections.
B. An inspection is led by a moderator and a walkthrough is led by the author.
Who is responsible for document all the issues, problems and open point that were
identified during the review meeting
A. Moderator
B. Scribe
C. Reviewers
D. Author
B. Scribe
Which of the following is true about Formal Review or Inspection:-
i. Led by Trained Moderator (not the author).
ii. No individual 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
B. i,iii,iv are true and ii is false
Which of the following are types of static Testing ?
A. Ad hoc & Perspective-based
B. Inspection & Walkthrough
C. Review & Static Analysis
D. White-Box & Black Box
C. Review & Static Analysis
Data flow analysis studies:
A. Possible communications bottlenecks in a program.
B. The rate of change of data values as a program executes.
C. The use of data on paths through the code.
D. The intrinsic complexity of the code.
C. The use of data on paths through the code
Which of the following will NOT be detected by static analysis?
A. Programming standard violations.
B. Errors in requirements.
C. Undeclared variables.
D. Dead Code.
B. Errors in requirements.
What type of review requires formal entry and exit criteria, including metrics:
A. Walkthrough
B. Inspection
C. Management review
D. Post project review
B. Inspection
Of the following statements about reviews of specifications, which statement is true?
A. Reviews are not generally cost effective as the meetings are time consuming and require preparation
and follow up.
B. There is no need to prepare for or follow up on reviews.
C. Reviews must be controlled by the author.
D. Reviews are a cost effective early static test on the system.
D. Reviews are a cost effective early static test on the system.
Which of the following is a purpose of the review planning phase?
A. Log defects.
B. Explain the documents to the participants.
C. Gather metrics.
D. Allocate the individual roles.
D. Allocate the individual roles.
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.
B. i,ii,iii are true and iv is false.
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
A. Static testing requires the running of tests through the code