Translators and Facilities of Languages Flashcards
What does a Translator do?
Translators converts programming language into machine code.
What were all the first Computer written in?
Machine Code.
How were instructions written?
In Binary.
What does Assembly language do?
Allows a programmer to create programs more easily than writing in machine code.
What is assembly language (specific)
Processor Specific.
Do you translate assembly language before executing.
Yes it must be translated.
What is Assembly language known as?
Low-level language.
How are high level languages different to low-level.
Generally have statements that represent English.
What are some data structures high level languages use?
Arrays and Records.
What are two program translators?
Compilers
Interpreters.
What are some advantages of high level languages?
Easier to learn
Programs can be written faster
Easier to understand and debug
What are some advantages of high level languages?
Easier to learn
Programs can be written faster
Easier to understand and debug
What are some low level advantages?
A program written in a low level language can run very quickly
Code will usually require less RAM
Statements in a low level language can be used to control and manipulate specific hardware components.
What do compilers do?
Translate high level languages into machine code.
What do compilers do?
Translate high level languages into machine code.