Haryana Board (HBSE) Class 10 Computer Science Question Paper 2026 Answer Key
SECTION – A (4 Marks)
1. What is Database? Give its advantages.
Answer – A database is an organized collection of related data stored electronically so that it can be easily accessed, managed and updated.
Advantages :
(i) It stores data in an organized manner.
(ii) It reduces data duplication.
(iii) It makes searching and retrieving data easy.
(iv) It provides better data security.
OR
Write steps to create table using design view.
Answer – Steps to create table using Design View :
Step I : Open MS Access and create or open a database.
Step II : Click on Create tab.
Step III : Select Table Design.
Step IV : Enter field names in the Field Name column.
Step V : Select the data type for each field.
Step VI : Set the primary key.
Step VII : Save the table by giving it a name.
2. Explain the structure of HTML page.
Answer – The basic structure of an HTML page consists of the following tags :
(i) <!DOCTYPE html> – Defines the HTML document type.
(ii) <html> – Defines the root of an HTML page.
(iii) <head> – Contains the title and other information.
(iv) <title> – Defines the title of the webpage.
(v) <body> – Contains the visible content of the webpage.
Example :
<!DOCTYPE html>
<html>
<head>
<title>My Webpage</title>
</head>
<body>
<h1>Welcome</h1>
<p>This is my webpage.</p>
</body>
</html>
OR
Explain with example attributes of Table tag in HTML.
Answer – Attributes of the Table tag are used to control the appearance of a table.
(i) Border – Specifies the border thickness.
(ii) Cellpadding – Specifies space between cell content and its border.
(iii) Cellspacing – Specifies space between table cells.
(iv) Width – Specifies the width of the table.
(v) Align – Specifies the alignment of the table.
Example :
<table border=”1″ cellpadding=”5″ cellspacing=”2″ width=”50%”>
<tr>
<th>Name</th>
<th>Class</th>
</tr>
<tr>
<td>Ram</td>
<td>10th</td>
</tr>
</table>
3. Write note on Trojan horse and worms.
Answer – A Trojan horse is a type of malicious software that appears to be a useful or genuine program. It can damage data, steal personal information and allow unauthorized access to a computer.
• A worm is also a type of malicious software that can copy itself automatically and spread from one computer to another through networks. It can consume system resources and slow down computers.
OR
Explain malware and adware.
Answer – Malware means malicious software that is designed to damage or harm a computer system. It can steal, delete or corrupt data. Examples of malware include viruses, worms and Trojan horses.
• Adware is advertising-supported software that displays unwanted advertisements on a computer. It may collect information about users and can affect computer performance.
SECTION – B (2 Marks)
4. Write tips for strong password.
Answer – Tips for strong password are :
(i) Use a combination of uppercase and lowercase letters, numbers and special characters.
(ii) Use a long and unique password.
(iii) Avoid using personal information.
(iv) Do not share your password with others.
5. What is Computer Network? What is its need?
Answer – A computer network is a group of two or more computers connected to share data and resources. It is needed to share files and information, share hardware such as printers, communicate with each other and share internet connections.
OR
Write note on guided media.
Answer – Guided media is a type of transmission medium in which data travels through a physical path or cable.
Types :
(i) Twisted Pair Cable
(ii) Coaxial Cable
(iii) Optical Fibre Cable
6. Write note on cloud computing.
Answer – Cloud computing is the delivery of computing services such as storage, software and servers over the internet. It provides online data storage, allows users to access data from anywhere and reduces the need for physical storage devices.
7. Define web server and URL.
Answer – A web server is a computer or software that stores and delivers web pages to users through the internet.
• URL stands for Uniform Resource Locator. It is the address of a webpage or resource on the internet.
8. Explain FTP.
Answer – FTP stands for File Transfer Protocol. It is used to transfer files between computers over a network. It allows users to upload files to a server and download files from a server.
OR
Give structure of E-mail.
Answer – The main parts of an E-mail are:
(i) To – Receiver’s email address
(ii) Cc – Carbon copy
(iii) Bcc – Blind carbon copy
(iv) Subject – Topic of the email
(v) Body – Main message
(vi) Attachment – Files attached to the email
9. What are container and empty tags?
Answer – Tags that have both opening and closing tags are called container tags.
Example: <html>, <body>, <p>.
• Tags that do not require a closing tag are called empty tags.
Example: <br>, <hr>, <img>
OR
What is ransomware?
Answer – Ransomware is a type of malicious software that locks or encrypts a user’s data and demands money (ransom) to restore access to it.
10. Explain <OL> tag with its attributes.
Answer – The <OL> tag in HTML is used to create an ordered list in which items are displayed in a sequence.
Attributes :
(i) Type – Specifies the numbering style (1, A, a, I, i).
(ii) Start – Specifies the starting number of the list.
(iii) Reversed – Displays the list in reverse order.
Example :
<ol type=”A”>
<li>Apple</li>
<li>Mango</li>
<li>Banana</li>
</ol>
SECTION – C (1 Mark)
11. What is use of anchor tag?
Answer – The anchor <a> tag is used to create hyperlinks to other webpages, files or locations.
12. What is primary ‘key’?
Answer – A primary key is a field or combination of fields that uniquely identifies each record in a database table.
13. What is SMTP?
Answer – SMTP stands for Simple Mail Transfer Protocol. It is used to send emails over the internet.
OR
What is POP 3?
Answer – POP3 stands for Post Office Protocol Version 3. It is used to receive and download emails from a mail server.
14. What is Web Browser?
Answer – A web browser is software used to access and view websites on the internet.
Examples: Google Chrome, Mozilla Firefox and Microsoft Edge.
OR
What is a Blog?
Answer – A blog is a website or online platform where a person or group regularly publishes articles, information or opinions.
SECTION – D (1 Mark)
15. Objective Type Questions :
(i) Full form of HTML is ……………..
Answer – HyperText Markup Language
(ii) Full form of TCP is ……………..
Answer – Transmission Control Protocol
(iii) bgcolor is an attribute of <TH> tag. (True / False)
Answer – True
(iv) href is an attribute of anchor tag. (True / False)
Answer – True
(v) …………….. type of network is used in buildings.
(A) WAN
(B) MAN
(C) LAN
(D) None
Answer – (C) LAN
(vi) …………….. protocol is used in online banking.
(A) HTTPS
(B) HTTP
(C) SMTP
(D) POP3
Answer – (A) HTTPS
(vii) Bluetooth is an example of …………….. type of network.
(A) PAN
(B) LAN
(C) MAN
(D) WAN
Answer – (A) PAN
(viii) There are …………….. heading levels in HTML.
(A) 2
(B) 3
(C) 4
(D) 6
Answer – (D) 6
(ix) …………….. is an attribute of font tag.
(A) sub
(B) colour
(C) sup
(D) title
Answer – (B) colour
(x) …………….. tag is used to make text italic.
Answer – <i> tag