Revision of the Basics of Python
[Pages:61]Chapter 1 Revision of the Basics of Python
New syllabus 2020-21
Computer Science
Class XII ( As per CBSE Board)
Visit : python.mykvs.in for regular updates
Introduction
It is widely used general purpose,high level programming language.Developed by Guido van Rossum in 1991.
It is used for: software development, web development (server-side), system scripting, Mathematics.
Visit : python.mykvs.in for regular updates
Features of Python
1. Easy to use ? Due to simple syntax rule 2. Interpreted language ? Code execution &
interpretation line by line 3. Cross-platform language ? It can run on
windows,linux,macinetosh etc. equally 4. Expressive language ? Less code to be written as it
itself express the purpose of the code. 5. Completeness ? Support wide rage of library 6. Free & Open Source ? Can be downloaded freely
and source code can be modify for improvement
Visit : python.mykvs.in for regular updates
Shortcomings of Python
1. Lesser libraries ? as compared to other programming languages like c++,java,.net
2. Slow language ? as it is interpreted languages,it executes the program slowly.
3. Weak on Type-binding ? It not pin point on use of a single variable for different data type.
Visit : python.mykvs.in for regular updates
How to work in Python (i) in Interactive mode * Search the python.exe file in the drive in which it is
installed. If found double click it to start python in interactive mode
Visit : python.mykvs.in for regular updates
How to work in Python * Click start button -> All programs ->
python->IDLE(Python GUI)
Visit : python.mykvs.in for regular updates
Python command prompt >>>
How to work in Python
Type the following at prompt print "hello" print 8*3 print 3**3 k=3+4*3 print k
Visit : python.mykvs.in for regular updates
How to work in Python
(ii) in Script mode Step 1 (Create program file)
Below steps are for simple hello world program
a. Click Start button->All Programs ->
Python->IDLE b. Now click File->New in IDLE Python Shell Now type
print "hello" print "world" print "python is","object oriented programming lang."
c. Click File->Save and then save the file with filename and .py extension
Visit : python.mykvs.in for regular updates
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- part 2 module 1 logic statements negations quantifiers
- propositional logic university at buffalo
- part i programming in java princeton university
- cs 341 foundations of computer science ii prof marvin
- chapter 2 boolean algebra and logic gates
- forensic science unit 6 norfolk public schools
- 1 1 propositions and logical operations texas a m university
- predicate logic and quantifiers
- 5 1 boolean expressions santiago canyon college
- using the ti 92 calculator as a tool for illustrating
Related searches
- the basics of financial responsibility
- the basics of investing
- the basics of philosophy
- functions of the lobes of the brain
- populations of the countries of the world
- the basics of finance
- responsibilities of the president of the us
- the strategic importance of the island of socotra
- the basics of islam
- out of the overflow of the heart
- basics of python 3
- rise of the planet of the apes moviw worksheet answers