1.2.4 TYPES OF PROGRAMMING LANGUAGE Flashcards
Assembly Language
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.
Class (OOP)
A template for an object and defines the state and behavior of an object.
Attribute (OOP)
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.
Method (OOP)
Methods are the functions associated with objects or classes that define the behavior and actions that objects can perform.
Object (OOP)
Created from a specific instance of a class and has its own state and behaviors.
Instantiation (OOP)
The process of creating an instance of a class which essentially means creating an object from a blueprint (class).
Setter method (OOP)
A setter is a special type of method that sets one of the attributes equal to a specific value.
Getter method (OOP)
A getter is a special type of method that obtains the value of one of the attributes of the object.
Constructor method (OOP)
A method which is called when a new instance of a class is created.
Encapsulation (OOP)
Wrapping a private attribute with a public method in order to control limit access or control behavior.
Inheritance (OOP)
Allows a class to inherit the properties and behaviors of another class.
Polymorphism (OOP)
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.
Private (OOP)
Access modifier that indicates that a method or attribute can only be accessed from inside the same class.
Public (OOP)
Access modifier that indicates that a method or attribute can be accessed from any other class.
Record (OOP)
A data structure which groups together multiple related values. Like a class but without any methods.