Page 94 - TP_Play_V2.1_class6
P. 94
INTRODUCTION TO
09 PROGRAMMING PYTHON
Your Aim
to learn about:
l Computer Languages l Language Translator
Features of Python
l Python l
l Installing Python l Programming in Python
l Input and Output l Variables in Python
l Data Types l Comments in Python
l Operators l Precedence of Operators
l Some More Programs
We have already learnt that computers follow certain steps to perform any task and when we
perform a sequence of steps to solve any problem, it is called an algorithm. Let us now learn
about computer languages used to develop programs.
COMPUTER LANGUAGES
To communicate with the computers, we need some special languages which are called computer
languages or programming languages. A computer language is the medium by which instructions
are transmitted to the computer to perform a specific task. It is a set of words, symbols and codes
that the computer can understand. It is used to write computer programs. A computer program is
a set of instructions written in a programming language. The process of writing a program is called
programming. People who write the programs are called programmers.
There are a number of programming languages worldwide. Some languages were developed
for specific computers, others were developed for specific uses such as scientific or business
applications. Computer languages are classified into two major categories:
Computer Languages
Low-Level Language High-Level Language
Machine Assembly Third Generation Fourth-Generation Natural
Language (1GL) Language (2GL) Language (3GL) Language (4GL) Language (5GL)
92 Play (Ver. 2.1)-VI

