The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Which of the following BEST describes the difference between an inspection and a walkthrough?
A.
Both inspections and walkthroughs are led by the author.
B.
An inspection is led by a moderator and a walkthrough is led by the author.
C.
Both inspections and walkthroughs are led by a trained moderator.
D.
A walkthrough is led by the author. The author is not present during inspections.
Correct Answer
B. An inspection is led by a moderator and a walkthrough is led by the author.
Explanation An inspection is a review process led by a moderator, who is typically an independent person not involved in the development of the product. The moderator's role is to facilitate the inspection and ensure that it follows a structured process. On the other hand, a walkthrough is led by the author of the product, who guides the participants through the product and explains its functionality. The author's presence during a walkthrough allows for immediate clarification and discussion of any issues or concerns that arise.
Rate this question:
2.
For which of the following would a static analysis tool be MOST useful?
A.
Supporting reviews.
B.
Validating models of the software
C.
Testing code executed in a special test harness.
D.
Enforcement of coding standards.
Correct Answer
D. Enforcement of coding standards.
Explanation A static analysis tool is most useful for enforcing coding standards. Static analysis involves analyzing the code without executing it, identifying potential issues or violations of coding standards. By using a static analysis tool, developers can automatically check their code against predefined coding standards and guidelines, ensuring consistency and quality in the codebase. This tool can detect common coding errors, security vulnerabilities, and other issues that may lead to software bugs or maintenance problems. Therefore, it is most beneficial for enforcing coding standards in the development process.
Rate this question:
3.
Which of the following is a purpose of the review planning phase?
A.
Log defects.
B.
Explain the documents to the participants.
C.
Gather metrics.
D.
Allocate the individual roles
Correct Answer
D. Allocate the individual roles
Explanation The purpose of the review planning phase is to allocate individual roles. During this phase, the team assigns specific responsibilities and tasks to each team member involved in the review process. This ensures that everyone has a clear understanding of their role and helps to streamline the review process. By allocating individual roles, the team can effectively manage and coordinate the review activities, leading to a more efficient and successful review.
Rate this question:
4.
Who is responsible for document all the issues, problems and open point that were identified during the review meeting
A.
Moderator
B.
Scribe
C.
Reviewers
D.
Author
Correct Answer
B. Scribe
Explanation The scribe is responsible for documenting all the issues, problems, and open points that were identified during the review meeting. They are tasked with taking detailed notes and accurately recording the discussions and decisions made during the meeting. This helps ensure that all relevant information is properly documented and can be referred to later for follow-up actions or further discussion. The scribe plays a crucial role in maintaining a record of the review meeting and ensuring that nothing is overlooked or forgotten.
Rate this question:
5.
What can static analysis NOT find?
A.
The use of a variable before it has been defined
B.
Unreachable ("dead") code
C.
Memory leaks
D.
Array bound violations
Correct Answer
C. Memory leaks
Explanation Static analysis is a method of analyzing code without actually executing it. It can identify issues like the use of a variable before it has been defined, unreachable code, and array bound violations. However, static analysis is unable to detect memory leaks, which occur when a program fails to release allocated memory after it is no longer needed. Memory leaks can only be found through dynamic analysis, which involves executing the code and monitoring memory usage. Therefore, static analysis is not capable of identifying memory leaks.
Rate this question:
6.
The Phases of formal review process is mentioned below. Arrange them in the correct order.
i. Planning
ii. Review Meeting
iii. Rework
iv. Individual Preparations
v. Kick Off
vi. Follow Up
A.
I,ii,iii,iv,v,vi
B.
Vi,i,ii,iii,iv,v
C.
I,v,iv,ii,iii,vi
D.
I,ii,iii,v,iv,vi
Correct Answer
C. I,v,iv,ii,iii,vi
Explanation The correct order of the phases of the formal review process is as follows: Planning, Kick Off, Individual Preparations, Review Meeting, Rework, Follow Up. First, the planning phase takes place to outline the objectives and scope of the review. Then, the kick-off phase occurs to officially start the review process. Individual preparations come next, where participants study the material independently. The review meeting is then conducted to discuss findings and address any issues. Rework is the phase where necessary changes and improvements are made based on the review. Finally, the follow-up phase ensures that actions and recommendations from the review are implemented.
Rate this question:
7.
In which phase static tests are used
A.
Requirements
B.
Design
C.
Coding
D.
All of the above
Correct Answer
D. All of the above
Explanation Static tests are used in all phases of software development, including requirements, design, and coding. These tests involve analyzing the code or documentation without actually executing it. In the requirements phase, static tests can be used to review and verify that the specified requirements are complete and consistent. In the design phase, static tests can be used to ensure that the design meets the requirements and is free from errors. In the coding phase, static tests can be used to detect and fix issues in the code before it is executed. Therefore, static tests are applicable in all phases of software development.
Rate this question:
8.
Which of the following statements are TRUE for informal reviews?
I. Easy to get started and have some benefit
II. Have no or minimal formal process
III. The process must be documented
IV. May include “paired programming”
A.
I, II and IV
B.
I and III
C.
III and IV
D.
I, III and IV
Correct Answer
A. I, II and IV
Explanation Informal reviews are known for being easy to get started and still providing some benefit. They do not have a formal process or minimal formal process, making them less structured than formal reviews. The process does not necessarily need to be documented. Informal reviews may also include "paired programming," where two individuals work together on a task.
Rate this question:
9.
Which expression best matches the following characteristics or review processes:
1. Led by author
2. Undocumented
3. No management participation
4. Led by a trained moderator or leader
5. Uses entry exit criteria
s) Inspection
t) Peer review
u) Informal review
v) Walkthrough
A.
S = 4, t = 3, u = 2 and 5, v = 1
B.
S = 4 and 5, t = 3, u = 2, v = 1
C.
S = 1 and 5, t = 3, u = 2, v = 4
D.
S = 5, t = 4, u = 3, v = 1 and 2
E.
S = 4 and 5, t = 1, u = 2, v = 3
Correct Answer
B. S = 4 and 5, t = 3, u = 2, v = 1
Explanation This answer suggests that the characteristics or review processes described in the question are best matched by the following:
- s = 4 and 5: Led by a trained moderator or leader and uses entry exit criteria
- t = 3: No management participation
- u = 2: Undocumented
- v = 1: Led by author
This combination of characteristics matches the process of a walkthrough, where a trained moderator or leader leads the review, there is no management participation, the process is undocumented, and the author leads the discussion.
Rate this question:
10.
Defects discovered by static analysis tools include:
i. Variables that are never used.
ii. Security vulnerabilities.
iii. Programming Standard Violations
iv. Uncalled functions and procedures
A.
I , ii,iii,iv is correct
B.
Iii ,is correct i,ii,iv are incorrect.
C.
I ,ii, iii and iv are incorrect
D.
Iv, ii is correct
Correct Answer
A. I , ii,iii,iv is correct
Explanation Static analysis tools are used to analyze code without actually executing it. They can detect various types of defects, including variables that are never used, security vulnerabilities, programming standard violations, and uncalled functions and procedures. Therefore, options i, ii, iii, and iv are all correct as they accurately identify the defects that can be discovered by static analysis tools.
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.