4.6.2 Classification of Programming Languages Flashcards

1
Q

Define High level language.

A

A programming language with a strong abstraction from a processor’s internal instruction set that is much more human readable with natural language keywords, such as Python or Java.

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

Define Low level language.

A

A programming language with little to no abstraction from a processor’s internal instruction set, such as machine code or assembly language.

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

Define Machine Code.

A

A low level programming language written in binary that is directly understood by the CPU.

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

Define Assembly Language.

A

A low level programming language consisting of a set of mnemonic instructions that directly corresponds to the processor architecture’s machine code instruction set.

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

Define Imperative Language.

A

A programming language built on the programming paradigm of using subroutines and procedures as instructions to change a program’s state and describe how a program operates.
e.g Python, Java, C#, C++

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

Define Declarative Language.

A

A programming approach in which coders write code that describes what they want to do and what results they want to achieve, rather than how they will achieve the results.

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

Advantages of High Level Language.

A
  • Portable: programs can be run on different types of computer after recompiling
  • Easier and faster to write
  • Easier to debug and maintain programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Disadvantages of High Level Language.

A
  • Slower speed: Code or program may run slower than assembly or machine code as need to be translated
  • More memory storage: Code may occupy more space in RAM
  • Unable to manipulate individual bits like machine and assembly code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly