2.5.1 Languages Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is high-level language?

A

Written by humans and contain keywords and syntax that programmers understand

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

What are examples of high level languages?

A

Python
The C family of languages
Java / JavaScript
Visual Basic / .Net
PHP
Delphi
BASIC

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

What common terminology do high level languages share?

A

‘if’
‘while’
‘until’

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

What is low-level language?

A

More difficult to read and write, and they are much closer to direct instructions that a computer can understand
Often used to directly control hardware

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

What is an example of low-level languages?

A

Machine code - can execute commands directly without translation

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

What do modern translators include?

A

Compilers
Interpreters

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

What are compliers?

A

high-level languages
Convert programs as a whole machine code programs
Fail if errors are found and the process must then begin again

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

What are interpreters?

A

Examine high-level language file one at a time and convert each instruction into compatible machine code instructions
Slower than compilers
Being able to translate while a program is running means that errors within specific line of code can be identified quickly

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