endterm random Flashcards

1
Q

imperative programming

A

focus on step by step instructions

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

declarative programming

A

focuses on what to do rather than how to do it

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

encapsulating

A

groups related variables and functions together.

a car hides how it engine works.

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

abstraction

A

implies complex systems

you dont need to know how the engine converts fuel into motion

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

polymorphism

A

same function works differently for different objects

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

inheritance

A

a new thing can borrow or reuse features from an existing thing

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

why use OOP

A

Modularity: Code is organized into reusable objects.

Reusability: Objects and classes can be reused across programs.

Scalability: Easier to extend and maintain as programs grow.

Efficiency: Helps in structuring complex systems effectively.

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

3 fundamental characteristics objects

A
  1. identity
  2. state
  3. behavior
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

terminology

A

table with white and blue.
you dont show the model the label, you let it predict/guess it, then you look at the results and see if it’s accurate.

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

slicing

A

technique for selecting specific subsets of data from a DataFrame or series object. based on ONE DIMENSION

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

dicing

A

a technique for selecting specific subsets of data from a DataFrame based on multiple dimensions or criteria. MULTIPLE DIMENSIONS

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

inner joins

A

returns only the rows that have matching values in both dataframes

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