test march 17th Flashcards

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

what is a high level language

A

use statements close to english / maths making it easier to solve and write problems
- translated by compiler/ interpreter
- machine independent
eg python

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

when use a high level language

A

Programmers almost always write in high-level languages because they are easier to understand and are less complex than machine code

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

why is it better to code in high level than low level

A
  • machine independent
  • easier to understand
  • easier to debug
  • easier to learn + faster to write
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is a low level langauge

A

Low-level languages are languages that sit close to the computer’s instruction set
An instruction set is the set of instructions that the processor understands
eg assembly language, machine code

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

when is a low level language used

A

to control and manipulate specific hardware directly

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

when use a low level language instead of a high level kanguage

A
  • run quicker
  • require less memory
  • can control specific hardware directly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are the negatives/ limitations of low level languages

A
  • not machine independent
  • hard to debug
  • hard to read / understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is assembly language used for

A

low level language
used to directly manipulate hardware

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

what languages are processor specific

A

low level are processor specific
high level are machine independent

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

assembler

A

converts assembly language to machine code

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

interpreter

A

converts high level languages

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

compiler

A

converts high level languages

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

interpreter vs compiler

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