Tuesday 3 October 2017

Difference Between Machine Languages , Assembly Languages & High-Level Languages ?

Machine Languages vs Assembly Languages vs High-Level Languages

  • Any computer can directly understand only its own machine language, defined by its hardware design.
  1. 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.
  2. 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.

  • High-level languages 

  • 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