Classification of Programming languages Flashcards

(7 cards)

1
Q

Low level languages

A

are specific to the type of processor they are written for and directly affect computers processor
Machine & assembly code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Machine Code

A

only uses the binary digits 1 and 0 to represent instructions
therefore very long and extremely difficult for humans to understand
difficult to debug
directly manipulates a computers processor
no need to translate therefore useful where speed of execution is important

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Assembly language

A

meant to simplify the process of writing computer programs
contains Mnemonics e.g. ADD and MOV
1 to 1 correlation to a machine code instruction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

High level languages

A

not processor specific but must be translated into machine code by compiler/interpreter before executed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

benefits of high level languages

A

use english instructions that make them much easier for humans to learn and understand + easier to debug
use built in functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Imperative vs Declarative

A

imperative high level languages tell a computer HOW they should complete a task
declarative describes WHAT a computer should do

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly