Zusammenfassung der Ressource
High level vs Low level programming
languages
- High-level programming language
- Procedural programming
- Instructions are given in sequence
- Selection is used to decide what a program does
- Iteration dictates how many times it does it
- Programs are broken down into
key blocks called procedures and
functions
- BASIC, C and Pascal
- Object-oriented programming
- Solution consists of objects that interact with each other
- Java and C++
- Designed to be closer to the way we express ourselves
- Using a mixture of English words and mathematical expressions
- Can be converted to machine code
- Low-level language
- Assembly language
- Mnemonics used in place of
machine-code instructions
- Mnemonics (memorable letter sequence)
- The set of instructions varies from processor to processor
- Assembly code written for one processor may not necessarily work on another
- Directly linked to the architecture of the computer
- Machine code
- Uses binary to represent instructions (opcode)
- On data which the act (operands)
- Rather than remembering which binary code represents which instruction
- Assembly code use mnemonics to represent the sequences
- Each assembly code instruction represents a machine- code instruction
- Assembly code programs can be longer than high-level equivilents