Back to marketplace

1.2.4 Types of Programming Techniques

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 pattern • To describe an example of a way of doing things

#2
Front (Question)

Machine code (4)

Back (Answer)

• Least abstract • Closest to what happens on a computer • Programs directly in 1s and 0s • These translate into matching electrical signals e.g. 1 for high voltage and 0 for lo

#3
Front (Question)

Assembly language (4)

Back (Answer)

• Low level language that uses short code (mnemonics) • Each mnemonic matches a specific sequence of 1s and 0s • One-to-one relationship • Written in assembly language and translated by a specific assembler

#4
Front (Question)

High Level language

Back (Answer)

• Written in the language that is designed to be easily understood by humans • Uses syntax that is similar to human language to form instructions • Must be translated into machine code before it can be run (compilation)

#5
Front (Question)

Features of procedural languages

Back (Answer)

• Focus on telling a computer exactly what to do by way of step-by-step instructions • Lay code as a series of statements (SSI) • Code is developed in a modular way using functions and procedures

#6
Front (Question)

Features of procedural languages

Back (Answer)

• Pre defined functions • Local variables • Global variables • Parameter passing • Modularity • Procedures • Library

#7
Front (Question)

What are pre defined functions?

Back (Answer)

Functions pre-written within a programming language

#8
Front (Question)

What are local variables?

Back (Answer)

A variable that can only be accessed within the specific function or procedure it was declared in

#9
Front (Question)

What are global variables?

Back (Answer)

A variable that can be accessed throughout the whole program and used by all modules

#10
Front (Question)

What is parameter passing?

Back (Answer)

Allows variable values to be passed into procedures and functions for use in those blocks of code

#11
Front (Question)

What is modularity?

Back (Answer)

The concept of separating the functionality of a program into individual, interchangeable blocks, each designed to carry out a single task - These all combine to make a complete program and make the program more readable

#12
Front (Question)

What is a library?

Back (Answer)

A collection of pre-built functions and procedures that can be linked and used y a programmer in their own code

#13
Front (Question)

LMC: ADD

Back (Answer)

Add

#14
Front (Question)

LMC: SUB

Back (Answer)

Subtract

#15
Front (Question)

LMC: STA

Back (Answer)

Store

#16
Front (Question)

LMC: LDA

Back (Answer)

Load

#17
Front (Question)

LMC: BRA

Back (Answer)

Branch always

#18
Front (Question)

LMC: BRZ

Back (Answer)

Branch if zero

#19
Front (Question)

LMC: BRP

Back (Answer)

Branch if positive

#20
Front (Question)

LMC: INP

Back (Answer)

Input

#21
Front (Question)

LMC: OUT

Back (Answer)

Output

#22
Front (Question)

LMC: HLT

Back (Answer)

End program

#23
Front (Question)

LMC: DAT

Back (Answer)

Data location

#24
Front (Question)

Different modes of addressing memory

Back (Answer)

• Immediate addressing • Direct addressing • Indirect addressing • Indexed addressing