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
6 questions
Unit 3 - 2.3.1 Application Vulnerabilitites

Quiz
•
9th Grade - University
9 questions
Software Development Methodologies & Frameworks Quiz

Quiz
•
University
10 questions
Introduction to software engineering

Quiz
•
University
10 questions
Modelagem de Software

Quiz
•
University
8 questions
Quizz Tests and Technical Dept

Quiz
•
University
10 questions
SOFTWARE ENGINEERING

Quiz
•
University
10 questions
Computer Problem Solving

Quiz
•
9th Grade - Professio...
10 questions
Software Design - PAct3

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University