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

Python

This document is a worksheet for Class 10 AI focusing on Python programming. It includes multiple choice questions, fill in the blanks, short answer questions, output-based questions, and higher-order thinking questions. The worksheet aims to assess students' understanding of Python concepts and syntax.

Uploaded by

Manika Bhasin
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)
4 views2 pages

Python

This document is a worksheet for Class 10 AI focusing on Python programming. It includes multiple choice questions, fill in the blanks, short answer questions, output-based questions, and higher-order thinking questions. The worksheet aims to assess students' understanding of Python concepts and syntax.

Uploaded by

Manika Bhasin
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

CLASS 10 AI – PYTHON

WORKSHEET SESSION 2026-27


CLASS X
AI – PYTHON WORKSHEET

Name: ________________ Class/Sec: ______ Roll No: ____ Date: ____________

Section A – Multiple Choice Questions

1. Which of the following is a valid identifier?

A. 1name B. student_name C. my-name D. class

2. Which function converts a value into integer?

A. str() B. int() C. float() D. bool()

3. Which data type stores decimal numbers?

A. int B. float C. bool D. list

4. Which operator is used for exponentiation?

A. ^ B. ** C. // D. %

5. Which operator checks equality?

A. = B. == C. != D. >=

Section B – Fill in the Blanks

6. Python reserved words are called _________________.

7. A _________________ stores a value in memory.

8. type() is used to check the ___________________ of a value.

9. Converting one data type into another is called ____________________________.

10. % gives the ___________________ of a division.

Section C – Short Answer Questions

11. What is a variable? Give one example.

__________________________________________________________________________________________

_________________________________________________________________________________________
12. What are identifiers? Write two rules for naming them.

__________________________________________________________________________________________

_________________________________________________________________________________________

13. What is type conversion? Give one example.

__________________________________________________________________________________________

______________________________________________________________________

Section D – Output Based Questions

14. Predict the output:

x = 5 print(type("45"))
y = 2
print(x + y * 2)

___________________________________________________________________________________

15. Predict the output:

print(10 // 3) print(6 % 4)

________________________________________________________________________________

Section E – HOTS Questions & Case-Based Questions

16. Why does this code produce an error?

x = "10"
y = 5
print(x + y)

_________________________________________________________________________________________

_________________________________________________________________________________________

17. Riya writes the following program: marks = input("Enter marks:")


print(marks + 5)

Why is the program incorrect? Rewrite the correct code.

Answer:_____________________________________________________________________

___________________________________________________________________________

___________________________________________________________________________

You might also like