Translators and Facilities of Languages
No description yet. This curated deck is ready for daily study.
Card preview (21)
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.
What is the code written by the programmer called?
Source code.
What is the code produced by the compiler called?
Object code.
What does an interpreter do?
translates a high level language into machine code.
What does an interpreter do?
translates a high level language into machine code.
Is object code produced in interpreters?
None is produced.
How does a interpreter work?
translates each line of code and executes immediately.