ISTQB CTFL Study Session Section 3
September 2006 Aberdeen Global IT Team
Booz Allen Confidential
1
Overview
Introductions Review of Section 3 Practice Quiz Open Forum
Booz Allen Confidential
2
Introductions Name Tenure With Firm Primary Job Function(s) Testing Tools Used
Booz Allen Confidential
3
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”.
Booz Allen Confidential
4
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
Booz Allen Confidential
5
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.”
Booz Allen Confidential
6
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”
Booz Allen Confidential
7
5. Which of the following is not a task during the planning phase of a formal review: a.Select
the personnel
b.Allocate c.Select
roles
which parts of documents to look at
d.Distribute e.Define
Documentation
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.”
Booz Allen Confidential
8
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 “
Booz Allen Confidential
9
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
Booz Allen Confidential
10
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
Booz Allen Confidential
11
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.”
Booz Allen Confidential
12
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
Booz Allen Confidential
13
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
Booz Allen Confidential
14
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
Booz Allen Confidential
15
13. What is the Cyclomatic Complexity of the code below:
a.3
public void ProcessPages() { while(nextPage !=true) { if((lineCount<=linesPerPage) && (status != Status.Cancelled) && (morePages == true)) { //.... } } }
b.4 c.5 d.6
c.5 Cyclomatic Code Complexity Analysis for Microsoft .NET Applications, Syllabus Section 3.3
Booz Allen Confidential
16
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.”
Booz Allen Confidential
17
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.
Booz Allen Confidential
18
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
Booz Allen Confidential
19
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
Booz Allen Confidential
20
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.”
Booz Allen Confidential
21
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
Booz Allen Confidential
22
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 designers during software modeling. a. True b. False d. True CTFL Syllabus p.32 Syllabus Section 3.3
Booz Allen Confidential
23
Open Forum
Booz Allen Confidential
24