Page 111 - ConceptGP_C8_Fb
P. 111
Working of Language Translators
The programs written in a high-level language must be translated into machine language by
using a translator called compiler or interpreter.
3 × 2 = 6 Machine Code (01001)
High-level Input Language Output Machine
Language Translator Language
Have you played games in mobile or on computer system? Have you seen a website? How is
it developed? Let us find out the answers of these questions.
These games and websites are programs or applications developed by using a programming
language. There are a number of programming languages. Some of them are C language,
C++ and Python. In this chapter, we will learn about Python and how to develop programs
in Python.
Python
Python is a popular high-level programming language. It is a powerful language used for
general-purpose programming. Python was developed by Guido van Rossum. He started
applying Python in 1989. Python is extensively used to develop:
• games • websites
• Graphical User Interface programs • web applications
Features of Python
• Easy to code: it is very easy to write programs in Python as compared to other high-level
programming languages. This is because the language used to write Python codes is
similar to the English language.
• Open-source language: Python is a free and open-source programming language. An
open-source language is one which can be easily improved and distributed by anyone.
You can download Python free of cost and use it on any operating system such as Windows,
Mac or Linux.
• Object-Oriented: Python has an object-oriented approach. This means that the programs
are designed using objects and classes that interact with each other.
• Integrated and Extensible language: We can easily integrate Python with other
languages such as C, C++. We can also write and compile a Python code in C or C++.
• Interpreted language: The code you create in Python is executed line by line which makes
it easy to correct any errors. On execution, a Python code is immediately converted into an
intermediate form. This is known as byte code. The byte code makes it easier to execute or
run the code in future.
Introduction to Python Programming 109

