ACADEMIC YEAR 2025-2026
Notes (Chapter-2)
Getting started with Python
Grade : 11 Subject : Informatics Practices
KWL Chart:
K (Know) W (Want to Know) L (Learned)
1. Python programs are
1. Python is a 1. How do we write
written using syntax like
programming and run a Python
print(), variables, and basic
language. program?
operations.
2. What are
2. Variables store data and
2. Coding helps variables and how
help perform operations in
automate tasks. do they work in
programs.
Python?
3. Python can automate
3. Computers follow 3. How can Python
simple tasks like calculations,
step-by-step be used to solve
data input, and formatting
instructions. real-life problems?
output.
Learning Objectives
1. Understand the basic syntax, structure, and components of a
Python program.
2. Write and execute simple Python programs using variables, data
types, and input/output functions.
Extended Learning:
• About Python
✓ Python is a Programming language.
✓ It is developed by “Guido Van Rossum in February 1991.
✓ It easy-to-learn and powerful programming language.
• Advantage of Python
✓ Easy to use OO language
✓ Expression Language
(1)
✓ Interpreted Language
✓ Its Completeness cross Platform Language
✓ Free and open Source
✓ Variety of Usage/Application
Disadvantages of Python
Although python is very powerful yet simple language with so many
advantages, it is not the perfect Programming language. There are some
area where Python does not offer much or is not that capable
• Not the Fastest Language
• Lesser Libraries than C, Java, Perl
• Not Strong on Type-binding
• Not Easily Convertible
After installation of python we can work in Python in two ways :
• Interactive Mode(Python IDLE)
• In Script mode
Interactive Mode(Python IDLE)
Interactive mode of working means we type the command –one
command at a time and the Python executes the given command there
and than and gives the output .
Eg: if we type >>>> 2+5 than python return 7
Working in Script Mode(Python IDLE)
We can not save all the command in the form of program file and want to
see all output lines together rather than sandwiched between successive
commands than Script mode is used .
Steps of script mode
➢ Click Start button All Programs Python 3.6x IDLE
➢ Click File New in IDLE Python Shell.
➢ In the New window that opens, we have to type the commands we
want to save in the form of a program(or script)
➢ Save file with .py extension with file Save
command(Script mode)
➢ Press F5 key to run the program
(2)
Note: Anaconda and Jupyter are the other software used for executing
Python program.
Use of PRINT function
➢ To print or display output, python 3.x provides print() function.
➢ Some valid print() statements
o print(‘ The Golden Ratio’)
o print(“has same letters as”)
o print(‘the God Relation’)
Real Life Application: (Write any 1)
• • Automating Daily Tasks:
Python scripts can automate repetitive tasks like renaming files,
sending emails, or organizing folders.
• Data Analysis and Visualization:
Beginners can use Python to read and analyze data from
spreadsheets using libraries like pandas.
• Web Scraping and Research:
Students can collect data from websites (e.g., prices, news) for
projects using basic Python tools.
NIM
Domain 3 – Citizenship
Sub-Domain: Volunteering
Connection:
Students can use their basic Python programming skills to volunteer their
time and talent for small tech projects in school or community — such as
automating tasks, designing simple tools, or helping peers learn coding.
This fosters a spirit of giving through digital contribution.
Student’s/Parent’s Reflection:
Teacher’s Remark:
(3)