High level and low level languages Flashcards

1
Q

High level language

A

Has been developed to be a little like a human language. This language is much easier to read and work with than a low level.

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

Low level language

A

More closely reflect the mechanical workings of CPU. The advantage is that it runs very fast on the PC. Needs an assembler to be processed.

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

Machine code

A

Programming language consist of binary numbers which CPU can respond directly.

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

Assembly language

A

A low-level programming language that uses mnemonic codes to create programs. The mnemonic codes

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

Syntax

A

The structure of language in a computer program.

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

Compiler

A

Translates whole program into machine code before the program is run. The machine code is saved and stored separately to the high-level code.

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

Interpreter

A

The CPU executes each instruction before the interpreter moves to translate the next instruction.

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

Executable file (.exe)

A

A file format that a computer can directly process.

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

Source code

A

Code in its text-based form and need to be translated into machine code before running.

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

Assembler

A

Converts assembly language into machine code. It will convert mnemonics into machine code.

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

Driver

A

A program that controls a device, such as printer or keyboard. Written in low level language.

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

Advantages of high-level language

A

Easier to read and maintain

Less of technical skills required

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

Diff between compiler and interpreter

A

Compiler is faster
Compiler translates the whole program into machine code before the program is run.

Interpreter is easier to debug

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

Advantages of low level language

A

Used for programming big apps. It runs faster and it’s more efficient.

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

Translator

A

CPU only understand series of binary numbers. The translator converts all programming languages into binary code.

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