languages and IDEs

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

1/32

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.

33 Terms

1
New cards

low-level languages

a programming language that directly translates to machine code understood by the processor

2
New cards

2 examples of low level languages

machine code, assembly language

3
New cards

machine code

written in binary code, instructions are directly executable by the processor

4
New cards

assembly code

written using mnemonics and abbreviated text commands.

5
New cards

what do machine code and assembly code have and what does this mean

one to one correspondence. one assembly language instruction = one machine code instruction

6
New cards

advantages of low level languages

occupy less memory, can manipulate hardware

7
New cards

disadvantages of low level systems

difficult to write and understand, machine dependent, more prone to errors

8
New cards

high level languages

coding language that is aimed at humans and uses English like statements and known maths operators . must be translated before it can be run

9
New cards

advantages of high level languages

easier to read and write, easier to debug, not machine dependent, one line on code performs multiple commands

10
New cards

disadvantages of high level languages

can’t manipulate hardware, may be less efficient, needs to be translated to machine code before running

11
New cards

what is a translator

a program that translates program source code into machine code so that it can executed directly by a processor

12
New cards

what is used to translate low level languages

assembler

13
New cards

what is used to translate high level languages

compiler or interpreter

14
New cards

what is a compiler

translates high-level languages into machine code all in one go and provides an executable file

15
New cards

what is an interpreter

An interpreter translates high-level languages into machine code one line at a time

16
New cards

what happens if the interpreter finds an error

the process stops

17
New cards

advantages of compiler

speed of execution, source code will not be seen and translated code used, optimises the code

18
New cards

disadvantages of compiler

memory intensive, difficult to debug, changes mean it has to be recompiled, it is designed for one specific processor

19
New cards

advantages of interpreter

stops when it finds a specific syntax error, requires less RAM to process code , easier to debug

20
New cards

disadvantages of interpreter

slower execution, no optimisation, has to be translated every time it is run

21
New cards

what does an IDE do

provides programmers with the facilities to help create programs

22
New cards

facilities / tools of an IDE

editor, compilers and interpreters, error diagnostics and debugger, run-time environment

23
New cards

what does an editor do

allow a programmer to enter and edit the source code

24
New cards

features of an editor

automatic formatting , automatic line numbering, automatic colour coding, statement completion

25
New cards

what does error diagnostics do

identifies errors and highlights part of code or provides error messages for where the error appeared

26
New cards

what does debugger do

provides step by step instructions for the code to see what is happening at each line

27
New cards

2 components of debugger

watch window, breakpoint

28
New cards

what does the breakpoint do

pauses execution for a specific line to inspect variables and the code

29
New cards

what does a watch window do

displays the current value of a selected variable

30
New cards

what does a run time environment do

gives the users the ability to run and see the corresponding output of a high level language

31
New cards

what does IDE stand for

integrated development environment

32
New cards

component of debugger

trace

33
New cards

what does trace do

logs the values of variables and outputs of the program as the code is executed line by line