Which concept is defined as follows: the process of restructuring existing code without changing its external behavior?
Difficulty: Medium
About this MCQ
This Medium Software Engineering MCQ checks one syllabus fact.
The question is: “Which concept is defined as follows: the process of restructuring existing code without changing its external behavior?”
The accepted answer is D. Refactoring. Refactoring is the person, body, or term that satisfies “Which concept is defined as follows: the process of restructuring existing code without changing its external behavior” (option D). Option A (“Software Development Life Cycle (SDLC)”) does not match the stem; it is a near-miss used to catch incomplete recall of Refactoring. Option B (“Scrum”) does not match the stem; it is a near-miss used to catch incomplete recall of Refactoring. Remaining alternatives (Cohesion) fall outside the same rule and should be eliminated once Refactoring is identified. Software Engineering questions of this type reward precise definitions rather than approximate associations. Software Engineering recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
- A. Software Development Life Cycle (SDLC)
Why not A: “Software Development Life Cycle (SDLC)” is not correct. The accepted answer is D. Refactoring. Refactoring is the person, body, or term that satisfies “Which concept is defined as follows: the process of restructuring existing code without changing its external behavior” (op
- B. Scrum
Why not B: “Scrum” is not correct. The accepted answer is D. Refactoring. Refactoring is the person, body, or term that satisfies “Which concept is defined as follows: the process of restructuring existing code without changing its external behavior” (op
- C. Cohesion
Why not C: “Cohesion” is not correct. The accepted answer is D. Refactoring. Refactoring is the person, body, or term that satisfies “Which concept is defined as follows: the process of restructuring existing code without changing its external behavior” (op
- D. Refactoring ✓
Correct answer
D. Refactoring
Explanation
Refactoring is the person, body, or term that satisfies “Which concept is defined as follows: the process of restructuring existing code without changing its external behavior” (option D). Option A (“Software Development Life Cycle (SDLC)”) does not match the stem; it is a near-miss used to catch incomplete recall of Refactoring. Option B (“Scrum”) does not match the stem; it is a near-miss used to catch incomplete recall of Refactoring. Remaining alternatives (Cohesion) fall outside the same rule and should be eliminated once Refactoring is identified. Software Engineering questions of this type reward precise definitions rather than approximate associations. Software Engineering recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
Source: Software Engineering Official Reference Guide
Tags: computer science, software engineering, sdlc, software development
Submitted by: MCQsHub Editorial
Related MCQs
- Select the correct name for: the implied cost of additional rework caused by choosing an easy solution now ins...
- The following statement describes a specific concept. What is it called? a practice of frequently merging code...
- In computer science, Scrum refers to which of the following?
- Select the accurate description of Continuous Integration (CI).
- What term describes the following? an Agile framework that organizes work into fixed-length iterations called...
- Which term refers to the process of modifying software after delivery to fix issues or improve performance?