1/19
This set of flashcards covers key vocabulary and concepts related to types of programming languages, programming paradigms, and specific features of object-oriented programming.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Programming Paradigms
Different approaches to using a programming language to solve problems, categorized into imperative and declarative paradigms.
Imperative Programming
A paradigm that uses code to specify the actions to be performed.
Procedural Programming
A widely-used imperative programming paradigm that applies a sequence of instructions contained within procedures.
Object-Oriented Programming (OOP)
A programming paradigm based on entities called objects formed from classes, focusing on reusable components.
Declarative Programming
A programming approach focused on stating the desired result rather than detailing the instructions to achieve it.
Functional Programming
A declarative programming style that emphasizes using a set of functions, with programs forming a series of function calls.
Logic Programming
A type of declarative programming that uses facts and rules to solve problems and queries.
Assembly Language
A low-level language converted from machine code using an assembler, using mnemonics for ease of use.
Mnemonics (in Assembly Language)
Human-readable instructions used in assembly language that correspond to machine code.
Encapsulation (in OOP)
A property that restricts direct access to attributes, only allowing them to be modified via methods.
Inheritance (in OOP)
The ability of a class to inherit attributes and methods from another class.
Polymorphism (in OOP)
A property that allows methods to behave differently based on the object calling them.
Immediate Addressing
An addressing mode where the operand is the actual value for the instruction.
Direct Addressing
An addressing mode where the operand contains the address of the value to be used.
Indirect Addressing
An addressing mode where the operand points to a register holding an address, which points to the actual data.
Indexed Addressing
An addressing mode using an index register to access contiguous memory locations, often used in arrays.
Constructor (in OOP)
A special method used to initialize a new object of a class.
Getter (in OOP)
A method that retrieves the value of a specific attribute.
Setter (in OOP)
A method that sets the value of a specific attribute.
Structured Programming
A subsection of procedural programming that uses specific control flow structures: sequence, selection, iteration, and recursion.