Machine Languages vs Assembly Languages vs High-Level Languages
- Any computer can directly understand only its own machine language, defined by its hardware design.
- Generally consist of strings of numbers (ultimately reduced to 1s and 0s) that instruct computers to perform their most elementary operations one at a time.
- Machine dependent—a particular machine language can be used on only one type of computer.
- English-like abbreviations that represent elementary operations formed the basis of assembly languages.
- Translator programs called assemblers convert early assembly-language programs to machine language.
- Allow you to write instructions that look almost like everyday English and contain commonly used mathematical notations.
- Compilers convert high-level language programs into machine language.
- grossPay = basePay + overTimePay
- Compiling a high-level language program into machine language can take a considerable amount of computer time.
- Interpreter programs execute high-level language programs directly, avoid the delay of compilation, although slower than compiled programs run.
No comments:
Post a Comment