Clean Code

Clean Code

University

7 Qs

quiz-placeholder

Similar activities

Dayton New Teacher Meeting

Dayton New Teacher Meeting

University

12 Qs

Computer Security:Encryption

Computer Security:Encryption

10th Grade - University

10 Qs

HCI Quiz2

HCI Quiz2

University

10 Qs

Got Apps?

Got Apps?

University

10 Qs

Quizz_Algoritma, Pemrograman, dan RPL_Accifence

Quizz_Algoritma, Pemrograman, dan RPL_Accifence

University

10 Qs

Day 15 Assessment -Encapsulation & Abstraction, Exception-28June

Day 15 Assessment -Encapsulation & Abstraction, Exception-28June

University

10 Qs

Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

University

10 Qs

SISTEM OPERASI - KUIS 1

SISTEM OPERASI - KUIS 1

University

10 Qs

Clean Code

Clean Code

Assessment

Quiz

Computers, Professional Development

University

Medium

Created by

Olga Perl

Used 128+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

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.