CLASS: VIII TERMINAL EXAMINATION – II MARKS: 50
DATE: COMPUTER SCIENCE TIME : 2 Hrs
General Instructions
This Question Paper has 5 Sections A–E.
All questions are compulsory. Internal choices are provided in some questions.
Section A has 12 questions × 1 mark = 12 marks.
Section B has 7 questions × 2 marks = 14 marks.
Section C has 4 questions × 3 marks = 12 marks.
Section D has 1 question × 4 marks = 4 marks.
Section E has 2 case-based questions × 4 marks = 8 marks.
Section A – MCQs (1 × 12 = 12 marks)
1. Which of the following is an example of cyber ethics?
a) Sharing passwords b) Respecting privacy c) Hacking accounts d) Spreading rumors
2. The loop that executes at least once is:
a) for loop b) while loop c) do-while (conceptual) d) None
3. Which tag is used to create a hyperlink in HTML?
a) <link> b) <a> c) <href> d) <hyper>
4. Robots are mainly used to:
a) Sleep b) Perform tasks automatically c) Cook food only d) Watch movies
5. Which symbol is used for comments in Python?
a) // b) <!-- --> c) # d) **
6. A frame in HTML is used to:
a) Insert image b) Divide webpage c) Add color d) Add sound
7. Cyberbullying means:
a) Helping others online b) Bullying through digital devices c) Playing games d) Sending emails
8. Which loop repeats a fixed number of times?
a) while b) for c) if d) break
9. The attribute used to open a link in a new tab is:
a) open b) target c) new d) tab
10. Sensors in robots help to:
a) Decorate robot b) Detect surroundings c) Print documents d) Store files
Assertion–Reason Questions:
Choose the correct option:
a) Both A and R are true and R is the correct explanation of A
b) Both A and R are true but R is NOT the correct explanation of A
c) A is true but R is false
d) A is false but R is true
11. Assertion (A): An infinite loop keeps running forever.
Reason (R): It does not contain a proper stopping condition.
12. Assertion (A): We should not download files from unknown links.
Reason (R): Such links may contain harmful viruses or malware.
Section B – Short Answer (2 × 7 = 14 marks)
13. Write any two methods to protect intellectual property rights.
14. Write any two differences between for loop and while loop.
15. How Hyperlinks are useful in HTML.
16. Define robotics.
17. What is an infinite loop? How can it be stopped?
18.a. Write HTML code to create a link to “[Link]”.
OR
b. How do you add an audio player in HTML using the <audio> tag to play a file named national_song.mp3 with
controls?
19. What is plagiarism? Write the ways to prevent plagiarism.
Section C – Short Answer II (3 × 4 = 12 marks)
20. Write a Python program to print numbers from 1 to 5 using a for loop.
21. What are some safety measures you should follow to stay safe from cyber threats while using the internet?.
22. Explain frames in HTML with example.
OR
Write HTML code to divide a browser window into two frames.
23. Write about any two famous robots developed in India.
Section D – Long Answer (4 × 1 = 4 marks)
24. Write a Python program using a while loop to print even numbers from 2 to 10. Explain each step.
Section E – Case-Based Questions (4 × 2 = 8 marks)
25. Case Study – Cyber Ethics
Riya receives a message from an unknown person asking for her password to fix her account. She shares it and
later finds her account misused.
a) What mistake did Riya make?
b) Which cyber ethic rule did she break?
c) What should she have done instead?
d) Write one safety tip.
26. Case Study – Robotics
A school installs a robot that cleans classrooms automatically. It uses sensors to detect obstacles and stops when
someone walks near it.
a) What type of task is the robot performing?
b) Why are sensors important here?
c) Name one advantage of using robots.
d) Name one field where robots are used.