PARK PUBLIC [Link].
SCHOOL, NAMAKKAL
Class: XI Subject: Computer Science Unit: Getting started in Python
Total Marks: 25 Time: 40
minutes
Section A [1 × 5 = 5 marks]
1. Python is a high-level and object-oriented language.
2. Name any two working modes of Python.
3. Which function is used to display output on the screen?
4. What is the file extension for Python scripts?
5. What will be the output of: print(10 // 3)?
Section B – [2 × 4 = 8 marks]
6. What does it mean when we say Python is an interpreted language?
7. List any two advantages of Python.
8. Give two limitations of Python.
9. What is the difference between interactive mode and script mode in Python?
Section C – [3 × 2 = 6 marks]
10. You need to write a Python command in interactive mode to display the sum of 4 and 9. Show
the input and output.
11. Write a script (saved as .py) that prints your full name and age, each on a separate line.
Section D – [1 × 6 = 6 marks]
12. (a) Explain how Python works in three steps (from writing code to execution).
(b) Write a Python script to input marks of 3 subjects, calculate the average, and display it.
PARK PUBLIC [Link], NAMAKKAL
Class: XI Subject: Computer Science Unit: Getting started in Python
Total Marks: 25 Time: 40
minutes
Section A [1 × 5 = 5 marks]
6. Python is a high-level and object-oriented language.
7. Name any two working modes of Python.
8. Which function is used to display output on the screen?
9. What is the file extension for Python scripts?
10. What will be the output of: print(10 // 3)?
Section B – [2 × 4 = 8 marks]
10. What does it mean when we say Python is an interpreted language?
11. List any two advantages of Python.
12. Give two limitations of Python.
13. What is the difference between interactive mode and script mode in Python?
Section C – [3 × 2 = 6 marks]
13. You need to write a Python command in interactive mode to display the sum of 4 and 9. Show
the input and output.
14. Write a script (saved as .py) that prints your full name and age, each on a separate line.
Section D – [1 × 6 = 6 marks]
(a) Explain how Python works in three steps (from writing code to execution).
(b) Write a Python script to input marks of 3 subjects, calculate the average, and display