Static testing techniques - MCQs
1. Which of the following can be found using static testing techniques?a) Defect
b) Failure
c) Both
View Answer / Hide AnswerANSWER: a) Defect
Comment: Static testing is method of reviewing a product without executing it so it will find defects. If, we execute the product with defect we encounter a failure.
2. Which are benefits of static testing?a) Early feedback of a quality
b) Less rework cost
c) Increased developmental productivity
d) All of the above
View Answer / Hide AnswerANSWER: d) All of the above
3. Arrange the following phases of a formal review according to th order in which they are conducted1. Preparation
2. Kick of
3. Review meeting
4. Planning
5. Follow up
6. Rework
a) 1,2,4,3,6,5
b) 4,1,2,3,6,5
c) 4,2,1,3,6,5
d) 4,2,1,3,5,6
View Answer / Hide Answer4. Entry criteria is determined during which phase?a) Planning
b) Kick of
c) Preparation
d) Review meeting
View Answer / Hide AnswerANSWER: a) Planning
Comment: Entry criteria is determined during planning phase where document under review is checked to see whether it fulfills certain standards to ensure that whole review process will not be waste of time if document has too many small mistakes.
5. Different roles in review are assigned during,a) Planning
b) Kick of
c) Preparation
d) Review meeting
View Answer / Hide AnswerANSWER: a) Planning
Comment: Different roles in review are assigned during planning phase so same defects are not found by reviewer.
6. During review meeting, defects are logged bya) Author
b) Moderator
c) Reviewer
d) Scribe
e) a and d
View Answer / Hide AnswerANSWER: e) a and d
Comment: During review meeting, author or scribe logs a defect.
7. Which is a formal review technique?a) Walk through
b) peer to peer review
c) Inspection
d) All of the above
View Answer / Hide AnswerANSWER: c) Inspection
Comment:Walk through and peer to peer are informal review techniques.
8. Who leads a formal review process?a) Author
b) Moderator
c) Reviewer
d) Scribe
View Answer / Hide Answer9. Who leads a walk through?a) Author
b) Moderator
c) Reviewer
d) Scribe
View Answer / Hide AnswerANSWER: a) Author
Comment: Author presents the document to audience where a goal can be knowledge sharing or communication purpose.
10. Which of the following statement is/ are true?1. In inspection, only author needs preparation
2. In walk through, all participants needs preparation.
a) only 1
b) only 2
c) Both
d) None
View Answer / Hide AnswerANSWER: d) None
Comment: In inspection, all participants needs preparation while in walk through, only author needs preparation.
11. Which of the review technique is/ are documented?a) Inspection
b) Walk through
a) only 1
b) only 2
c) Both
d) None
View Answer / Hide AnswerANSWER: a) Inspection
Comment: Only formal reviews are well- documented.
12. Which of the review technique is/ are not time bound?a) Inspection
b) Walk through
a) only 1
b) only 2
c) Both
d) None
View Answer / Hide AnswerANSWER: b) only 2
Comment: Walk through is not time bound as its goal is knowledge sharing and communication.
13. Which is not an important goal of a walk through?a) Knowledge transfer
b) Gather information
c) Discuss alternatives
d) Establish common understanding
e) Find defects
View Answer / Hide Answer14. If static testing is done prior to dynamic testing, it would be beneficial. True or false.a) True
b) False
View Answer / Hide AnswerANSWER: a) True
Comment: Static testing happens early in life cycle. If defects are found and corrected during early phase, dynamic testing will find fewer problems.
15. To check whether coding standards are followed, which type of testing will be beneficial?a) Dynamic testing
b) Static testing
c) Parameter testing
d) Computation testing
View Answer / Hide AnswerANSWER: b) Static testing
Comment: A code is manually read during static testing. So, coding standards are followed or not is determined during static testing.
16. Which documents can be reviewed in static testing?a) Functional requirement specification
b) User manual
c) Code
d) Design document
e) All of the above
View Answer / Hide AnswerANSWER: e) All of the above
Comment: Testing definition includes static testing of software and related work products.
17. Which is not a type of review?a) Requirement analysis
b) Peer to peer
c) Technical
d) Walk through
e) Inspection
View Answer / Hide AnswerANSWER: a) Requirement analysis
18. Which are methodologies of Walk Through?a) Scenario , Dry Run , Peer Group
b) Kick off meetings
c) Formal Follow Up Process
d) Includes Metrics
View Answer / Hide AnswerANSWER: a) Scenario , Dry Run , Peer Group