Please enable JavaScript.
Coggle requires JavaScript to display documents.
high level languages (compiler (intermidiate code (interpreter (machine…
high level languages
compiler
intermidiate code
interpreter
machine code
object-oriented
procedrul
declarative
2.5
levels of languages
high level
not platform dependent but also not processing efficient as it has to be converted
procedural and object
uses the three programming constructs
SEQUENCE
SELECTION
ITERATION
RECURSION
two types of variable
local
only visible to one procedure
global
visible to all procedures
e.g. python, java script, basic
x = input('what is x?')
declarative
describes problems but not solutions
e.g. SQL, prolog
describes what you want not how to get it
SELECT * from students WHERE name != 'bob'
low level
efficient use of processing power however program dependent
machine code
written in binary
hard to code and fix
01010101010101001100
assembly
written in mneumonics
usually writes the core part of the operating system
STA 0
translators
language structure
converts from one level of code to another until it reaches machine code
compiler
converts high level code to either machine or intermidiate code
compiles all at once
interpreter
converts source code to machine code one line at a time
runs straight away but not as efficiently
assembler
converts assembly code into machine code
IDE's
assembly language
assembler