CBSE Class 10 Computer Applications Cyber Ethics, Computer Viruses and HTML Assignment Set 04

School Assignments for Class 10 Computer Science: All Chapters

Review targeted academic assignments with the CBSE Class 10 Computer Applications Cyber Ethics, Computer Viruses and HTML Assignment Set 04. Built according to official CBSE standards for the 2026-27 term, these downloadable Class 10 Computer Science worksheets support effective daily practice for All Chapters.

Practice Class 10 Computer Science Assignments: All Chapters

Navigate directly to the solved Computer Science assignments using the digital viewer below. Each practice set includes detailed step-by-step solutions, allowing students to instantly cross-check their work and identify areas requiring further revision.

Questions

Q1. What is the main difference between a computer worm and a Trojan horse? [2 marks]

View Answer & Explanation

Answer: A worm is a self-replicating program that spreads on its own across a network without needing a host file or user action. A Trojan horse pretends to be a useful program, does not replicate itself, and works only when the user runs it, after which it harms the system or opens a back door.

Teacher's Note:
1. Think of a worm as spreading by itself and a Trojan as relying on being tricked into installation.
2. Always mention replication when comparing the two.

Q2. How is an online backup system different from an offline backup system? [2 marks]

View Answer & Explanation

Answer: In an online backup, data is copied over the internet to a remote server (cloud) and can be restored from anywhere. In an offline backup, data is copied to a local device such as an external hard disk, DVD or pen drive, which does not need the internet but can be lost or damaged along with the computer.

Teacher's Note:
1. The key contrast is remote storage versus local storage.
2. Give one example of each to score full marks.

Q3. What is a boot sector virus? [2 marks]

View Answer & Explanation

Answer: A boot sector virus infects the boot record of a hard disk or floppy/pen drive. It loads into memory every time the computer starts, before the operating system, and can then spread to other disks used in the system.

Teacher's Note:
1. The word boot tells you that the virus is activated at start-up.
2. Mention that it hides in the boot record, not in an ordinary file.

Q4. Explain the impacts of ICT (Information and Communication Technology) on society. [3 marks]

View Answer & Explanation

Answer: 1. Education: e-learning, online classes and digital libraries make learning available to all.
2. Communication: email, video calls and social media connect people instantly across the world.
3. Business and governance: online banking, e-commerce and e-governance save time and make services transparent.
4. Negative effects: cyber crime, loss of privacy, screen addiction and job losses due to automation.

Teacher's Note:
1. Always give both positive and negative impacts.
2. Short examples from daily life make the answer convincing.

Q5. Write the steps to prevent a virus from entering a computer. [3 marks]

View Answer & Explanation

Answer: 1. Install a good antivirus program and keep it updated.
2. Scan all pen drives and downloads before opening them.
3. Do not open email attachments or click links from unknown senders.
4. Keep the operating system and software patched, and keep a firewall on.
5. Take regular backups of important data.

Teacher's Note:
1. Prevention is about habits as well as software.
2. Mention updating the antivirus, since old definitions miss new viruses.

Q6. What is the role of a hacker? What do you understand by ethical hacking? [3 marks]

View Answer & Explanation

Answer: A hacker is a person who gains access to a computer system or network, often by exploiting weaknesses. Some hackers (black hat) do this illegally to steal or damage data. Ethical hacking is authorised testing of a system by a security expert (white hat) to find and fix weaknesses before criminals can use them.

Teacher's Note:
1. The difference lies in permission and intention.
2. Use the terms black hat and white hat to show good understanding.

Q7. What points should be kept in mind while using the name attribute (for example in a hyperlink anchor or an image)? [2 marks]

View Answer & Explanation

Answer: 1. The name must be unique within the page.
2. It should be short, meaningful and should not contain spaces.
3. It is case sensitive, so the same case must be used when linking to it, as in <A HREF="#top">.

Teacher's Note:
1. The name of an anchor is the target that a link refers to.
2. Remember that a mismatch in capital letters breaks the link.

Q8. Write the difference between cellspacing and cellpadding in an HTML table. [2 marks]

View Answer & Explanation

Answer: Cellspacing is the space between two adjacent cells of a table. Cellpadding is the space between the content of a cell and the border of that cell. Example: <TABLE BORDER="1" CELLSPACING="5" CELLPADDING="10">.

Teacher's Note:
1. Spacing is outside the cell; padding is inside the cell.
2. Both values are given in pixels.

Q9. What do you understand by COLSPAN and ROWSPAN? [2 marks]

View Answer & Explanation

Answer: COLSPAN makes a cell stretch across the given number of columns, and ROWSPAN makes a cell stretch down across the given number of rows. Example: <TD COLSPAN="2"> merges two columns, <TD ROWSPAN="3"> merges three rows.

Teacher's Note:
1. These attributes merge cells, like Merge Cells in a word processor.
2. Both are used in the <TD> or <TH> tag.

Q10. Write the HTML code to set the background colour of cells in a table. [2 marks]

View Answer & Explanation

Answer: Use the BGCOLOR attribute in the <TD> tag (or <TR> for a whole row):
<TABLE BORDER="1">
<TR><TD BGCOLOR="yellow">Maths</TD><TD BGCOLOR="#99ccff">Science</TD></TR>
</TABLE>

Teacher's Note:
1. BGCOLOR accepts a colour name or a hexadecimal code.
2. Put it in <TR> to colour a full row at once.

Q11. What is meant by nesting of lists? Explain with an example. [3 marks]

View Answer & Explanation

Answer: Nesting means placing one list inside an item of another list. Example:
<OL>
<LI>Fruits
<UL><LI>Apple</LI><LI>Mango</LI></UL>
</LI>
<LI>Vegetables</LI>
</OL>
Here an unordered list is nested inside the first item of an ordered list.

Teacher's Note:
1. The inner list must be placed before the closing </LI> of its parent item.
2. Close the inner list before the outer one.

Q12. How can you start an ordered list with a specific number? [2 marks]

View Answer & Explanation

Answer: Use the START attribute of the <OL> tag. For example, <OL START="5"> makes the first item numbered 5, and the next items 6, 7 and so on.

Teacher's Note:
1. START changes only the first number of the list.
2. The TYPE attribute changes the style of numbering.

Q13. What do you understand by alternate text of an image? [2 marks]

View Answer & Explanation

Answer: Alternate text is the text given in the ALT attribute of the <IMG> tag, as in <IMG SRC="logo.jpg" ALT="School logo">. It is displayed when the image cannot load, and it is read out by screen readers for visually impaired users.

Teacher's Note:
1. ALT stands for alternate and is useful for accessibility.
2. It should describe the image in a few words.

Q14. Write short notes on any two web browsers. [3 marks]

View Answer & Explanation

Answer: 1. Google Chrome: a fast, free browser from Google with tabbed browsing, sync across devices and a large library of extensions.
2. Mozilla Firefox: a free, open-source browser that focuses on privacy and customisation through add-ons.
(Microsoft Edge, Safari and Opera are other examples.)

Teacher's Note:
1. A browser is software used to view web pages.
2. Mention one distinct feature of each browser.

Q15. Write the syntax to change the background colour of a web page. [2 marks]

View Answer & Explanation

Answer: Use the BGCOLOR attribute in the <BODY> tag: <BODY BGCOLOR="lightblue"> (or a hex value such as "#ffffcc"). All the content of the page is then shown on that colour.

Teacher's Note:
1. The attribute belongs to the opening BODY tag.
2. A colour can be a name or a six-digit hex code.

Q16. What is the difference between the <B> and <BR> tags? [2 marks]

View Answer & Explanation

Answer: The <B> tag is a container tag that displays the enclosed text in bold and needs </B> to close it. The <BR> tag is an empty tag that simply breaks the line and has no closing tag.

Teacher's Note:
1. B formats text, BR moves the text to a new line.
2. Only B has a closing tag.

Q17. Differentiate between hypertext and hyperlink. [2 marks]

View Answer & Explanation

Answer: Hypertext is text that contains links to other text, so a reader can jump from one document to another. A hyperlink is the actual clickable element (text or image) that connects to another page or to a different place on the same page.

Teacher's Note:
1. Hypertext is the idea; the hyperlink is the clickable item.
2. A link can be made from an image as well as text.

Q18. Explain the terms LINK, ALINK and VLINK used in the BODY tag. [2 marks]

View Answer & Explanation

Answer: LINK sets the colour of unvisited links, VLINK sets the colour of links already visited, and ALINK sets the colour of a link at the moment it is clicked (active). Example: <BODY LINK="blue" VLINK="purple" ALINK="red">.

Teacher's Note:
1. V stands for visited and A for active.
2. These attributes are written in the BODY tag.

Q19. What are comments in HTML and how are they written? [2 marks]

View Answer & Explanation

Answer: Comments are notes for the programmer that the browser does not display. They are written between <!-- and -->, for example <!-- This is the heading section -->.

Teacher's Note:
1. Comments make code easier to understand and maintain.
2. They are visible only in the source code.

Q20. Write any four characteristics of HTML. [2 marks]

View Answer & Explanation

Answer: 1. It is a markup language, not a programming language.
2. It uses tags enclosed in angle brackets.
3. It is platform independent and runs in any browser.
4. It is not case sensitive and supports links, images, tables and forms.

Teacher's Note:
1. Focus on what HTML does: it describes the structure of a page.
2. Write four distinct points.

Q21. Differentiate between the <UL> and <OL> tags. [2 marks]

View Answer & Explanation

Answer: <UL> creates an unordered list whose items carry bullets (disc, circle or square). <OL> creates an ordered list whose items are numbered or lettered (1, A, a, I, i). Both use <LI> for each item.

Teacher's Note:
1. U stands for unordered, O for ordered.
2. The TYPE attribute changes the marker in both.

Q22. How can you add space above and below an image? [2 marks]

View Answer & Explanation

Answer: Use the VSPACE attribute of the <IMG> tag, for example <IMG SRC="pic.jpg" VSPACE="20">. This leaves 20 pixels above and below the image, while HSPACE does the same on the left and right.

Teacher's Note:
1. V stands for vertical and H for horizontal.
2. Values are in pixels.

Q23. Explain any two major services offered by the internet. [3 marks]

View Answer & Explanation

Answer: 1. World Wide Web (WWW): a collection of linked web pages that can be viewed using a browser.
2. Email: sending and receiving electronic messages and attachments quickly.
(Others: chat, video conferencing, e-commerce, file transfer.)

Teacher's Note:
1. The internet is the network, and services run over it.
2. Give a one-line use for each service.

Q24. Explain the two addressing mechanisms used for websites on the internet, with examples. [3 marks]

View Answer & Explanation

Answer: 1. IP address: a unique numeric address of a computer on the network, for example 192.168.1.1.
2. Domain name (URL): a human-friendly name that is mapped to the IP address by the Domain Name System (DNS), for example www.example.com.

Teacher's Note:
1. Computers use numbers but people prefer names, and DNS translates between them.
2. Give an example for each address type.

Q25. Explain the role of ARPANET in the development of the internet. [3 marks]

View Answer & Explanation

Answer: ARPANET was a network started in 1969 by the US Department of Defense's Advanced Research Projects Agency to connect research computers. It introduced packet switching and, later, the TCP/IP protocols, and it grew into the worldwide internet we use today.

Teacher's Note:
1. ARPANET is regarded as the ancestor of the internet.
2. Mention the year 1969 and packet switching.

Chapter Assignment & Practice Material for Class 10 Computer Science All Chapters

Download Assignment: All Chapters (Class 10 Computer Science)

Explore reliable practice questions for All Chapters tailored for Class 10 learners. Use these structured worksheets to evaluate preparedness and strengthen core problem-solving skills.

Key Advantages of Solving All Chapters Assignments

  • Exam Alignment: Questions strictly follow contemporary CBSE sample papers and grading schemes.
  • Comprehensive Coverage: Features objective drills, case studies, and structured descriptive problems for All Chapters.
  • Pacing & Precision: Regular problem-solving builds critical calculation speed and test-taking accuracy.

Steps to Complete All Chapters Assignments Successfully

  1. Concept Foundation: Review the NCERT book for Class 10 Computer Science thoroughly before diving into assignment tasks.
  2. Self-Evaluation: Solve exercises independently before inspecting professional answer guides.
  3. Progress Monitoring: Note down complex formulas or concepts, clearing them up using available online practice aids.

FAQs

Where can I download the latest CBSE Class 10 Computer Science All Chapters assignments?

You can download free PDF assignments for Class 10 Computer Science All Chapters from StudiesToday.com. These practice sheets have been updated for the 2026-27 session covering all concepts from latest NCERT textbook.

Do these Computer Science All Chapters assignments include solved questions?

Yes, our teachers have given solutions for all questions in the Class 10 Computer Science All Chapters assignments. This will help you to understand step-by-step methodology to get full marks in school tests and exams.

Are the assignments for Class 10 Computer Science All Chapters based on the 2026 exam pattern?

Yes. These assignments are designed as per the latest CBSE syllabus for 2026. We have included huge variety of question formats such as MCQs, Case-study based questions and important diagram-based problems found in All Chapters.

How can practicing All Chapters assignments help in Computer Science preparation?

Practicing topicw wise assignments will help Class 10 students understand every sub-topic of All Chapters. Daily practice will improve speed, accuracy and answering competency-based questions.

Can I download Computer Science All Chapters assignments for free on mobile?

Yes, all printable assignments for Class 10 Computer Science All Chapters are available for free download in mobile-friendly PDF format.