Back to marketplace

1.2.4 Types Of Programming Language

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

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

Card preview (19)

#1
Front (Question)

Programming paradigms

Back (Answer)

• are different approaches to using a programming language to solve a problem • can be imperative or declarative

#2
Front (Question)

Imperative languages/programming

Back (Answer)

• uses code that clearly specifies the actions to be performed step by step • uses statements that change a programs state e.g in the form of sequence selection etc

#3
Front (Question)

Declarative programming

Back (Answer)

• states the desired result and the programming language determines best how to obtain the result • eg. Functional programming

#4
Front (Question)

Procedural programming/language

Back (Answer)

• an imperative paradigm • breaks a solution down into subroutines • programs are written as a sequence of instructions to be executed • instructions are excecuted in a step by step manner • are easy to write and interpret

#5
Front (Question)

Assembly language

Back (Answer)

• Low level mnemonic representation of machine code that is computer architecture/processor specific • uses mnemonics which are abbreviations/ sequences of letters that are easy to remember e.g ADD for addition [1] • each line in assembly language is equivalent to one line of machine code

#6
Front (Question)

Modes of addressing

Back (Answer)

• machine code instructions are made up of an opcode and operand • addressing mode specifies how the operand should be interpreted

#7
Front (Question)

Opcode

Back (Answer)

• is part of the instruction and indicates what to do (as well as the addressing mode)

#8
Front (Question)

4 modes of addressing

Back (Answer)

• immediate addressing • direct addressing • indirect addressing • indexed addressing

#9
Front (Question)

Immediate addressing

Back (Answer)

• the operand is the actual value upon which the instruction is performed • the operand is part of the instruction

#10
Front (Question)

Direct addressing

Back (Answer)

• the value of the operand is a reference to the address in memory where the required value is located

#11
Front (Question)

Indirect addressing

Back (Answer)

• the operand gives the address of a register which holds another address where the data is located

#12
Front (Question)

Indexed addressing

Back (Answer)

• an index register is used which stores a certain value. • The address of where the data is located is determined by adding the operand to the contents of the index register • used to access data stored contiguously in memory eg. In arrays

#13
Front (Question)

Why are addressing modes used?

Back (Answer)

• addressing modes allow for a much greater number of locations for data to be stored in, as the size of the operand would otherwise limit the number of addresses that could be accessed

#14
Front (Question)

Class

Back (Answer)

• acts as a blueprint/template for creating objects with specific attributes and methods [1] • classes provide a way to organise code in a modular way [1]

#15
Front (Question)

Object

Back (Answer)

• a particular instance of a class with its own unique values and properties

#16
Front (Question)

Methods

Back (Answer)

• are functions associated with objects or classes that define the actions an object can perform

#17
Front (Question)

Function

Back (Answer)

• performs a task and must return a single value

#18
Front (Question)

Procedure

Back (Answer)

Performs a task but does not have to return a value

#19
Front (Question)

Constructor method

Back (Answer)

• a special method within a class that is automatically called when an object of that class is instantiated • used to create an instance of an object from a class [1]