2.5 Languages + IDEs Flashcards

1
Q

High level language pros

A
  • Easy to read and write
  • Easy to debug
  • Portable
  • Multiple commands per line
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

High level language cons

A
  • Cant manipulate hardware
  • Needs translation
  • Less efficient
  • More memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Low level language pros

A
  • Complete control over system
  • Occupies less memory
  • Direct manipulation of software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Low level language cons

A
  • Difficult to write/ understand
  • Machine dependent
  • Prone to errors
  • Need to know computer architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does a compiler work

A
  • Translates all at once
  • Errors will be compiled
  • Creates .exe file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does an interpreter work

A
  • Translates one line at a time immediately after the other
  • Stops when there is a syntax error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Compiler pros

A
  • Fast
  • Optimises code
  • Source code not seen
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Compiler cons

A
  • Memory intensive
  • Difficult to debug
  • Compiled after changes
  • Designed for a specific processor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Interpreter pros

A
  • Stops after an error
  • Easier to debug
  • Less RAM used
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Interpreter cons

A
  • Slower
  • Translated every time
  • Not optimised
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Things in an IDE

A
  • Syntax highlighting, changes the text colour depending on what kind of part it is
  • Break points, allows sections of code to be tested
  • Line numbers, makes code easier to read
  • Variable watching, allows variables to watched and how they change throughout the program
  • Code folding, makes code easier to read and makes it shorter
  • Error diagnostics, shows what is wrong and where they are
How well did you know this?
1
Not at all
2
3
4
5
Perfectly