Basics of Python Programming
CHAPTER 01
1. What is Python? Mention any three features of Python.
2. What is indentation in Python? Why is it important?
3. List differences between Python and C++.
4. Define variable and data type in Python,list down variable naming rules
5. Differentiate between static and dynamic typing.
6. State any three applications of Python in detail.
7. Why is Python called a high-level and dynamic language?
8. Write a Python Program that accepts name, age, and city from the user and prints them.
CHAPTER 02
1. Define Tuple and List with an example.
2. Define and differentiate between mutable and immutable types.
3. Differentiate between Set and Dictionary with examples.
4. Explain Tuple operations with examples.
5. Create a program to demonstrate set creation and basic set operations.
6. Define Boolean data type in Python with Example.
7. Write a program using a dictionary to count word occurrences.
CHAPTER 03
1. Write syntax of for loop and while loop with Example.
2. Compare for and while loop with examples.
3. Write a Python program to print even numbers from 1 to 50 using for.
4. Create a program that demonstrates break inside a loop.
CHAPTER 04
1. Define a function in Python with an Example.
2. Differentiate between local and global variables in Python.
3. Create a program demonstrating all types of arguments in functions.
4. Create a function that counts vowels in a string and explain logic.
5. Describe use of Math module and random module in Python.