clean coding

clean coding

1st Grade

5 Qs

quiz-placeholder

Similar activities

Math

Math

1st - 5th Grade

8 Qs

Try

Try

1st - 3rd Grade

5 Qs

Deload Week

Deload Week

1st Grade

10 Qs

research

research

1st - 10th Grade

10 Qs

Business Law

Business Law

1st - 5th Grade

9 Qs

 Jenis Pondasi Dangkal

Jenis Pondasi Dangkal

1st Grade - University

6 Qs

Personality (Winter 2023)

Personality (Winter 2023)

1st - 5th Grade

5 Qs

messi vs ronalddo

messi vs ronalddo

1st - 5th Grade

10 Qs

clean coding

clean coding

Assessment

Quiz

Architecture

1st Grade

Practice Problem

Hard

Created by

Hiep Dang

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

5 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

10 sec • 20 pts

In term of clean coding,

when do we have boundaries in our code?

A. Using third-party code

B. Using code that does not yet exist

C. Asking a team member to complete a function you are writing

D. A & C

2.

MULTIPLE CHOICE QUESTION

5 sec • 20 pts

Is it recommend to always wrapping third-party object into wrapper class?

A. True

B. False

3.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

Learning test recommend us to

A. Integrate and test third-party code in the production

B. Test third-party code somewhere not in the production

C. Don’t need to test new release of third-party API

D. Reading the API document is enough

4.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

We need to depend on another component/team's code, which does not yet exist. We should

A. Wait that component/team finish their implementation

B. Define our own interface and force other component/team to follow it

C. Define an interface we wish & use adapter pattern to adapt future API

D. Spend effort to study the logic to implement our own function

5.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

What are correct about clean boundaries in term of clean coding?

A. Avoid letting too much of our code know about the third-party

B. Depend on something you control

C. Have fewer maintenance points when the third-party code changes

D. All are correct

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?