Section 3 Answers & Presentation

24
1 Booz Allen September 2006 Aberdeen Global IT Team ISTQB CTFL Study Session Section 3

Transcript of Section 3 Answers & Presentation

Page 1: Section 3 Answers & Presentation

1Booz Allen Confidential

September 2006Aberdeen Global IT Team

ISTQB CTFL Study Session Section 3

Page 2: Section 3 Answers & Presentation

2Booz Allen Confidential

Overview

Introductions

Review of Section 3 Practice Quiz

Open Forum

Page 3: Section 3 Answers & Presentation

3Booz Allen Confidential

Introductions

Name

Tenure With Firm

Primary Job Function(s)

Testing Tools Used

Page 4: Section 3 Answers & Presentation

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”.

Page 5: Section 3 Answers & Presentation

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

Page 6: Section 3 Answers & Presentation

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.”

Page 7: Section 3 Answers & Presentation

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”

Page 8: Section 3 Answers & Presentation

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.”

Page 9: Section 3 Answers & Presentation

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 “

Page 10: Section 3 Answers & Presentation

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

Page 11: Section 3 Answers & Presentation

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

Page 12: Section 3 Answers & Presentation

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.”

Page 13: Section 3 Answers & Presentation

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

Page 14: Section 3 Answers & Presentation

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

Page 15: Section 3 Answers & Presentation

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

Page 16: Section 3 Answers & Presentation

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)) { //.... } }}

Page 17: Section 3 Answers & Presentation

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.”

Page 18: Section 3 Answers & Presentation

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.

Page 19: Section 3 Answers & Presentation

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

Page 20: Section 3 Answers & Presentation

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

Page 21: Section 3 Answers & Presentation

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.”

Page 22: Section 3 Answers & Presentation

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

Page 23: Section 3 Answers & Presentation

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

Page 24: Section 3 Answers & Presentation

24Booz Allen Confidential

Open Forum