What is Python?
Python is a high-level, object-oriented, interpreted, and interactive programming language. Let’s first try to understand these terms.
What is a high-level programming language?
There are two types of programming languages – high-level and low-level programming languages. A low-level programming language is machine-friendly. It is quite close to the hardware. It is relatively a non-portable language that depends on system architecture. A low-level language is also relatively tough to understand and difficult to debug. Machine code and assembly languages are examples of low-level programming languages.
A high-level programming language, on the other hand, provides a higher level of abstraction from the system architecture. It does not deal with system registers, memory addresses, stacks, etc directly. Instead, it is a programmer-friendly language that is easier to understand and debug. A high-level programming language is also more portable than a low-level programming language as a low-level programming language is often optimized for certain system architecture. Python, Java, Perl, PHP, etc. are examples of high-level programming languages.
What is an object-oriented programming language?
An object-oriented programming language is based on the concept of objects. An object can contain both data and code or methods. Using a method of an object, one can easily access or modify the data of an object. However, different objects can interact with each other. Please note that objects and classes are not the same. A class is a blueprint from which objects are created. In other words, an object is an instance of a class.
Java, Python, C++, Kotlin, etc. are examples of object-oriented programming languages.
What is an interpreted programming language?
An interpreted programming language is a programming language that is not compiled but interpreted. A compiler is a computer program that translates the source code of a high-level programming language to a low-level programming language like assembly language or machine code. If we use a …






0 Comments