Font size
WorksheetsHTML - ICT
Total questions: 173
Worksheet time: 3hrs 53mins
What is the use of the <meta> tag in HTML?
What is the purpose of the <!DOCTYPE> declaration in HTML?
How do you create a hyperlink in HTML?
What is the role of the <head> section in an HTML document?
The acronym HTML stands for Hypertext (a) Language.
HTML documents are created using (a) .
The opening tag of an HTML element is enclosed in (a) .
The <ul> tag is used to create an (a) list in HTML.
The <strong> tag is used to make text (a) in HTML.
The <textarea> tag is used to create a (a) box in HTML.
The <select> tag is used to create a (a) list in HTML.
The <ol> tag is used to create an (a) list in HTML.
The <hr> tag is used to insert a (a) in HTML.
Full form of W3C?
(a)
What is the correct HTML tag for inserting an image on a webpage?
<picture>
<image>
<photo>
<img>
Which HTML tag is used to define a table?
<table>
<tr>
<td>
<th>
What is the correct HTML tag for defining a section of content?
<div>
<content>
<section>
<container>
How many tags are in a regular element?
2
1
3
4
What is the correct HTML tag for creating a hyperlink?
<link>
<a>
<href>
<hyperlink>
What is the purpose of the <head> tag in HTML?
To define the main content of the webpage
To define a section of content
To define the header of the webpage
To define a hyperlink
<p> is the opening tag for a _____________
page
paragraph
preorder
period
What is the correct HTML for creating a hyperlink?
<a href="https://www.google.com/">Google</a>
<a> href="https://www.google.com/"Google</a>
<a href="https://www.google.com/"></a>
What is the correct HTML element for inserting a line break?
<br>
<break>
<lb>
Which of the following is NOT a valid type attribute for the <input> tag?
checkbox
select
date
password
Which HTML element defines the title of a document?
<meta>
<title>
<head>
What is the correct HTML tag for defining a form input field for user input?
<input>
<form-input>
<user-input>
<form>
What is the correct HTML tag for inserting a video on a webpage?
<video/>
<vid>
<video>
<play>
What is the purpose of the <nav> tag in HTML5?
To define a navigation menu or links for a webpage.
To define a table of contents.
To define a navigation bar for a website.
To define a navigation bar for a mobile app.
Which of the following is not a valid HTML5 semantic element?
<section>
<nav>
<div>
<aside>
Which of the following is the correct way to define a checkbox input element in HTML?
<checkbox name="myCheckbox">
<input name="myCheckbox" type="box">
<input type="check" name="myCheckbox">
<input type="checkbox" name="myCheckbox">
What is the correct HTML tag for embedding an audio file that is compatible with all modern browsers?
<sound>
<audio>
<music>
<play>
Which HTML tag is used to create an unordered list?
<ul>
<ol>
<li>
<list>
Which of the following is not a valid type for the <input> element in HTML5?
color
day
week
time
What is the correct HTML tag for creating a definition list?
<list>
<dl>
<dt>
<dd>
What is the correct HTML tag for defining a header section in a webpage
<header>
<head>
<h1>
<h2>
Which of the following is NOT a valid attribute for the <a> tag in HTML?
href
target
source
title
How can you create a hyperlink that opens an email client with a pre-filled email address?
<a href="mailto:">
<a href="mailto:" target="_blank">
<a href="mailto:">Email me</a>
<a href="mailto:">Email me</a> target="_blank"
What is the correct HTML tag for creating a numbered list?
<ol>
<ul>
<list>
<li>
Which attribute is used to specify the alternative text for an image?
alt
src
title
caption
How do you create an ordered list with lowercase Roman numerals?
<ol type="i-lower">
<ol type="i">
<ol type="I">
<ol type="a">
How do you create a horizontal rule in HTML?
<line>
<hrule>
<break>
<hr>
What does the placeholder attribute do in an input element?
Adds a tooltip to the input field
Specifies the initial value of the input field
Changes the color of the input text
Provides a hint or example value before user input
How do you create a comment in HTML?
<!-- This is a comment -->
// This is a comment
/* This is a comment */
<!-- Comment -->
Which tag is used to group related form elements together?
<group>
<fieldset>
<form-group>
<div>
How do you create a hyperlink that opens in a new browser window or tab?
<a href="url" target="_self">
<a href="url" target="_blank">
<a href="url" target="_parent">
<a href="url" target="_top">
What does the target="_self" attribute value do in a hyperlink?
Opens the linked document in a new tab or window
Opens the linked document in the same tab or window
Specifies the target device for the link
Disables the link functionality
What is the correct way to add a horizontal space in HTML?
<space>
<hr>
<br>
A hardware component of a computer, and it permanently stores data on storage media.
Input
Storage Device
Software
Hardware
EDP has this many steps:
3
4
5
6
A set of integrated devices that input, output, process, and store data and information.
Computer
Computer System
Hardware
Software
A software that allows the computer to share information and communicate with each other.
Application Software
Operating System
Utility Software
Connectivity Software
An accurate and rapid method of data processing, Also frequently used term for automatic information processing.
EDP
USB
ADP
UPS
An English mathematician who conceives of a steam-driven calculating machine that would be able to compute tables of numbers.
Herman Hollerith
Charles Babbage
Joseph Marie Jacquard
Clifford Berry
Another term for Sholes keyboard.
Keyboard
QWERTY
Touch keyboard
KwertBoard
Facts, concerning a particular event or subject, which are refined by processing.
Computer
Data
Information
Procedures
Google releases the Chromebook, a laptop that runs what type of OS.
Google Chrome OS
Windows 7
Windows 8
In what year does Facebook launched?
2003
200
2005
2006
It becomes part of the computing language and users begin connecting to the Internet without wires.
Bluetooth
Hotspot
Wi-Fi
Infrared
It includes different arithmetic and logical operations, so to process data means to do the classifying, sorting, summarizing, comparing and other manipulation techniques that convert data into information.
Input
Processing
Output
Data
It is a machine that can save, retrieve and manipulate data according to instructions.
Computer
Data
Information
Procedures
It is a system software that helps maintain and protect the computer system.
Application Software
Operating System
Utility Software
Language Processors
It is use to translate and display the result of the data processing. Example: Monitor Screen, Printer, etc.
Output Hardware
Input Hardware
Secondary Storage
Memory Hardware
It is used for uttering forceful feeling and also use for coding language purposes.
Tilde
Accent Grave
Exclamatory point
Hash Tag
It is where the computer system stores data permanently.
Processing and Memory Hardware
Secondary Storage
Input Hardware
Output Hardware
It refers to all the activities associated with recording data and making it available for processing.
Input
Processing
Data
Information
Microsoft launched this OS in 2009, which offers the ability to pin applications to the taskbar and advances in touch and handwriting recognition, among other features.
Windows Vista
Windows 7
Windows 8
Windows 10
Part of mouse that you will use most often.
Primary button
Secondary button
Scroll wheel
USB connector
Software that interprets computer language and translates it into machine language. It also checks for errors in language syntax and fixes the problems.
Application Software
Operating System
Utility Software
Language Processors
The area that contains the processed data and the instructions that must be followed during the data processing.
Storage
Output
Input
Processing
The collection and conversion of a set of information to a meaningful outcome.
Computer
Data Processing
Information
Procedures
The first computer systems used vacuum tubes for circuitry and magnetic drums for memory, and were often enormous, taking up entire rooms.
First Generation
Second Generation
Third Generation
Fourth Generation
The first personal computer with a GUI.
Compaq
MS-DOS
Lisa
Microsoft
The term information derived from which Latin word that means to give form to.
Informare
Inform
Informa
Informs
The year when Steve Jobs and Steve Wozniak start Apple Computers on April Fool’s Day and roll out the Apple I, the first computer with a single-circuit board, according to Stanford University.
1977
1978
1976
1975
These are a set of instructions, written in code, to instruct a computer on how to perform a task, run a software, do calculations etc.
Hardware
Software
Peopleware
Procedures
What is he browser that challenges Internet Explorer in the year 2004?
Google chrome
Mozilla Firefox
Microsoft Edge
Opera Mini
This type of memory is volatile or impermanent, that is, all its contents disappear when there is no power:
Flash memory
RAM
ROM
HDD
This prefix means “multiplied by a billion” or “x 1,000,000,000”.
Giga
Kilo
Mega
Tera
The basic unit of memory is a _____.
bit
byte
Kilobyte
Megabyte
Traditionally, these computers are generally large and powerful computers used by large corporations such as banks to keep track of ATM transactions.
Mainframes
Minicomputers
Servers
Supercomputers
This type of RAM modules are used inside laptops, where space is at a premium.
DIMM
SIMM
SODIMM
DDR
This type of data storage device uses magnetic media to store data.
DVD Drives
Flash Drives
Hard Disk Drives
Solid State Drive
These are operating systems except____
MS Office
Puppy Linux
Ubuntu
Windows 10
This is a free, open-source alternative to Adobe PhotoShop.
GIMP
OpenOffice.org
Publisher
One Note
These are free, open-source alternatives to MS Word, except ____
AbiWord
Apache OpenOffice Writer
LibreOffice.org Writer
Adobe Reader
These are software utilities designed to block unauthorized access while permitting outward communication.
Anti-virus software
Firewalls
Media players
Browser
This is a rectangular area on the Desktop used to display information.
Icon
Window
Windows 10
Wallpaper
This is a copy of the contents of memory that is saved to the storage device like a hard disk or flash drive.
File
Icon
Window
Wallpaper
This is located at the right side of the Task Bar and contains the icons of programs running in the background.
Clock
Folder
Windows Notification Area
Task View
This appears on the left side of an open window and shows the file system locations in the computer.
Navigation Pane
Scroll Bars
System Tray
Ribbon
This usually appears at the bottom of the Windows Desktop and contains the icons of all running processes including open windows and programs running in the foreground.
Navigation Pane
Scroll Bars
System Tray
Task Bar
If an open window contains too many items to display all at once, this enables you to view the items that are currently off-screen.
Navigation Pane
Scroll Bars
System Tray
Ribbon
This key combination activates an inactive window by cycling through inactive windows every press.
ALT-F4
ALT-TAB
CTRL-A
CTRL-V
These games are available for free in the Microsoft Store
Imperia Online
Mahjong
MineCraft
Solitaire
This is an example of a virtual private network (VPN) client.
Psiphon3
QBitTorrent
ThePiratebay.org
uTorrent
This is a free and open source alternative to the Windows 10 operating system.
GIMP
OpenOffice.org
Ubuntu Linux
macOS
A set of programs (computer instructions), which helps the user to do a set of specific tasks. It helps the user interact with the computer system.
Hardware
Software
Peopleware
Procedures
To assign a name for a fieldset, use
caption
name
legend
title
The action attribute of a form
tells how the information should be sent to the server.
tells what web page or script will process the form.
lets the user select from a set of options
is a button command that processes the form
The method attribute of a form
tells which web page or script should process the form
lets a user select from a set of options
tells how the form data should be sent to the server
verifies whether an email address is valid
The problem with the Get method
form data is not encrypted
form data appears in the URL
it is not reliable
only part of the data is sent to the server
When retrieving information, the ___ method will work.
search
put
get
post
To add new or change data on a server the ___ method works best.
post
get
put
update
The old Put method in forms
would delete data in a database
would insert new data into a database
would get data from a database
was dangerous when using private information
When the hidden attribute is set in an input field
users cannot see the field, but its data will be sent to a server.
users cannot see the field, and its data will not be sent to a server.
users can see the field, but its data will not be sent to a server.
users can see the field, but the data shown in it cannot be changed.
The select field in a form
is used inside an input element.
provides users with a set of options to choose from.
auto-completes as the user types data.
cannot have a default option setting.
In a form, <input type="text" ...>
cannot be set to "required"
is not valid
will accept multiple lines of characters.
will accept only a single line of characters.
To help users know what to put in field, use
<input name="firstname">
<label for="firstname">
<input type="text" id="firstname>
<input type="text" id="firstname" name="label">
<input label="First Name" type="text">
An Email address field in a form
<input type="email" id="email">
<input type="text" id="email">
<label for="email">
<email type="text" id="email">
<input text="email" id="email">
A comment field for multiple lines of text
<label for="comments">
<comments type="textarea" id="comments">
<label for="textarea">
<input type="textarea" id="textarea">
<input type="textarea" rows="6" cols="50">
<textarea rows="6" cols="50"></textarea>
A button tag
<input type="button" value="Name on Button"></input>
<input type="button">Name on Button</input>
<button name="abc" onclick="">
<button name="abc" onclick="">Name on Button</button>
To make a datalist work, you need a(n)
input tag with "list" attribute the same as the "id" in the datalist
input tag with "list" attribute the same as the "name" in the datalist
select tag with "option" attribute the same as the "name" in the datalist
option tag with "select" attribute the same as the "id" in the datalist
To group sections of a form to make it easier to read, use
fieldset
group
groupset
formset
To submit a form for processing, use
<input type="button" method="submit">
<button type="submit"></button>
<input type="submit">Submit</input>
<input type="submit" value="Submit">
Which code below is correct for a hyperlink
<a>
"https://google.com"
Click Me
</a>
<a>Click Me>
"https://google.com"
</a>
<a herf="https://google.com">
Click Me
</a>
<a href="https://google.com">
Click Me
</a>
Which of the following contains a nested list
<ul>
<li>Apples</li>
<li>Cookies</li>
<li>Milk</li>
</ul>
<ul>
<li>Apples</li>
<li>
Cookies
<ul>
<li>Chocolate Chip</li>
<li>Peanut Butter</li>
</ul>
</li>
<li>Milk</li>
</ul>
Which of the following is the code for a paragraph to be blue?
<td style=“background-color:blue;”>
<h1 style=“font-size:60px;”>
<p style=“color:blue;”>
<tagname style=“property:value;”>
What is the font size in this code: <p style=“color:blue; background-color:yellow;
font-size:60px”>Hello</p>
20pixles
40pixels
50pixels
60pixels
Which list tag would you use for an ordered list
<h1></h1>
<ol></ol>
<ul></ul>
<a></a>
Is this a correct table?
<table>
<tr><td>This is part 1</td></tr>
<tr>This is part 2</tr>
</table>
Yes
No
Is this a correct table?
<table>
<tr><td>This is part 1</td>
<tr><td>This is part 2</td></tr>
</table>
Yes
No
Is this a correct table?
<table>
<tr><td>This is part 1</td></tr>
<tr><td>This is part 2</td></tr>
</table>
Yes
No
How many rows does the following table have?
<table>
<tr><td>Col 1</td></tr>
<tr><td>Col 2</td><td>Col3</td></tr>
<tr><td>Col 3</td></tr>
</table>
3
2
1
0
How many rows and columns does the following table have?
<table>
<tr><td>Col 1</td><td>Col 4</td></tr>
<tr><td>Col 2</td><td>Col 5</td></tr>
<tr><td>Col 3</td><td>Col 6</td></tr>
</table>
2 rows with 3 column each
3 rows with 2 column each
3 rows and 3 columns
3 rows and 5 columns
A <tr> element can have 0 <td> elements inside
Yes
No
What table element attribute do you need to specify to add a border to a table?
<table border="0">
<table border="on">
<table border="1">
<table border="yes">
Which of the following defines a single table column?
The <td> tag
The <tr> tag
The <th> tag
The <tablecolumn> tag
Which of the following table element tags are required when you use the <table> tag to create a table?
able row <tr> and table data <td>
Table caption <caption> and table data <td>
Table header <th> and table data <td>
Table caption <caption> and table header <th>
Which of the following defines the content of table cells?
The <th> tag
The <td> tag
The <tr> tag
The <tablecell> tag
An HTML Table with a Border Attribute:
Choose the correct tag.
<table border="1" style="width:100%">
the border-collapse property...
</td>
table, th, td { border: 1px solid black; border-collapse: collapse; }
Attribute name specifying the number of pixels of space between a cell well and its content
The statement above refer to which tag?
width
table
cellpadding
colspan
To add borders, use the CSS border property:
<table border="1" style="width:100%">
the border-collapse property...
table, th, td { border: 1px solid black; }
table, th, td { border: 1px solid black; border-collapse: collapse; }
An HTML Table with Border Spacing:
Choose the correct tag.
colspan=""
table { border-spacing: 5px; }
<table><tr><td clospan="2"> Memrise </td></tr></table>
<table style="width:100%"> <caption> Memrise </caption> </table>
What is the correct HTML for creating a hyperlink? (note: Where you see a big space, that is where a bracket should be.)
a url="http://www.google.com" Google.com /a
a url=http://www.google.com /a
a href="http://www.google.com" Google /a
a name="http://www.google.com" Google.com /a
Use CSS to center align the document.
<html>
<body ----="--------;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<html>
<body style="text-align:center;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Use CSS to set the background-color of the document to yellow.
<html>
<body style="------:yellow;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<html>
<body style="background-color:yellow;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Use CSS to set the font of the paragraph to "courier".
<p style="font-family:courier;">This is a paragraph.</p>
<p style="------:courier;">This is a paragraph.</p>
What does the HTML Horizontal Rule do?
A paragraph always starts on a new line
The <hr> tag defines a thematic break in an HTML page, and is most often displayed as a horizontal rule
It defines preformatted text
What is the correct syntax to change the background color with css?
background-color: purple;
background-color = "purple";
backgroundcolor=orange
change-background-color: purple
TRUE OR FALSE: All tags require a closing tag.
True
False
Where should you put the link tag to connect your CSS and HTML file?
Between the <head> </head> in HTML
Between the <body> </body> in HTML
None of the above.
To put in a text box you use which code?
<input type="information" id="name"/>
<input type="text" id="name"/>
<textbox id="name"/>
<textbox id="name" type="text"/>
To put in a checkbox for the color Red which code do you use
<checkbox id="Red"/>
<check id="Red"/>
<input type="checkbox" id="Red" />
<input type="check" id="Red" />
Which is the code to start putting in a drop down box?
<select id="choices">
<selection id="choices">
<dropdown id="choices">
<drop id="choices">
To put in 2 multiple choice/ radio buttons you use which code?
<input type="mc" name="choice" id="yes" />Yes
<input type="mc" name="choice" id="no" />No
<input type="mc" name="choice" id="choice" />Yes
<input type="mc" name="choice" id="choice" />No
<input type="radio" name="choice" id="yes" />Yes
<input type="radio" name="choice" id="no" />No
<input type="radio" name="choice" id="choice" />Yes
<input type="radio" name="choice" id="choice" />No
To put in a larger comment box you would use which tag?
<input type="comment" id="comments"/>
<input type="textarea" id="comments"/>
<textarea id="comments"></textarea>
<textarea id="comments" />
The code for a Reset button is
<button type="reset">Reset</button>
<button type="submit">Reset</button>
<input type="reset">Reset</input>
<reset>Reset</reset>
