Multiple choice technology programming languages

Which of the following is a typical activity that takes place during the process of code refactoring?

  1. Buffer overflows are eliminated

  2. Variables are renamed to provide more meaningful context

  3. Exception handlers are added to catch runtime errors

  4. New features are added based on the latest iterative design changes

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Refactoring is the process of restructuring existing computer code without changing its external behavior. Renaming variables to provide better readability and context is a classic refactoring activity.