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)

Name the 2 categories that programming paradigms can be split into.

Back (Answer)

Imperative Declarative

#2
Front (Question)

What are imperative programming paradigms?

Back (Answer)

Code that clearly specifies actions to be performed

#3
Front (Question)

Name the 2 imperative programming paradigms.

Back (Answer)

Procedural Object-oriented

#4
Front (Question)

What are the features of a procedural programming paradigm?

Back (Answer)

Can be applied to a wide range of problems Easy to write and interpret Written as a sequence of instructions Instructions are carried out sequentially

#5
Front (Question)

What are the features of a object-oriented programming paradigm?

Back (Answer)

Suited to problems that can be broken into reusable components with simillar characteristics Based on objects formed from classes which have attributes and methods

#6
Front (Question)

What are declarative programming paradigms?

Back (Answer)

States the desired result and programming language determines how best to obtain the result Details about how result is obtained are abstracted from user

#7
Front (Question)

Name the 2 declarative programming paradigms.

Back (Answer)

Functional Logic

#8
Front (Question)

What is the disadvantage of procedural language?

Back (Answer)

Not possible to solve all problems or may be inefficient to do so

#9
Front (Question)

Name the 4 main programming structures of procedural programming.

Back (Answer)

Sequence Selection Iteration Recursion

#10
Front (Question)

What is assembly language?

Back (Answer)

Low level language of mnemonics with a one-to-one relationship to machine code

#11
Front (Question)

What is the function of ADD?

Back (Answer)

Adds the value at the given memory address to the value in the accumulator

#12
Front (Question)

What is the function of SUB?

Back (Answer)

Subtracts the value at the given memory address to the value in the accumulator

#13
Front (Question)

What is the function of STA?

Back (Answer)

Stores the value in the accumulator at the given memory address

#14
Front (Question)

What is the function of LDA?

Back (Answer)

Loads the value at the given memory address into the accumulator

#15
Front (Question)

What is the function of INP?

Back (Answer)

Allows the user to input a value which will be held in the accumulator

#16
Front (Question)

What is the function of OUT?

Back (Answer)

Prints the value currently held in the accumulator

#17
Front (Question)

What is the function of HLT?

Back (Answer)

Stops the program at that line, preventing any remaining code from executing

#18
Front (Question)

What is the function of DAT?

Back (Answer)

Creates a flag with a label at which data is stored

#19
Front (Question)

What is the function of BRZ?

Back (Answer)

Branches to the given address if the value in the accumulator is zero

#20
Front (Question)

What is the function of BRP?

Back (Answer)

Branches to a given address if the value in the accumulator is positive

#21
Front (Question)

What is the function of BRA?

Back (Answer)

Branches to a given address no matter the value in the accumulator

#22
Front (Question)

How are machine code instructions formed?

Back (Answer)

Opcode Operand

#23
Front (Question)

What is opcode?

Back (Answer)

Specifies the instruction to be performed & the addressing mode

#24
Front (Question)

What is operand?

Back (Answer)

A value related to the data on which the instruction is to be performed