Skip to content

Software Engineering

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.

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

More Software Engineering MCQs