Object Oriented Programming Flashcards

Understand object oriented vs structured programming (15 cards)

1
Q

asynchronous

A

A task that runs separately from the program’s normal steps, so the program can continue without waiting for that task to finish.

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

bytecode

A

A low-level, platform-independent set of instructions generated by a compiler, interpreter or hybrid system and executed by a virtual machine

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

case sensitive

A

when a programming language treats uppercase and lowercase letters as different characters

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

class

A

the essential patterns of methods and data that define the set a group of objects belong to.

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

compiler

A

Translates entire high level program to bytecode or machine language. Program runs without compiler. Bytecode runs via VM and machine language via computer.

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

encapsulation

A

When methods and data are self contained within objects, and they hide their internal details, which can’t be accessed by other code.

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

field

A

The data categories defined in a class that determine what information each object will store

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

inheritance

A

When a new class receives the data and behaviors of a previous class. The new class can modify them or add new ones, which prevents rewriting code from scratch.

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

instantiate

A

When you create an object from a class using specific data

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

interpreter

A

An interpreter is a program that executes source code directly, evaluating it one instruction at a time at runtime.

An interpreter is like a translator who translates and speaks each sentence as they read it, instead of translating the entire book first.

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

method

A

a function defined within a class that describes the behaviors or actions an object can perform

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

object

A

an instance of a class containing data and methods defined by the class, representing a specific entity in a program

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

paradigm

A

The way you conceptualize how coding is done, which influences the system and problem solving of coding.

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

polymorphism

A

When you can invoke the same method for different subclasses and get unique responses, even when referencing the superclass they all belong to.

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

strong typing

A

When you associate data with a specific type, after which it becomes illegal to apply operators that are inappropriate for that data type. Helps catch errors early.

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