Identify the problem in following block of source code
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
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
Le passé composé (être & avoir)

Quiz
•
6th Grade - Professio...
10 questions
Java Basic Programming Quiz

Quiz
•
University
10 questions
C++ Quiz

Quiz
•
University
11 questions
Basics of JAVA

Quiz
•
University
10 questions
SAMR

Quiz
•
University
9 questions
Java Programming Structures

Quiz
•
University
12 questions
ExCEL Trivia

Quiz
•
University
10 questions
C Language Basic Quiz

Quiz
•
7th Grade - Professio...
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade