Clean Code

Clean Code

Professional Development

8 Qs

quiz-placeholder

Similar activities

SJDMNHS Google Classroom 2

SJDMNHS Google Classroom 2

Professional Development

10 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

BSIT 2B Q#3

BSIT 2B Q#3

Professional Development

10 Qs

RabbitMQ Basic

RabbitMQ Basic

Professional Development

10 Qs

Scrum 101

Scrum 101

Professional Development

10 Qs

CodeMonkey Platform Management & Resources

CodeMonkey Platform Management & Resources

Professional Development

10 Qs

INTO Artificial Intelligence

INTO Artificial Intelligence

University - Professional Development

10 Qs

GUESS THAT WORD IN CYBER!

GUESS THAT WORD IN CYBER!

Professional Development

10 Qs

Clean Code

Clean Code

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Assaf Halevi

Used 92+ times

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT a rule for meaningful names?

Distinctive

Short

Pronounceable

Intention Revealing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function should...

Perform as many tasks as possible

Have elaborate comments to explain what it does

Be short, not complex and do one thing

Have a short name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Switch statements should...

Contain all the implementations

Never be used with constants

Be used as much as possible

Call functions that contain the implementations

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comments...

Can be used when names are not meaningful

Should be added before every function

Should be replaced with self explanatory code

Make up for bad code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Formatting is all about...

Being petty

Communication

Performance

Security

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why should code lines be short and indented?

To keep the code well organised

For better performance

So they'll do only one thing

To reduce cognitive complexity

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT a code smell?

Agility

Rigidity

Opacity

Fragility

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?