Computer Science, asked by khanbhai51, 1 year ago

why are language processor needed

Answers

Answered by nafibarli789
1

Answer:

A language processor exists as a particular type of computer software that has the capability of the translator, the source code, or program codes into machine codes.

Explanation:

Programming language processor, a computer program that decodes a source program written in one programming language to another.

The following are various classifications of language processors are:

  • A compiler exists as a  language processor which translates source code from a high-level language into binary machine code.
  • An assembler translates from a low-level language to binary machine code.
  • An interpreter is separate from a compiler and assembler. It does not transform the program into machine code form but instead controls the CPU to observe each program statement.
  • language processors are required because they operate as an interface between a user and computer. it decodes the letter typed by the user in the binary digit 0 and 1

#SPJ3

Answered by sourasghotekar123
0

Answer and Explanation:

  • The majority of programmes nowadays are written in a high-level language like C, Java, or Python. By hiding the hardware features of a given computer from the programmer, these languages are meant more for people than machines.
  • To put it another way, high-level languages make it easier to instruct a computer what to do. However, because computers only comprehend machine code (in the form of 1s and 0s), humans can't speak with them properly without some type of translator.
  • It is for this reason that language processors exist.
  • The language processor is a specific translation system that converts source code (also known as "source code") into machine code (also known as "object programme" or "object code").
  • A highly exact definition of the lexicon and syntax, as well as the semantics of a high-level language, is required in order to construct a language processor.
  • Language processors are divided into three categories:
  1. Assembler
  2. Interpreter
  3. Compiler

Similar questions