High and low level languages Flashcards
Advantages and disadvantages of High level language
Such as python -Advantages - easier to read and correct errors for developers , can run on many CPUS
disadvantages - slower to execute
Advantages and disadvantages of low level programming languages
such as assembly code(add 5 R2) and machine code(1010001) - Advantages - easier to optimise but it will only be specific to certain cpus
disadvantages - harder for programmers to understand the code - its longer
translators …
Convert code into machine code
Assemblers
Convert assembly code into machine code
Compilers and interpreters
Convert high level code into machine code
compilers work by
They produce an executable file and no source code is needed so your code cant be stolen , however , errors only show at the end and this can be harder for developers to debug programs
Interpreters work by
Translating an instruction then executes it and straight away shows errors so easier to debug code