Computer Science, asked by Ramamoorthy1547, 11 months ago

features of each level of programing language

Answers

Answered by sunny181086
0
Levels of Programming Languages :-

We program computers to do certain tasks teaching them to act according to a set of rules (algorithms) whenever they receive input of predefined type(s), in order to receive expected output. For all such purposes we use programming languages.

Before you move on to learn those language(s), converting caffeine to code. Its highly advised that you know the most basic classification of programming languages. Programming languages can be broadly classified into three categories:

1.) MACHINE LANGUAGES: Imagine them as the “native tongue” of the computer, the language closest to the hardware itself. Each unique computer has a unique machine language. A machine language program is made up of a series of binary patterns (e.g., 01011100) which represent simple operations that can be accomplished by the computer (e.g., add two operands, move data to a memory location). Machine language programs are executable, meaning that they can be run directly. Programming in machine language requires memorization of the binary codes and can be difficult for the human programmer. A nice and interactive example is present here.

2.) ASSEMBLY LANGUAGES: They represent an effort to make programming easier for the human. The machine language instructions are replaced with simple pneumonic abbreviations (e.g., ADD, MOV). Thus assembly languages are unique to a specific computer (machine). Prior to execution, an assembly language program requires translation to machine language. This translation is accomplished by a computer program known as an Assembler. Assemblers are written for each unique machine language.

3.) HIGH LEVEL LANGUAGES: High-level languages, like C,C++, JAVA etc., are more English-like and, therefore, make it easier for programmers to “think” in the programming language. High-level languages also require translation to machine language before execution. This translation is accomplished by either a compiler or an interpreter. Compilers translate the entire source code program before execution.(Eg: C++, Java)
Interpreters translate source code programs one line at a time. (Eg: Python)Interpreters are more interactive than compilers.
Similar questions