Worsheet On Ch-3 Python Fundamentals

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CLASS XI – Informatics Practices

WORKSHEET ON: Chapter-3 Python Fundamentals

General Instructions: Write it in your notebook.

I. Answer the following questions


i. What is the difference between a keyword and an identifier?
ii. What are literals in python? How many types of literals are allowed in Python?
iii. How do you create a multi-line string in python?
iv. What is the difference between an Expression and a statement in python?
II. Application based questions:

1. Find out the error(s) in following code fragments:

2. Find the errors in following code fragment

a) y=x+5 c) print( x = y= 5)
print(x , y)

b) a = input(“value”)
b=a/2
print( a , b )

e-Learning / CMA, Ankleshwar


e-Learning / CMA, Ankleshwar

You might also like