0% found this document useful (0 votes)
5 views2 pages

Intro to Python for CBSE Grade 11

The document outlines a demo class for Grade 11 CBSE students introducing Python programming. It covers the basics of Python, including its features, syntax, and simple programming concepts such as variables, conditional statements, loops, and functions. The document also includes mini activities, recap questions, and homework assignments to reinforce learning.

Uploaded by

roopsaini93
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Intro to Python for CBSE Grade 11

The document outlines a demo class for Grade 11 CBSE students introducing Python programming. It covers the basics of Python, including its features, syntax, and simple programming concepts such as variables, conditional statements, loops, and functions. The document also includes mini activities, recap questions, and homework assignments to reinforce learning.

Uploaded by

roopsaini93
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Demo Class – Introduction to Python (CBSE Grade

11)

Learning Objectives:
Understand what Python is and where it is used. Explain why Python is popular and
beginner-friendly. Recognize basic Python syntax and keywords. Write and run their first Python
program.

What is Python?
Python is a high-level, interpreted programming language created by Guido van Rossum in 1991. It
is widely used for web development, artificial intelligence, data analysis, automation, and much
more.

Why Learn Python?


Simple and easy to read syntax. Free and open-source. Used by companies like Google, Netflix,
NASA, and YouTube. Cross-platform – works on Windows, macOS, and Linux.

Your First Python Program:


print("Hello, World!")

Key Features of Python:


Feature Explanation
Interpreted Runs directly without compilation.
Easy Syntax Uses plain English keywords.
Object-Oriented Supports classes and objects.
Portable Same code works on all platforms.
Dynamic Typing No need to declare variable types.

Basic Python Concepts:


Variables and Data Types:
name = "Riya"
age = 17
pi = 3.14
is_student = True

Conditional Statement:
if age >= 18:
print("You are an adult.")
else:
print("You are a minor.")

Loop Example:
for i in range(5):
print("Number:", i)

Function Example:
def greet():
print("Welcome to Python!")
greet()

Mini Activity:
Write a Python program that prints your name and age.
Then, write a loop that prints numbers from 1 to 10.
Example Output:
My name is Riya.
I am 17 years old.
1
2
3 ... 10

Recap Questions:
1. Who created Python?
2. What makes Python easy to learn?
3. What is the output of: print(5 * 2)?
4. What does a loop do?

Homework / Practice:
1. Write a program to add two numbers.
2. Write a program that checks if a number is even or odd.
3. Write a function that prints “Good Morning”.

You might also like