CS/IT MCQs

MCQ on Reviews and Static Analysis in Software Testing

Google+ Pinterest LinkedIn Tumblr

Here are the collections of multiple choice question on reviews and static analysis in software testing. It includes MCQ questions on dynamic and static testing techniques, review process and static analysis tools. It also includes objective type MCQ questions on different types of reviews such as informal review, walkthrough, technical review, and inspection. Additionally, it includes questions and answers about the main activities performed on different phases of formal review.

1. ……………… techniques rely on the manual examination and automated analysis of the code or other project documentation without the execution of the code.
A) Static testing
B) Dynamic testing
C) Reviews
D) All

2. State whether the following statements about software review are True or False.
i) Reviews are a way of testing software work products and can be performed well before dynamic text execution.
ii) The main manual activity of review is to examine a work product and make comments about it.
A) False, True
B) True, False
C) True, True
D) False, False

3. Typical defects that are easier to find in reviews than in dynamic testing are
i) requirement defects
ii) insufficient maintainability
iii) design defects
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

4. Which of the following describes the main phases of a formal review?
A) Initiation, backtracking, individual preparation, review meeting, rework, follow-up
B) Planning, individual preparation, review meeting, rework, closure, follow-up
C) Planning, kick-off, individual preparation, review meeting, rework, follow-up
D) Individual preparation, review meeting, rework, closure, follow-up, root cause analysis

5. Which of the following main activities are performed in the planning phase of a formal review?
i) Defining the review criteria         ii) Selecting the personal
iii) Distributing documents             iv) Allocating roles
A) i, ii and iii only
B) i, ii and iv only
C) ii, iii and iv only
D) All i, ii, iii and iv

6. Which of the following activities does not include within follow-up phase of formal review?
A) Checking that defects have been addressed
B) Gathering metrics
C) Fixing defects found
D) Checking on exit criteria

7. The activity of examining or evaluating and recording issues during any physical meeting or tracking any group electronic communications will be done in …………….. phase of formal review.
A) follow-up
B) review meeting
C) rework
D) kick-off

8. Explaining the objectives, process, and documents to the participants is the main activity performed on ………. phase of formal review.
A) follow-up
B) review meeting
C) rework
D) kick-off

9. Which of the following are the major roles included in a formal review?
i) Manager                  ii) Moderator
iii) Producer               iv) Author
A) i, ii and iii only
B) i, ii and iv only
C) ii, iii and iv only
D) All i, ii, iii and iv

10. In a formal review process, …………….. is the person who leads the review of the document or set of documents, including planning the review, running the meeting and following up after the meeting.
A) moderator
B) manager
C) team leader
D) author

11. Which of the following are the common review types for reviewing any software products?
i) informal review        ii) walkthrough
iii) inspection               iv) technical review
A) i, ii and iii only
B) i, ii and iv only
C) ii, iii and iv only
D) All i, ii, iii and iv

12. The review type …………….. is used for reviewing safety-critical components in a software project a more formal, documented review, based on rules and checklists needed.
A) informal review
B) walkthrough
C) inspection
D) technical review

13. ……………… may take the form of pair programming or a technical lead reviewing designs and code.
A) Informal review
B) Walkthrough
C) Inspection
D) Technical review

14. Which of the following is the main purpose of an informal review?
A) inexpensive way to get some benefit
B) learning and gaining the understanding
C) solving technical problems and checking conformance to specifications
D) finding defects

15. Discussing, making decisions, evaluating alternatives and finding defects are the main purposes of ………….
A) Informal review
B) Walkthrough
C) Inspection
D) Technical review

16. State whether the following statements about tool-supported static analysis are True or False.
i) Tool-supported static analysis can result in cost savings by finding defects early.
ii) Tool-supported static analysis is a good way to force failures into the software.
A) False, True
B) True, False
C) True, True
D) False, False

17. State whether the following statements about static analysis tools are True.
i) Static analysis tools analyze program code as well as generated output such as HTML & XML.
ii) Static analysis tools are typically used by developers before and during component integration testing.
iii) Static analysis tools may produce a large number of warning messages, which need to be well-managed to allow the most effective use of the tool.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

18. Which of the following is typical defects can be discovered by static analysis tools?
i) Referencing a variable with an undefined value. ii) Security vulnerabilities
iii) Overly complicated constructs iv) Unreachable code
A) i, ii and iii only
B) i, ii and iv only
C) ii, iii and iv only
D) All i, ii, iii and iv

19. Which of the following are the main characteristics of inspection?
i) includes metrics gathering
ii) defined roles
iii) meeting led by author
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

20. The activity of noting defects, making recommendations regarding handling defects, making decisions about the defects will be done on ………….. phase of formal review.
A) follow-up
B) review meeting
C) rework
D) kick-off

 

Answers

1. A) Static testing
2. C) True, True
3. D) All i, ii and iii
4. C) Planning, kick-off, individual preparation, review meeting, rework, follow-up
5. B) i, ii and iv only
6. C) Fixing defects found
7. B) review meeting
8. D) kick-off
9. B) i, ii and iv only
10. A) moderator
11. D) All i, ii, iii and iv
12. C) inspection
13. A) Informal review
14. A) inexpensive way to get some benefit
15. D) Technical review
16. B) True, False
17. D) All i, ii and iii
18. D) All i, ii, iii and iv
19. A) i and ii only
20. B) review meeting

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 5 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Write A Comment