0% found this document useful (0 votes)
13 views1 page

Python Worksheet for Class IX Students

This document is a worksheet for Class IX students at Delhi Public School Bathinda, focusing on Python programming. It includes fill-in-the-blank questions, multiple-choice questions, and coding exercises related to Python concepts and syntax. The worksheet aims to assess students' understanding of Python as a programming language and its features.

Uploaded by

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

Python Worksheet for Class IX Students

This document is a worksheet for Class IX students at Delhi Public School Bathinda, focusing on Python programming. It includes fill-in-the-blank questions, multiple-choice questions, and coding exercises related to Python concepts and syntax. The worksheet aims to assess students' understanding of Python as a programming language and its features.

Uploaded by

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

DELHI PUBLIC SCHOOL BATHINDA

WORKSHEET-1 (SESSION 2019-2020)


Topic: PYTHON
CLASS: IX
SUBJECT: COMPUTER APPLICATIONS
A. FILL IN THE BLANKS:
1. Python is an ____________________ language.
2. In Python, one can work in two different modes: ______________________ and
_________________________________.
3. Interactive mode is suitable for __________________ code.
4. Script mode is useful for __________________ programs and run the programs
_____________ and get complete output.
5. Output is generated through ______________ statement.
B. MCQs:
1. All the Python keywords contain ___________________ letters.
a. lowercase c. first alphabet upper
b. uppercase remain lower
d. None of the above
2. What is the output of this expression 4**2?
a. 8 c. 16
b. 4 d. 32
3. Which type of language is Python?
a. Interpreted c. Bothe a & b
b. Complied d. None of these
4. What are the features of Python language?
a. Easy to learn c. Easy to read
b. Easy to use d. All of these
5. Which of the following is not a legal type in Python?
a. Integer c. List
b. String d. Generic
C. ANSWER THE FOLLOWING:
1. Write the output for the following Python code:
>>> a,b = 15.3, 3
>>> Subject = "Computer Science"
>>> Marks = 89.72
>>> Total = 100
>>> Name = "Ayushmaan"
>>> print Name
>>> print Total
>>> print Subject
>>> print Marks
>>> c = a/b
>>> print c
2. A student has to travel a distance of 450 km by car at a certain average speed. Write
Python script to find the total time taken to cover the distance.
3. Find output generated by the following codes:
a. x=2 b. p=10 c. a=5
y=3 q=20 b=10
x+=y p*=q//3 a+=a+b
print (x, y) q+=p+q**2 b*= a+b
print (p, q) print (a,b)

You might also like