Page 81 - modular4.0
P. 81
Chapter Profile
Chapter Profile
8 Computer Languages
Language Translator
Python
Features of Python
Introduction to Installing Python
Programming in Python
Input and Output
Programming Variables in Python
Data Types
Comments in Python
Operators
Precedence of Operators
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)
Low-Level Language (LLL)
A low-level language is a programming language that is machine dependent. A program written
in machine dependent language runs only on one particular type of computer. There are two
categories of low-level languages:
Introduction to Programming 79

