Grade 11 Informatics Practices- Introduction to Python
Name: Class/Div: Date:
Answer all questions:
1. Who developed python programming language? 1
a) Wick van Rossum b) Rasmus Lerdorf
c) Guido van Rossum d) Niene Stom
2. Identify the valid identifiers from following- 1
f@name , as , _tax , roll_no , 12class , totalmarks , addr1
3. Which of the following is the correct extension of the Python file? 1
a) .python b) .pys c) .py d) .p
4. Which of the following character is used to give single-line comments in Python?
a) @ b) # c) ! d) /* 1
5. What are keywords in python? Give example. 2
6. What is an identifier in Python? List the Rules for naming identifiers in Python? 2
7. Write a python program to calculate the total and average of 3 marks scored by a
student.(Note let the marks are m1,m2 & m3) 2