CLASS VIII – COMPUTER
Question Paper (50 Marks)
Chapters Covered:
• Control Structures in Python
• Functions, String and List in Python
• Artificial Intelligence and its Domains
• Fields of Artificial Intelligence
• Introduction to SDGs and Data Science
Time: 1½ Hours
Maximum Marks: 50
SECTION A – Fill in the Blanks (5 × 1 = 5)
1. The __________ statement is used when a condition is false in Python.
2. A function is defined in Python using the keyword __________.
3. Artificial Intelligence enables machines to think like __________.
4. SDGs were adopted in the year __________.
5. A Python list is enclosed within __________ brackets.
SECTION B – True or False (5 × 1 = 5)
6. Python does not allow nested if statements.
7. Strings in Python are immutable.
8. Machine Learning is a domain of Artificial Intelligence.
9. Data Science helps in analysing large amounts of data.
10. Robotics is unrelated to Artificial Intelligence.
SECTION C – Multiple Choice Questions (5 × 1 = 5)
11. Which loop is used when the number of iterations is known?
a) while b) for c) if d) break
12. Which data type stores multiple values in a single variable?
a) int b) string c) list d) float
13. Which AI domain deals with human language?
a) Robotics b) NLP c) Computer Vision d) Data Science
14. How many Sustainable Development Goals are there?
a) 12 b) 15 c) 17 d) 20
15. Which field of AI helps computers identify images?
a) NLP b) Expert Systems c) Computer Vision d) Robotics
SECTION D – One Word Answers (5 × 1 = 5)
16. Name the statement used to check multiple conditions in Python.
17. What is the output of a function called?
18. Name the AI field used in chatbots.
19. Write the SDG number for Quality Education.
20. What do we call the process of extracting information from data?
SECTION E – Short Answer Questions (5 × 4 = 20)
21. Explain if–elif–else control structure with an example.
22. What are functions? Write any two advantages.
23. Define Artificial Intelligence and explain two AI domains.
24. What are Sustainable Development Goals? Why are they important?
25. Explain strings and lists in Python with examples.
SECTION F – Case-Based Questions (2 × 5 = 10)
26. A school wants to automate attendance using Python.
a) Which control structure will be used?
b) Which data type will store student names?
c) Why are functions useful?
27. An AI system analyses pollution data to suggest solutions.
a) Name the related SDG.
b) Which AI field helps analyse data?
c) How does AI help the environment?