Object-Oriented Programming Basics Flashcards

(15 cards)

1
Q

What is asynchronous?

A

A type of operation that runs independently of the main program flow, allowing additional tasks to happen without waiting for others to complete.

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

What is bytecode?

A

A low-level, platform-independent code that is executed by a virtual machine, typically produced by compiling source code.

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

What does case sensitive mean?

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

What is a class?

A

A blueprint for creating objects in object-oriented programming that defines the properties and behaviors the objects will have.

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

What is a compiler?

A

A tool that translates source code written in a high-level programming language into machine code or bytecode that a computer can execute.

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

What is encapsulation?

A

Bundling data and methods that operate on the data into a single unit (a class) and restricting access to some of the object’s components.

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

What is a field?

A

A variable associated with a class or object that represents a piece of data stored in that object.

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

What is inheritance?

A

The creation of a new class based on an existing class, inheriting its properties and methods while adding new ones or modifying existing ones.

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

What does instantiate mean?

A

The process of creating a specific instance of a class, resulting in an object.

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

What is an interpreter?

A

A tool that executes source code directly and translates it into machine code in real time rather than compiling it before.

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

What is a 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

What is an 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

What is a paradigm in programming?

A

A style or approach to programming - such as object-oriented, procedural, or functional programming —that dictates how code is structured and organized.

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

What is polymorphism?

A

A concept that allows objects of different classes to be treated as objects of a common superclass.

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

What is strong typing?

A

A feature in which each variable has a specific type and you must follow strict rules about how types are used and combined, helping prevent errors in your code.

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