Q1.
Student Information Program Write a Python program that: • Takes
student name, age, and marks as input • Displays the output in a
formatted sentence.
Q2. Data Type Identification Write a Python program to: • Create variables
of type integer, float, string, list, and tuple • Print their values and
corresponding data types.
Q3. Simple Calculator using Function Write a Python function that takes
two numbers as input and returns: • Addition • Subtraction •
Multiplication • Division
Q4. Even or Odd using Function Write a function named check_even_odd()
that: • Accepts a number from the user • Checks whether the number is
even or odd • Displays the result
Q5. Write a Python program using a for and while loop to print the
multiplication table of a number entered by the user.
Q6. Write a Python program using a loop to calculate the sum of the first n
natural numbers.
Q7. Pattern Printing Write a Python program to print the following pattern
using loops:
*
**
***
****
Q8. Write a Python program using the NumPy library to: • Create an array
of 5 numbers • Find Sum, Mean, and Maximum value
Q9. Using the Pandas library: • Create a DataFrame containing names and
marks of 5 students • Display first 3 rows, column names, and average
marks
Q10. Simple Bar Chart and line graph: • Create a bar chart showing marks
of 5 students • Add title, X-axis label, and Y-axis label