Introduction to Python

Next

Python Tutorials

Python is Programming language:

  • Programming language is a pre-defined application.
  • Programming languages are used to develop applications.
  • We use applications as a medium for communication.
  • Communication is the process of data sharing.
  • Different types of applications can be developed using Python language.

Way of Communication with machine:

  • Machine understands binary code.
  • We cannot define machine instructions directly to input.
  • We use high level languages to define source code.
  • Source code need to convert (interpret) before input to machine.
  • Interpreter is a program that converts the source code into machine code
Python Tutorials

Types of Languages

Low Level Languages:

  • A low level languages are near to computer hardware and consist of binary(0’s & 1’s) or Mnemonic codes(MUL,ADD) but far from human languages
  • Low level language does not need a compiler or interpreter to run the program, a processor can run low level code directly.
  • Technically Low-level Language classified into two types-
  • Machine language
  • Assembly language

Machine Language:

  • The name machine itself implies that ,programming is done at the machine level which means machine language are the only way to communicate directly with computers.
  • It’s a language which is directly understood by the computer.
  • In Machine Language we write only binary, octal or hexadecimal code.

Assembly Language:

  • Assembly languages have the same structure and set of commands as machine language, but the difference is they enable a programmer to use names instead of numbers.
  • By using assembler ,we can easily convert assembly code to machine code
  • Assembler is a program that takes computer instructions and converts into a pattern of bits so that the computer’s processors can use it to perform basic operations.

High Level Language: High level language is a programming language that enables a programmer to write programs that are independent of a particular type of computer, such types of language are called as high level because they are closer to human languages and further from machine language.

Next

Add Comment

Courses Enquiry Form