This will be a complete tutorial about Python Programming for Beginners.
What is Python?
Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.
It is used for:
- web development (server-side),
- software development,
- mathematics,
- system scripting.
Input Devices and output Devices
- Input devices- mouse, mic
- Output Devices- Speaker, Printer
- CPU- Central processing unit.
Memory
- Cache- It is present in CPU chip.Access time is less
- Main Memory- It is called RAM memory.Where all the programs are stored and run. Ram memory is temporary storage.
- Hard Disk- It is a secondary storage.
Operating system
Manager of system.
Memory : Desirable Features.
- Access time---->(low)
- Cost----->(Low)
- Capacity----->(High)
Computer Organisation
In the types of memory we want our system to have all desirable features
- Cache- present in CPU chip, costly, Access time is less.
- Main Memory- It have moderate features.
- Secondary storage-access time is more,Capacity is high,Cost is low.
Computer only understand binary digits so we need Programming language like Python, Java,C++ etc.
Compiler vs Interpreter
Compiler and interpreter are the softwares which converts high level languages to Machine level languages.
Compiler: Selects the whole code in total and converts into machine level languages. C and C++ uses compiler.
Interpreter: Select and convert the line one by one to Machine level Language. Python uses Interpreter.
Python release date: 1991
Worlds 2nd most used Programming language. 1st one is Javascript.
Very simple Syntax.
Python is also known as General purpose Programming Language.
It is used in various fields:
- Console application and script.
- Desktop application.
- Web applications.
- Game Development.
- Machine learning
- Deep Learning
- AI
- Big data
- IOT etc.
Multiparadigm support
- Procedural style programming like c
- OOPS like Java.
- Functional Programming like Lisp.
Portable or Platform Independent
- First compiled into intermediate code.
- Then run by interpreter.
.jpg)