languages and translators Flashcards
High-level languages
-similar to natural human language so easier to understand
-leads to fewer error
-more powerful and complex commands
-must be translated into machine code before it can run, as cannot be executed directly by the CPU
Low-level languages
-hard for humans to understand and write in
-executed fast
-interacts directly with hardware
what is machine code
pure binary code
directly processed and executed
used to preform specific commands
executed faster as it does not need to be translated
low level language
What is assembly language
-easier to understand and spot errors
a low level lanuage
faster to execute than high-level languages
can be used to directly control the CPU
What is a translator
translates a program written in one code to another
e.g. an interpretert converts high level language one line at a time into machine code
a compiler converts high level language into machine code for execution at a later time and it converted at once