Procedural and OOP concepts Flashcards

1
Q

procedural programming

A

style of programming in which operations are executed sequentially

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

variable

A

a memory location defined by the data it holds and referenced in subsequent code by the name assigned to the data

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

procedure (module/method/functions/subroutines)

A

unit of logic comprised of one or more operations

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

OOP

A

Object oriented programming; focus on generation of objects from classes to be manipulated by applications

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

class

A

blue print or general archetype from which an object is derived; the group of objects that defined by common archetypal properties

  • either predefined in language or user generated
  • potential attributes and behaviors that an object belonging to it can have
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

object

A

specific instance of a class

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

computer simulation

A

OOP application that attempts to mimic reality

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

GUI

A

Graphical User Interface; allows user interaction with an application by way of graphical interface

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

3 components of OOP

A
  • classes
  • objects
  • applications of objects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

3 concepts of OOP

A
  • encapsulation
  • inheritance
  • polymorphism
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

class definition

A

establishes the attributes and behaviors that objects grouped within it can have

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

attributes

A

properties an instantiation can potentially have defined by a block of code in a class definition

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

object

A

specific instance of a class

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

instantiation

A

the process of generating a specific instance of a class

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

(object’s) state

A
the collection of specific values of the properties of a given object
- differentiate objects a class from one another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

class convention

A

first letter capitalized

17
Q

methods

A

behaviors (procedures) an instantiation can potentially have defined by a block of code in a class definition

18
Q

encapsulation

A
  • characteristic of OOP that allows you to treat a collection of attributes and methods as a single entity (being referred to as an object)
  • also refers to the concealment of an objects attributes and methods from use/manipulations by outside sources
19
Q

inherentence

A
  • characteristic of OOP that allows parent/child or subset/superset hierarchical relationships between classes
  • child classes will have common characteristics when they are part of the same parent class
20
Q

polymorphism

A
  • “many forms”
  • allows for the use of the same term to have different definitions
  • valuable in application of the same behavior for different classes (“turn” method method would have different method for a car than a boat)