clean coding

clean coding

1st Grade

5 Qs

quiz-placeholder

Similar activities

Iditarod Info

Iditarod Info

1st - 5th Grade

6 Qs

Math

Math

1st - 5th Grade

8 Qs

All Hands

All Hands

1st - 5th Grade

10 Qs

PST Quiz 1

PST Quiz 1

1st - 3rd Grade

10 Qs

Staircase detail

Staircase detail

1st Grade

4 Qs

Untitled Quiz

Untitled Quiz

1st Grade - University

9 Qs

messi vs ronalddo

messi vs ronalddo

1st - 5th Grade

10 Qs

football  quiz 2023

football quiz 2023

1st - 5th Grade

10 Qs

clean coding

clean coding

Assessment

Quiz

Architecture

1st Grade

Hard

Created by

Hiep Dang

Used 7+ times

FREE Resource

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