Page 108 - ConceptGP_C8_Fb
P. 108
UNIT 6
8 INTRODUCTION TO
PYTHON PROGRAMMING
Learning Outcomes
• Computer Languages • Language Translator
• Working of Language Translators • Python
• Features of Python • Installing Python
• Programming in Python • Input and Output
• Variables in Python • Data Types
• Comments in Python • Operators
• Precedence of Operators • Sample 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)
106 Premium Edition-VIII

