1.2.4 Types of programming language - Josh O Flashcards
What is a Low Level Language?
Languages that are close to machine code, like Assembly Language.
What is a High Level Language?
Languages that are closer to human language, like Python and Java.
What is Machine Code?
Binary code (1s and 0s) that the CPU directly executes.
What is Assembly Language?
Low-level language that uses mnemonic codes instead of binary.
What is Object Oriented Programming (OOP)?
Languages that use “objects” to represent data and methods, like Java and Python.
What is a Declarative Programming Language?
A high-level program that describes what a computation should perform.
What is Functional Programming?
Languages that use mathematical functions to solve problems
What is Procedural Programming?
A paradigm that uses a step-by-step, linear approach to solve problems.
What is the Little Man Computer?
An illustration how assembly instructions control a CPU at a fundamental level.
What are Classes?
A blueprint for creating objects, defining attributes and methods.
What does LDA stand for in the Little Man Computer instruction set?
LDA stands for “Load the Accumulator,” which is used to load data from a specified memory address into the accumulator.
What does STA stand for in LMC?
STA stands for “Store Accumulator,” which is used to store the value from the accumulator into a specific memory address.
What is immediate addressing?
Immediate addressing is when the operand is specified directly within the instruction, meaning the value is used directly as the data.
What is direct addressing?
Direct addressing specifies the memory address where the operand is stored, and the program retrieves the data from that address.
What is an object in object-oriented programming?
An object is an instance of a class, representing an entity that combines data (attributes) and functionality (methods).