Back to marketplace

1.2.4 Types of programming language

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is a programming paradigm?

Back (Answer)

“To describe an example of a way of doing things.”​ Software written using programming languages.

#2
Front (Question)

Why do we need different programming paradigms?

Back (Answer)

-some problems are better suited to being solved using certain paradigm

#3
Front (Question)

What does Turing complete mean?

Back (Answer)

-Turing complete languages can solve all the problems that a computer is able to solve -Most programming languages in most programming paradigms are said to be Turing complete

#4
Front (Question)

Low level: machine code

Back (Answer)

-programs directly in 1s and 0s -least abstract

#5
Front (Question)

Low level: assembly language

Back (Answer)

-uses mnemonics -one to one relationship -written in assembly language and translated by an assembler

#6
Front (Question)

High level language:

Back (Answer)

-each instruction could be many lines of machine code -HLL fit into two categories imperative and declarative

#7
Front (Question)

What are imperative languages?

Back (Answer)

-use statements that change a program’s state in the form of sequence, selection, iteration, etc -procedural programming is a type of imperative programming -OOP paradigms are a modern extension of the imperative programming

#8
Front (Question)

What are declarative languages?

Back (Answer)

-focus on whatthe program should accomplish

#9
Front (Question)

Advantages of machine/assembly:

Back (Answer)

-Assembly has the same efficiency of execution as machine due to its one-to-one nature -provides direct access to system features without having to go through a software interface -this improves the speed of the program

#10
Front (Question)

disadvantages of machine/assembly:

Back (Answer)

-code can be difficult to understand so it is hard to modify and maintain -code can be tedious to write and very prone to bugs

#11
Front (Question)

Features of procedural languages:

Back (Answer)

-focus on telling a computer exactly what to do by way of step-by-step instructions -Blocks of code identifyset tasksthat need to be completed using procedures and functions -need to be able to read, trace, amend and write this code

#12
Front (Question)

Concepts of procedural languages: (spec doesn’t specify)

Back (Answer)

-pre defined functions -local/global variables -parameter passing -modularity -procedures -library

#13
Front (Question)

What is LMC?

Back (Answer)

-LMC is a conceptual computer often used in education theory and exams to help students learn, test and understand assembly language -The instruction set contains 11 mnemonics

#14
Front (Question)

What are the 11 mnemonics?

Back (Answer)

Card back image
#15
Front (Question)

What are the addressing methods? (4)

Back (Answer)

-direct -indirect -immediate -indexed

#16
Front (Question)

Why do we have different address methods?

Back (Answer)

-By utilizing different addressing modes, the operand can take on different meanings

#17
Front (Question)

Direct addressing:

Back (Answer)

-The value in the address is a reference to the address in memory where the required value is located

#18
Front (Question)

Indirect addressing:

Back (Answer)

-the value in the address part of the instruction is a reference to the address in memory where the required value is located (use instruction to find address, use value to find next address = value found)

#19
Front (Question)

Immediate addressing:

Back (Answer)

-the value in the address is actually the value to be used

#20
Front (Question)

Indexed addressing:

Back (Answer)

-There is an index register (IR) that is set to 0 -The address of the operand is determined by adding the operand to the index register

#21
Front (Question)

What is object-oriented programming?

Back (Answer)

-attempts to capture or group information, data and related functionality (code) into structured items known as objects

#22
Front (Question)

Classes vs objects:

Back (Answer)

-a class is a template of an object, containing methods and attributes -an object is an instance of a class

#23
Front (Question)

What is instantiation?

Back (Answer)

-The process of creating an object from a class template

#24
Front (Question)

What is a constructor?

Back (Answer)

-a special method within the class that runs when an object of that class type is created -When the object is instantiated the constructor method takes the values of the parameters passed into the object and sets its local attributes to their initial values