Code Refactoring

Quiz
•
Computers
•
University
•
Medium
Sandra Hurtado
Used 17+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Refactoring is:
A disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior.
The application of concepts, techniques and tools for dramatically improving or optimizing software processes.
The practice of analyzing a software system, either in whole or in part, to extract design and implementation information.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
It is important to do medium to big changes in order to get more benefits from refactoring
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A good moment for refactoring a code is:
When the client reports an error in the software and you have to fixed it quickly
When you are beginning to write a new function in a program
When you are analyzing a software and discover a bad smell
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One example of refactoring is:
Adding a new validation to a method
Optimizing a database query
Moving a responsibility from one class to another
Obtaining a class diagram from source code
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
One benefit of refactoring is:
Improves the software design
Improves the program performance
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Extract method/function" is a refactoring that consists of:
Move a method from one class to another
Move a fragment of code from an existing method into a new method
Change the parameters list of a method to make it shorter
Change the name of the method to make it more meaningful
Similar Resources on Wayground
11 questions
Basics of JAVA

Quiz
•
University
9 questions
Network Fundamentals-Introduction to Networks Part 2

Quiz
•
9th Grade - University
10 questions
Introduction to database systems

Quiz
•
University
10 questions
4.3 Interrupts

Quiz
•
9th Grade - University
10 questions
Chapter 5 SAD

Quiz
•
University
10 questions
Flowchart Quiz

Quiz
•
University
10 questions
Software Security

Quiz
•
University - Professi...
10 questions
Software Requirements

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University