0% found this document useful (0 votes)
5 views

Computer worksheet

The document contains a series of questions and answers related to HTML and web development, including creating forms, tables, and lists. It also covers various HTML tags, their purposes, and cybersecurity concepts. The content is structured as a revision guide for Class VI students studying computer literacy.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Computer worksheet

The document contains a series of questions and answers related to HTML and web development, including creating forms, tables, and lists. It also covers various HTML tags, their purposes, and cybersecurity concepts. The content is structured as a revision guide for Class VI students studying computer literacy.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

CLASS VI CAMBRIDGE

REVISION
COMPUTER LITERACY

Q1. Create the HTML form with the following details.

Ans <form>
<label for="salutation">Salutation:</label>
<select id="salutation">
<option value="">--None--</option>
</select><br><br>
<label for="firstName">First name:</label>
<input type="text" id="firstName"><br><br>

<label for="lastName">Last name:</label>


<input type="text" id="lastName"><br><br>

<label>Gender:</label>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br><br>

<label for="email">Email:</label>
<input type="email" id="email"><br><br>

<label for="dob">Date of Birth:</label>


<input type="text" id="dob"
placeholder="dd/mm/yyyy"><br><br>

<label for="address">Address:</label><br>
<textarea id="address" rows="4" cols="50"></textarea><br><br>

<input type="submit" value="Submit">


</form>
Q2. Write the code to create the following Table in HTML.
Ans <table border="1">
<tr>
<th>No.</th>
<th>Full Name</th>
<th>Position</th>
<th>Salary</th>
</tr>
<tr>
<td>1</td>
<td>Bill Gates</td>
<td>Founder Microsoft</td>
<td>$1000</td>
</tr>
<tr>
<td>2</td>
<td>Steve Jobs</td>
<td>Founder Apple</td>
<td>$1200</td>
</tr>
<tr>
<td>3</td>
<td>Larry Page</td>
<td>Founder Google</td>
<td>$1100</td>
</tr>
<tr>
<td>4</td>
<td>Mark Zuckerberg</td>
<td>Founder Facebook</td>
<td>$1300</td>
</tr>
</table>
Q3. Create an HTML page as shown in the image.
Ensure to include all the elements, tags and
attributes shown in the image. (you can take any
topic as per your choice, but the output must be
in this form)

Ans<!DOCTYPE html>
<html>
<head>
<title>News Page</title>
</head>
<body>
<h1>TREATING NEWS</h1>
<h2>INCOMING EVENTS</h2>
<h2>CONTACT</h2>
<p>Transport Chew: Grandmaster</p>
<p>Acquired by some first member and I’ll show Althompson Mobile has
become the smallest a program editor. Grandmaster (HMS) 14 years has dated
O4 across its proven corporate life-longer, the support of the European Union
of Hungary Airlines – working out what he created it for US!</p>

<h2>TRENDING</h2>
<ul>
<li>Bacteria to stop Dengue</li>
<li>Geological activity on Venus</li>
<li>The Fifth Ocean on Earth</li>
</ul>
</body>
</html>
Q4. Write the code to get the following output: -
INTERNET WORLD
ISP IN INDIA
1. MTNL
2. BSNL
3. EXCITEL
4. JIO
5. AIRTEL
USES OF INTERNET
 Access to information
 Communication
 Business
 Shopping
 Education
 Entertainment
Ans<h1>INTERNET WORLD</h1>
<h2>ISP IN INDIA</h2>
<ol>
<li>MTNL</li>
<li>BSNL</li>
<li>EXCITEL</li>
<li>JIO</li>
<li>AIRTEL</li>
</ol>

<h2>USES OF INTERNET</h2>
<ul>
<li>Access to information</li>
<li>Communication</li>
<li>Business</li>
<li>Shopping</li>
<li>Education</li>
<li>Entertainment</li>
</ul>

Q5. Which html tag inserts a line horizontally in a page?


Ans <hr>
Q6. Which tag creates a checkbox for a form in html?
A) <check box>
B) <input check box>
C) <input = check box>

D) <input type = “check box”>


Q7. Which html tag is used to add a row in a table?
Ans <tr>
Q8. Which html tag is used to divide a row into data cells?
A) <tr> and </tr>
B) <cr> and </cr>
C) <th> and </th>

D) <td> and </td>


Q9. which is the correct html tag for making a text input field? \
A <text type = “Text”>

B <input type = “text”>


C <input type = “textfield”>
D <input type = “textbox”>
Q10. <a> tag in HTML
a) Alters a hyperlink

b) Defines a hyperlink
c) Deletes a hyperlink
d) Accuses a hyperlink
Q11. How can you make a numbered list?

a) <ol>
b) <list>
c) <ul>
d) <dl>
Q12. How can you make a bulleted list?
a) <dl>

b) <ul>
c) <ol>
d) <list>
Q13. What is the correct HTML tag for making a drop-down list?
a) <list>

b) <select>
c) <input type = “list”>
d) <input type= “dropdown”>
Q14. html documents have the extension ______________.
Ans .html
Q15. __________ tag is used to display the list of items in the numbered list.
Ans <ol>
Q16. Which tag is used to make a text bold?
 <strong>
 <bold>

 <b>
 <em>
Q17. What is the purpose of the HTML <head> element?
a) It holds the primary navigation links
b) It defines the main content of the web page
c) It specifies the page's title, character encoding, and other meta
information
d) It creates a visible header on the webpage
Q18. Which HTML attribute specifies the base URL/target for all relative URLs in
a document?
a) target
b) href
c) base
d) url
Q 19. Which attribute is used to define the alternative text for an image,
providing text for screen readers and in case the image cannot be displayed?
a) title
b) alt
c) description
d) src
Q 20. What is the purpose of the HTML <a> element's "target" attribute?
a) It specifies the destination of the hyperlink
b) It defines the text colour of the link
c) It controls the font size of the link text
d) It decides how the link should be displayed (e.g., in a new window or the
same window)
Q 21. HTML tags are enclosed in
a) curly brackets
b) square brackets
c) double quotes

d) angular brackets
Q22. Which sequence of HTML tags is correct?

a) <html><head></head><body></body></html>
b) <html><head><body></body></head></html>
c) <html><head></body></body></head></html>
d) <html><<head></head></body></body></html>
Q 23. In an ordered list, each item cannot be preceded with
1. Alphabets
2. Arabic numbers
3. Roman numerals

4. Bullets
Q 24. Which character is used to represent the closing of a tag in HTML?
a) \
b) !

c) /
d) .
Q 25. Which of the following element is responsible for making the text italic in
HTML?

a) <i>
b) <italic>
c) <it>
d) <pre>
Q 26. Match the terms to their correct definitions:
1. Virus D a. A type of software designed to harm or
exploit any programmable device or
network.

2. Phishing E b. A program that acts as a barrier to


protect your computer from unauthorized
access.

3. Firewall B c. A secret word or phrase that is used to


gain access to a digital account.

4. Malware A d. A harmful code that can infect your


device and replicate itself.

5. Password C e. A fraudulent attempt to obtain sensitive


information by pretending to be a
trustworthy source.

Q 27. What are the several types of cyber security threats? Write their names.
1.Phishing
2.Malware
3.Ransomware
4.Man in the middle attack
5.Password Attack
Q 28. Write the examples of the following:
1. Phishing – Fake emails pretending to be from a bank asking for login details.
2. Man-in-the-Middle (MitM) attack – Intercepting Communication between 2
parties.
3. Malware – Trojan horse, Ransomware, Spyware
4. Virus Scan/Anti – Virus - Norton, McAfee, Avast
5. Password Attack – Brute force attack, dictionary attack

Q 29. Differentiate between Radio button and check box?


Radio- Allows only one selection from a group of options.
Check- Allows multiple selections from a group of options
Q30.Spot the error in this HTML document structure:
<html><head><title>Document</title></head><body><h1>Heading</
p><p>Paragraph</h1></body></html>

a) Incorrect nesting of tags


b) Missing <title> tag
c)Extra <html> tag
d)Wrong order of elements

Q31. Which HTML tag is used to create a table?

a) <table>
b) <tab>
c)<grid>
d)<data−table>

You might also like