Grade 12 Exam  >  Grade 12 Notes  >  Computer Science for Grade 12  >  Detailed Notes: Python Revision

Detailed Notes: Python Revision | Computer Science for Grade 12 PDF Download

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


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.
Page 2


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.
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
Page 3


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.
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
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.
Page 4


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.
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
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.
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
Page 5


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.
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
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.
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
How to work in Python
* Click start button -> All programs  -> 
python<version>->IDLE(Python GUI)
Read More
1 videos|25 docs|18 tests

Top Courses for Grade 12

FAQs on Detailed Notes: Python Revision - Computer Science for Grade 12

1. What is Python and why is it widely used in programming?
Ans. Python is a high-level programming language that is widely used for various purposes such as web development, data analysis, artificial intelligence, and more. It is popular due to its simplicity, readability, and extensive library support, making it easier for beginners to learn and use effectively.
2. How can I install Python on my computer?
Ans. To install Python on your computer, you can visit the official Python website and download the latest version of Python suitable for your operating system. Follow the installation instructions provided on the website to complete the installation process.
3. What are the advantages of using Python over other programming languages?
Ans. Python offers several advantages over other programming languages. It has a clean and easy-to-read syntax, making it more understandable and maintainable. The extensive standard library and third-party libraries provide a wide range of functionalities, saving development time. Python is also known for its strong community support and a large number of resources available for learning and problem-solving.
4. How can I write a simple "Hello, World!" program in Python?
Ans. Writing a "Hello, World!" program in Python is quite simple. You can use the following code: ``` print("Hello, World!") ``` Save this code in a file with a .py extension (e.g., hello.py) and run it using a Python interpreter. It will display "Hello, World!" as output.
5. Can Python be used for web development?
Ans. Yes, Python can be used for web development. There are several popular web frameworks in Python, such as Django and Flask, that provide a structured and efficient way to build web applications. These frameworks offer features like URL routing, database integration, and template rendering, making it easier to develop robust web applications using Python.
1 videos|25 docs|18 tests
Download as PDF
Explore Courses for Grade 12 exam

Top Courses for Grade 12

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Important questions

,

Extra Questions

,

Detailed Notes: Python Revision | Computer Science for Grade 12

,

Free

,

video lectures

,

practice quizzes

,

MCQs

,

mock tests for examination

,

Viva Questions

,

Objective type Questions

,

pdf

,

Previous Year Questions with Solutions

,

Semester Notes

,

shortcuts and tricks

,

Exam

,

Summary

,

study material

,

Detailed Notes: Python Revision | Computer Science for Grade 12

,

Detailed Notes: Python Revision | Computer Science for Grade 12

,

Sample Paper

,

ppt

,

past year papers

;