Characteristics and purpose of different levels of programming languages: Flashcards
High-level languages Low-level languages The purpose of translators The characteristics of a compiler and an interpreter
what is a high level language?
Programming languages with abstraction from computer hardware, easier to understand and program in.
Give 5 examples of high level languages.
- Python
2.Java
3.C++
4.C#
- Visual basic
Low-level languages
Programming languages with minimal abstraction from computer hardware, closer to machine code.
what language are low level languages written in
assembled language
how are lower level languages translated
by an assembler into machine code
what are low level languages used for
embedded systems and device drivers where instructing the hardware directly is necessary
positives of low level languages
-memory efficient-programmer works with memory directly
-code is fast to execute
negatives of low level languages
-code is harder to write and understand
one instruction in low level language is translated to
one machine code instruction
does code written in low level language works on all processors
the code works on one type of processor only.
high level language is translated by
a compiler or interpreter into machine code
how do high level languages make writing computer programs easier
by using commands that are like English
code is quicker and easier to understand and write
lots of data structures to use
one source code instruction translates to…
many machine code instructions
high level language code will run on how many processors
different processors
problems with high level language code
less memory efficient
code can be slower to execute if not optimised