Clean Code

Quiz
•
Computers, Professional Development
•
University
•
Medium
Olga Perl
Used 124+ times
FREE Resource
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.
Similar Resources on Wayground
10 questions
Mastering the Art of Attention

Quiz
•
7th Grade - University
10 questions
Python Quiz 1 : Python Basics

Quiz
•
University
10 questions
Les variables et boucles

Quiz
•
University
11 questions
Course Feedback

Quiz
•
University
10 questions
Excel If function WSC 4.2.3

Quiz
•
7th Grade - University
12 questions
CSS and HTML Styling

Quiz
•
University
10 questions
C Language Basic Quiz

Quiz
•
7th Grade - Professio...
10 questions
Formative & Summative Assessment Identify

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade