1.2.4 TYPES OF PROGRAMMING LANGUAGE Flashcards

1
Q

Assembly Language

A

Level up from machine code and is part of a family of low level languages. Is converted to machine code using an assembler when executed.

Uses mnemonics rather than binary, which makes it easier to use than direct machine code. Each mnemonic is represented by a numeric code.

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

Class (OOP)

A

A template for an object and defines the state and behavior of an object.

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

Attribute (OOP)

A

Give an object its properties. Define particular properties of an object, element or file. It can also refer to a specific value for a given instance of that property.

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

Method (OOP)

A

Methods are the functions associated with objects or classes that define the behavior and actions that objects can perform.

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

Object (OOP)

A

Created from a specific instance of a class and has its own state and behaviors.

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

Instantiation (OOP)

A

The process of creating an instance of a class which essentially means creating an object from a blueprint (class).

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

Setter method (OOP)

A

A setter is a special type of method that sets one of the attributes equal to a specific value.

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

Getter method (OOP)

A

A getter is a special type of method that obtains the value of one of the attributes of the object.

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

Constructor method (OOP)

A

A method which is called when a new instance of a class is created.

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

Encapsulation (OOP)

A

Wrapping a private attribute with a public method in order to control limit access or control behavior.

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

Inheritance (OOP)

A

Allows a class to inherit the properties and behaviors of another class.

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

Polymorphism (OOP)

A

A concept in programming that allows objects to take on different forms or behaviors. Different objects cam share the same name or behavior but can work in different ways. It helps make code more flexible, reusable, and easier to maintain. It allows flexibility and reusability in programming, making it easier to write and manage code. Objects can be treated as belonging to a common group, even if they belong to different classes, making your code more versatile and adaptable to changes.

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

Private (OOP)

A

Access modifier that indicates that a method or attribute can only be accessed from inside the same class.

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

Public (OOP)

A

Access modifier that indicates that a method or attribute can be accessed from any other class.

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

Record (OOP)

A

A data structure which groups together multiple related values. Like a class but without any methods.

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