Programming Languages:-
- Programming language is the computer language which is used to design and write the computer programs.
- As the real world instance what language we used to speak for communication in the same way a language which is designed to communicate with the computers to design and code a program can be treated as programming languages.
Classification of Computer Language :-
computer languages can be classified into three broad categories:
A. Machine Language •
B. Assembly language.
C. high-level language.
A. Machine Level Language:-
- Machine level language is even called low-level or binary level language what uses only binary number information as input and output.
- A Machine level language no more needs any mediator to convert the code so that can be sent for execution. For human eyes, this code would be rendered into a special numbering system called “hex” that makes It easier to read. (We will learn about hex later).
Advantages:-
i) It makes fast and efficient use of the computer.
ii) It requires no translator to translate the code i.e. directly understood by the computer
Disadvantages :-
i) Binary and/or Hex code is virtually unreadable.
ii) It makes fast and efficient use of the computer. Machine language commands are few and primitive, making programs hard to write.
B. Assembly Level Language:-
- Assembly level language is something what enhances its feature than Machine level language and uses Mnemonics and register variables which makes little faster and easy to write in comparison to Machine level language.
- A Machine level language uses ‘Assembler’ to convert the program code into binary information so that it can be sent for execution.
Advantages:-
- It is a little faster than Machine level language.
- variables are directly declared in registers
Disadvantages:-
- Difficult to implement.
- Difficult to remember Mnemonics while implementation.
- Time consuming.
- One of the major disadvantages is that assembly language is machine dependent.
C. High Level Language:-
- A High level language is a programming language what high level language means general English language which is very near to human understanding.
- This kind of programming languages brought revolution in computer programming.
- Using high level programming language one became able to write program codes very easily and accurately because ere remained less chance of mistakes and existence of errors.
Advantages:-
- Easy to understand and implement because of high level language (English) is used.
- Faster in comparison to Machine level and Assembly level language
- Enhanced facility to design and do creativity
- Less time consuming.
- probability of error is less.
- Portable.
- no more machines dependent.
Disadvantages:-
- Comprehensive Skill set required to understand the Application IDE while implementation.
- Big Memory space required to run all the components of the Application.
- usually slower than lower-lever languages, for example assembler is faster than C which is faster than C++ which is faster than or Java (on the same computer, of course).
Python :-
- Python is an interpreted, general-purpose programming language.
- Created by Guido van Rossum and officially released on February 20, 1991.
- Python 2.0 released 2000. Python 3.0 released 2008, wav, a major revision of the language that is not completely backward-compatible, and much Python 2 code does not run unmodified on Python 3.
0 Comments