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)

1.2.4 A) What is a program paradigms

Back (Answer)

Are approaches to using a program language to solve problems.

#2
Front (Question)

1.2.4 A) Types of program paradigms

Back (Answer)

imperative and decleartive

#3
Front (Question)

1.2.4 A) What is imperative

Back (Answer)

Code clearly specify the action to be preformed

#4
Front (Question)

1.2.4 A) What is declarative

Back (Answer)

Focus on declaring the desired result. Details on how its obtained are abstracted from the user

#5
Front (Question)

1.2.4 A) Type of imperative

Back (Answer)

procedual - python oop

#6
Front (Question)

1.2.4 A) Type of declaratuve

Back (Answer)

functional - reusing func logic - quries to find problem - sql

#7
Front (Question)

1.2.4 B) properites of procedual programming

Back (Answer)

Easy to implement ,not possible to solve all problems or maybe ineff

#8
Front (Question)

1.2.4 B) Four main programming structure

Back (Answer)

Sequence - execute line by line top to bottom Selection - Code is run if a specific condition is met iteration - code is run a # of time or while condtion true Recursion - Func are expression in terms of themselves until conditions is met known as base case

#9
Front (Question)

1.2.4 B) What is procedual programming suited for

Back (Answer)

is suited to probelsm that can be easly be expressed as a series of instructions

#10
Front (Question)

1.2.4 C) What is assembly language

Back (Answer)

Next level up from machine code low level language converted to machine code using an assembler

#11
Front (Question)

1.2.4 C) explain LLL

Back (Answer)

language based on instruction set of the computer

#12
Front (Question)

1.2.4 C) How does AL use mnemonics

Back (Answer)

uses mnemonics rather then binary easier to use than direct machine code. Mnemoics represent numeric code Processor specific as it directly interacts with cpu purpose register

#13
Front (Question)

1.2.4 C) What is Assembly language used for and why

Back (Answer)

useful for embedded ssytems as allows for direct interactions with hardware

#14
Front (Question)

1.2.4 C) Mnemocs > instructions > functions

Back (Answer)

AS SLIO HD BBB ADD > add > adds values @ memory and acc SUB > subtract > sub value @ memory from acc STA > store > Value at acc at address LDA > load > value at mm to acc INP > input > user input stored to acc OUT > output > print value at acc HLT > halt > stops execution DAT > data > flag w/ label with data is stored BRZ > branch if 0 > *BR is zero *CB BRP > branch if + > *BR is positive *CB BRA > branch always > branch to given address no matter of acc value, uncoditonal branch *BR = branch to given address if acc value CB - conditonal branch

#15
Front (Question)

1.2.4 D) What two components make up machine code instructions

Back (Answer)

opcode and operand

#16
Front (Question)

1.2.4 D) What is the opcode

Back (Answer)

Holds the specific instructions to be preformed

#17
Front (Question)

1.2.4 D) What is the operand

Back (Answer)

holds the value releated to data on which is instruction is run

#18
Front (Question)

1.2.4 D) Whats the advantage of using addressing mode Whats the disadvantages of using addressing modes

Back (Answer)

Requires less code: operand address is directly specified in the instruction, Less complex: requires fewer instructions and is generally easier to debug it is not useful for accessing complex data structures such as arrays and records that are used in high-level languages

#19
Front (Question)

1.2.4 D) Types of addressing modes

Back (Answer)

immediate addressing Direct addressing Indirect addressing indexing addressing

#20
Front (Question)

1.2.4 D) Explain immediate addressing

Back (Answer)

The operand is the value which the instruction uses

#21
Front (Question)

1.2.4 D) Explain direct addressing

Back (Answer)

operand gives the address which holds the value

#22
Front (Question)

1.2.4 D) Explain indirect addressing

Back (Answer)

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

#23
Front (Question)

1.2.4 D) Explain indexed addressing

Back (Answer)

index register used stores value address of operand determind by adding operand This is necessary to add an offset in order to access data stored contiguously in mmemory such as in arrays

#24
Front (Question)

1.2.4 E) Objective of oop

Back (Answer)

attempts to capture or group infomation / data and code into structed items known as objects