
Code Refactoring
Authored by Sandra Hurtado
Computers
University
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
9 questions
CHAPTER 5 ONLINE QUIZ
Quiz
•
University
8 questions
Arquitetura de computadores (Aula 2)
Quiz
•
University
9 questions
Los periféricos del computador
Quiz
•
1st Grade - Professio...
10 questions
Networking Essentials - Test 5
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
10 questions
Internet seguro
Quiz
•
8th Grade - University
10 questions
Quiz CodeIgniter 4
Quiz
•
University
10 questions
Què has après sobre el web ?
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University