SUMMARY & KEY TERMS OF INTRODUCTION OF PYTHON PROGRAMMING 🔥


Summary

  • A computer is an electronic device accepts data from a user, processes it for calculations specified by the user and generates an output.
  • The hardware of a computer system consists of three main components, viz. input/output (I/O) unit, central processing unit (CPU) and memory unit.
  • A program written in 1s and 0s is called machine language.
  • In assembly languages, machine operations are represented by mnemonic codes such as ADD, MUL, etc. and symbolic names that specify the memory address. 
  • Programs written in high-level languages are similar to instructions written in English language.
  • An Assembler is used to translate an assembly language program into an equivalent machine language program.
  • An interpreter or compiler is used to translate a program written in a high-level language into an equivalent machine code for execution.
  • An interpreter reads the source code line by line and converts it into object code.
  • A compiler is a software which translates an entire program written in a high-level language into machine language at one go.
  • A loader is a software used to load and relocate the executable program in the main memory during execution.
  • Python is a general purpose, interpreted and objects oriented programming language.
  • You can enter Python statements interactively from the Python prompt>>>.
  • Python source programs are case sensitive.
  • The # symbol is used to comment a single line in Python.
  • Triple single quotation ''' marks are used to comment multiple lines in Python.
  • Python programs can be executed on any operating system like Windows, Linux or Ubuntu.


Key Terms

Assembly Language: Machine operations are represented by mnemonic code.


Byte Code: The Python interpreter translates Python codes/instructions into their equivalent low level language.


Central Processing Unit (CPU): It consists of Arithmetic Logical Unit and Control Unit.


High-level Language: Programs are written in a manner similar to writing instructions in English language.


Jython, IronPython, Stackless, PyPy: Different implementation alternatives of Python.


Machine Language: Instructions are written in binary form, i.e. 0s and 1s.


Python Virtual Machine (PVM): Used to check if the object code contains errors.


Comments

Popular posts from this blog

Python Implementations