
Clean Code
Authored by Olga Perl
Computers, Professional Development
University
Used 130+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Identify the problem in following block of source code
dead code
duplication
inconsistency
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Where PI constant should be placed?
class Trigonometry
class Circle
class Math
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Agree or disagree with statement:
“Inappropriate static should manipulate with data from it’s arguments”
agree
disagree
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which type of comment is good?
journal
legal
positions marker
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which type of comment is bad?
journal
legal
TODO and FIXME
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Choose the correct name for variable, which will contain running total of checks written to date, and it will be placed inside one method only:
runningTotalOfChecksWrittenToDate
x
runningTotal
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Choose the correct recommendation for naming
Don't use such word's pair like begin/end or min/max.
Use Intention-Revealing Names.
Use names that are totally unrelated to what the variables represent.
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
10 questions
le modèle SAMR
Quiz
•
University
10 questions
DP-100 Day 4
Quiz
•
University - Professi...
10 questions
Quis CSS W3Schools
Quiz
•
University
10 questions
Quizz_Algoritma, Pemrograman, dan RPL_Accifence
Quiz
•
University
10 questions
B1-Base_réseau
Quiz
•
University
10 questions
Day 15 Assessment -Encapsulation & Abstraction, Exception-28June
Quiz
•
University
10 questions
Technology
Quiz
•
University
10 questions
Classroom Management Introduction
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade