0% found this document useful (0 votes)
40 views3 pages

01 Introduction To Python 04-02-2025

The document provides an introduction to programming and types of programming languages, including machine level, assembly, and high-level languages. It explains the role of language translators, which convert source code into machine code, and describes the types of language translators: compilers, assemblers, and interpreters. High-level languages, such as Python, are designed to be easily understood by humans compared to low-level languages.

Uploaded by

durgadeepak2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

01 Introduction To Python 04-02-2025

The document provides an introduction to programming and types of programming languages, including machine level, assembly, and high-level languages. It explains the role of language translators, which convert source code into machine code, and describes the types of language translators: compilers, assemblers, and interpreters. High-level languages, such as Python, are designed to be easily understood by humans compared to low-level languages.

Uploaded by

durgadeepak2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

+++++

INTRODUCTION TO PYTHON
Programming
i. These step-by-step instruction written in any
programming language that perform a specfic task when
excuted known as Program.
ii. The purpose of programs is to make computer programs
run faster, safer and more efficiently.
iii. A Program is written in any programming language which
the computer can understand and execute.
iv. Program is a collaboration between human and
computer.
v. Algorithm and flowchart are powerful tools for learning
programming.
Types of Programming Language
1. Machine level/ Low level / Binary Language/First Generation
Language
2. Assembly Language / Second Generation
3. High Level Language / Third Generation Language

1. Machine Level Language


Machine Language is a type of programming languages
which runs and understood by computer and its parts
directly. This is often referred to as binary language which is
mostly composed of 0s and 1s.

2. Assembly Language
An assembly language is a low-level programming language
uses mnemonic instructions to represent machine code
instructionsto communicate directly with a computer's
hardware.
3. High Level Language
High level language uses words and commands along with
symbols and numbers. The keywords used in High level
languages are similar to English words and can be easily
understood by Humans when compared to a Low level
language.
Ex: C,C++ C#, Java, PHP, PASCAL, Fortan, Python Etc.

Language Translator
Language translators allow computer programmers to write
sets of instructions in specific programming languages.
These instructions are converted by the language translator
into machine code. The computer system then reads these
machine code instructions and executes them.

Language translators are also called language processors.

Code written in any high-level programming language is


called “source code”. When you change the source code
into machine code, it is called “object code”. A translator
turns the source code into object code, which the computer
can understand and run.

Types of Language Translator


i. Compiler
ii. Assembler
iii. Interpreter
Compiler
The language processor that reads the complete source program
written in high-level language as a whole in one go and
translates it into an equivalent program in machine language is
called a Compiler. Ex: C,C++,C#

Assembler
The Assembler is used to translate the program written in
Assembly language into machine code.

Interpreter
The translation of a single statement of the source program into
machine code is done by a language processor and executes
immediately before moving on to the next line is called an
interpreter.
Ex: Python, Visual Basic, Javascript

You might also like