2.5 (languages & IDEs)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

what is a high level language?

a programming language similar to natural human language

2
New cards

examples of a high level language?

Python, C++, Java

3
New cards

advantages of a high level language?

easy to learn, quicker to write and debug, can work on different types of processors

4
New cards

disadvantages of a high level language?

slower to execute (as they need to be translated to machine code) and have less control over hardware + memory

5
New cards

what is a low level language?

code that do not resemble natural human language

6
New cards

what are the 2 types of low level languages ?

machine code and assembly language

7
New cards

benefits of a low level language?

machine code needs no translator and assembly is quick to translate

8
New cards

low level languages take up less…

memory because their code is shorter

9
New cards

low level languages have direct…

control over hardware and memory

10
New cards

disadvantages of low level languages?

hard for humans to read/write (more prone to errors) and are not universal amongst processors

11
New cards

what is a translator?

converts one (usually high level) language into another

12
New cards

why do we need translators?

so CPU can understand and execute data (as they only understand machine code)

13
New cards

what are the two types of translators?

interpreters and compilers

14
New cards

what does an interpreter do?

translates and executes code line by line

15
New cards

what does a compiler do?

translates code into machine code all at once

16
New cards

what do compilers produce?

an executable file (.exe) so files dont need to be retranslated when run

17
New cards

what do interpreters not produce?

an executable file (.exe) so files DO need to be retranslated when run

18
New cards

interpreters are …

slower to execute (translation must be done)

19
New cards

interpreters must be …

installed on the end user’s computer, so it can be translated

20
New cards

compliers don’t need to be…

installed on the end user’s computer but they cant see the source code

21
New cards

when interpreters encounter an error,

they stop running

22
New cards

when a compiler encounters an error,

it is reported in an error at the end of compilation

23
New cards

what does an IDE stand for?

an integrated development environment

24
New cards

what do IDEs do?

provide programmers with tools for creating, editing, debugging and running programs

25
New cards

what does an editor do?

allows high level program code to be entered and edited

26
New cards

IDEs have a run time environment which…

lets programs to run on all types of computers

27
New cards

editors have…

auto-indent, colour coding functions, autocorrect, numbered lines, auto suggestion

28
New cards

IDEs have error diagnostics which…

highlights errors, stops program running at a line of code to report an error, shows type of error and line of code

29
New cards

IDEs also have a…

translator (translates high level source code into machine code)