1Booz Allen Confidential
September 2006Aberdeen Global IT Team
ISTQB CTFL Study Session Section 3
2Booz Allen Confidential
Overview
Introductions
Review of Section 3 Practice Quiz
Open Forum
3Booz Allen Confidential
Introductions
Name
Tenure With Firm
Primary Job Function(s)
Testing Tools Used
4Booz Allen Confidential
1. The objective for any review meeting is to solve problems with the design?
a. True
b. False
b. False
Testing Computer Software p.39 Syllabus Section 3.1
“The objective for any review meeting is to identify problems with the design”.
5Booz Allen Confidential
2. Which is not a role of the facilitator during a review meeting?
a. Running the review meeting
b. Stopping Interruptions
c. Commenting on the design documentation
d. Keeping the discussion focused
e. Preparing a summary report.
c. Commenting on the design documentation
Testing Computer Software p.40 Syllabus Section 3.2.2
6Booz Allen Confidential
3. Which of the following is an example of static testing:
a. Black box testing
b. Structural testing
c. Path testing
d. Glass box testing
e. None of the above
e. None of the above
Testing Computer Software p.46 Syllabus Section 3.1
“In static testing, the code is examined. It is tested without being executed.”
7Booz Allen Confidential
4. Defects detected while testing are more costly to remove than those detected during reviews early in the life cycle.
a.True
b.False
a. True
CTFL Syllabus p.28, Syllabus Section 3.1
“Defects detected during reviews early in the life cycle are often much cheaper to remove than those detected while running tests”
8Booz Allen Confidential
5. Which of the following is not a task during the planning phase of a formal review:
a.Select the personnel
b.Allocate roles
c.Select which parts of documents to look at
d.Distribute Documentation
e.Define the entry and exit criteria
d. Distribute Documentation
CTFL Syllabus p.28, Syllabus Section 3.1
“Planning: selecting the personnel, allocating roles; defining the entry and exit criteria for more formal review types (e.g. inspection); and selecting which parts of documents to look at.”
9Booz Allen Confidential
6. Which of the following is a form of static testing:
a. Appraisal
b. Walkthrough
c. Assessment
d. Gap Analysis
b. Walkthrough
Tata Consulting – Learning and Development tutorial, Section 3
“IEEE classifies Static Testing under three broad categories:
– Reviews
– Walkthroughs
– Inspections “
10Booz Allen Confidential
7. Desk Checking defines a process where someone reads the program carefully and analyzes its behavior without running test cases at the computer.
a. True
b. False
a. True
Testing Computer Software p.47 Syllabus Section 3.1
11Booz Allen Confidential
8. The transformation of information – either through parameters or a stored database – from one component of a system to another is:
a. Data Flow
b. Internal Flow
c. Control Flow
d. None of the above
a. Data Flow
Managing the Testing Process p.14 Syllabus Section 3.3
12Booz Allen Confidential
9. Which of the items listed below is not a benefit of software reviews:
a. Development productivity improvements
b. Reduced development timescales
c. Reduced testing cost and time
d. Lifetime cost reductions
e. None of the above
e. None of the above
CTFL Syllabus p.28 Syllabus Section 3.1
“Benefits of reviews include early defect detection and correction, development productivity improvements, reduced development timescales, reduced testing cost and time, lifetime cost reductions, fewer defects and improved communication.”
13Booz Allen Confidential
10. During _______, the designer simulates the program, showing step by step what the program will do with test data supplied by the reviewers.
a.Inspections
b.Walkthroughs
c.Reviews
d.None of the above
b. Walkthroughs
Testing Computer Software p.39 Syllabus Section 3.2.3
14Booz Allen Confidential
11. The main purpose of _______ is to learn, gain understanding, and find defects.
a.Inspections
b.Walkthroughs
c.Reviews
d.None of the above
b. Walkthroughs
CTFL Syllabus p.30, Syllabus Section 3.2.3
15Booz Allen Confidential
12. The main purpose of _________ is to make decisions, evaluate alternatives, find defects, solve technical problems and check conformance to specifications and standards.
a.Inspections
b.Walkthroughs
c.Reviews
d.None of the above
c. Reviews
CTFL Syllabus p.30, Syllabus Section 3.2.3
16Booz Allen Confidential
13. What is the Cyclomatic Complexity of the code below:
a.3
b.4
c.5
d.6
c.5
Cyclomatic Code Complexity Analysis for Microsoft .NET Applications, Syllabus Section 3.3
public void ProcessPages(){ while(nextPage !=true) { if((lineCount<=linesPerPage) && (status != Status.Cancelled) && (morePages == true)) { //.... } }}
17Booz Allen Confidential
14. _________ identifies how the program transitions from one state to another.
a. Data Flow
b. Internal Flow
c. Control Flow
d. None of the above
c. Control Flow
Testing Computer Software p.212 Syllabus Section 3.3
“When you ask about control flow, your asking how to get the program from one state to another.”
18Booz Allen Confidential
15. In an ideal review meeting, the following individual(s) do not make comments on design documentation.
a. Author
b. Scribe
c. Facilitator
d. Reviewer
b & c. Scribe & Moderator
Testing Computer Software p.40 Syllabus Section 3.2.2
“The ideal review meeting is administered by a meeting manager (facilitator) and a recorder. Neither comments on the design.
19Booz Allen Confidential
16. Review, Static Analysis, and Dynamic testing have the same objective – Identifying defects.
a. True
b. False
a. True
CTFL Syllabus p.28, Syllabus Section 3.1
20Booz Allen Confidential
17. During ______, reviewers check every line of the design against each item in a checklist.
a.Inspections
b.Walkthroughs
c.Reviews
d.None of the above
a. Inspections
Testing Computer Software p.40 Syllabus Section 3.2.3
21Booz Allen Confidential
18. Which of the following types of defects are easier to find in reviews than in dynamic testing (select all that apply):
a. deviations from standards
b. requirement defects
c. design defects
d. None of the above
a. deviations from standards, b. requirement defects, & c. design defects
Testing Computer Software p.350 Syllabus Section 1.5
“Typical defects that are easier to find in reviews than in dynamic testing are: deviations from standards, requirement defects, design defects, insufficient maintainability and incorrect interface specifications.”
22Booz Allen Confidential
19. Which is not a success factor for reviews:
a. Each review has a clear predefined objective.
b. The right people for the review objectives are involved.
c. Authors are held accountable for design mistakes.
d. Defects found are welcomed, and expressed objectively.
e. None of the above
c. Authors are held accountable for design mistakes.
CTFL Syllabus p.30 Syllabus Section 3.2.4
23Booz Allen Confidential
20. Static analysis tools are typically used by developers (checking against predefined rules or programming standards) before and during component and integration testing, and by designersduring software modeling.
a. True
b. False
a. True
CTFL Syllabus p.32 Syllabus Section 3.3
24Booz Allen Confidential
Open Forum