Section 3. Designing Software Flashcards

(13 cards)

1
Q

Types of architecture

A
  • Microservices

- Monolithic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Benefits of microservices architecture type

A
  • each of the components can be managed separately, so, change cycles are not tightly coupled together, which enables developers to introduce changes and deliver each component individually without the need to rebuild and redeploy the entire system.
  • enable independent scaling of parts of the system that require more resources, instead of scaling the entire application.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DRY is…

A

a “Don’t Repeat Yourself” principle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Using functions enables you to…

A

document the intent of your code in a more concise way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

first step toward modularity of your code is…

A

to define a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Modules are about

A

encapsulating functionality and constraining how different parts of your application interact.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Great techniques to improve modularity of your code

A

functions and modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

good software design and architecture provide

A

modularity and reusability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Classes define…

A

the blueprint of how an object looks and behaves

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

the 4 pillars of OOP

A

Abstraction

Encapsulation

Inheritance

Polymorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

the ambition of Abstraction is to…

A

hide the logic implementation behind an interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

which Python library brings your code a step closer to the discipline of statically typed languages and their definitions of abstract classes and interfaces

A

Python ABC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

One of the primary features of MVC architecture is…

A

the separation of the View and the Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly