
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
Struktur dan pemrosesan data
Quiz
•
University
10 questions
GRS - GRS TRIVIA
Quiz
•
University
10 questions
AA ACC4201 Quiz 1
Quiz
•
University - Professi...
7 questions
Data mining-Clustering-1
Quiz
•
University
10 questions
OOP intro quizz
Quiz
•
University
10 questions
internet
Quiz
•
University
10 questions
Session 2
Quiz
•
University
10 questions
Information systems analysis and design
Quiz
•
University
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