6.2 Classification Of Programming Languages Flashcards
Why did programmers have to write in low-level languages before ?
Limited speed and memory of early computers
What are low-level languages ?
Languages that directly manipulated the processor
What are programs written in low-level languages specific to ?
Type of Processor they are written for
What are the two categories of low level languages ?
Machine code and Assembly language.
What is Machine Code ?
Uses only the binary digits 1 and 0 to represent instructions
Why is machine code very powerful ?
Directly manipulates a computer’s processor
Does Machine code need to be translated ?
No
Where is machine code extremely important ?
embedded systems and real-time applications
What does assembly language use in place of binary instructions ?
Mnemonics
Why is assembly code better then machine code ?
More compact and less error prone
How does assembly and machine code relate ?
Each assembly language instruction has a 1-to-1 correlation to a machine code instruction
Are high level languages platform specific ?
No
What must high-level languages go through before being executed ?
Translated into machine code by a compiler or interpreter.
How do high level language save time while programming ?
Built in Functions
What are imperative high-level languages ?
Instructions that specify how
the computer should complete a task, in contrast to declarative programming which
describes what a computer should do.
What must be used before assembly language can be executed ?
An assembler
What does a compiler/interpreter do ?
Translates source code into object code before it can be executed.