Discussion
In the context of software engineering, what is "refactoring" ?
Answer: C
Refactoring is modifying code to improve performance or readability without changing its functionality.
Refactoring restructures existing code, for example renaming, extracting methods or removing duplication, to make it cleaner and easier to maintain, while its external behaviour stays the same. Tests are run before and after to confirm nothing changed.
Adding or removing features changes the functionality, and rewriting the entire software is a rewrite, not a refactoring.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development