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

Long Test-Html

sdcsssss

Uploaded by

Maybel Din
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Long Test-Html

sdcsssss

Uploaded by

Maybel Din
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Part 1: Multiple Choice Questions: Read Part 1: Multiple Choice Questions: Read

each question carefully. Choose the best each question carefully. Choose the best
answer from the options provided. Each answer from the options provided. Each
question has only one correct answer. question has only one correct answer.
1. What is a program? 1. What is a program?
A. A type of software that only executes A. A type of software that only executes
scripts scripts
B. A set of instructions a computer can B. A set of instructions a computer can
execute execute
C. A collection of hardware components C. A collection of hardware components
D. A programming language D. A programming language
2. Which of the following best describes 2. Which of the following best describes
programming? programming?
A. The act of designing a computer A. The act of designing a computer
B. The process of creating a program B. The process of creating a program
through coding through coding
C. The debugging of existing software C. The debugging of existing software
D. The installation of an operating system D. The installation of an operating system
3. What does syntax refer to in 3. What does syntax refer to in
programming? programming?
A. The speed at which a program runs A. The speed at which a program runs
B. The rules governing the structure of B. The rules governing the structure of
statements in a language statements in a language
C. The quality of the code written C. The quality of the code written
D. The complexity of a program D. The complexity of a program
4. What is the primary function of a 4. What is the primary function of a
compiler? compiler?
A. To read code line by line and execute it A. To read code line by line and execute it
B. To convert text programs into binary B. To convert text programs into binary
files files
C. To debug the code automatically C. To debug the code automatically
D. To format the code for better D. To format the code for better
readability readability
5. Which programming languages 5. Which programming languages
typically use an interpreter? typically use an interpreter?
A. C++ and Java A. C++ and Java
B. Python and PHP B. Python and PHP
C. Assembly and Fortran C. Assembly and Fortran
D. Swift and Kotlin D. Swift and Kotlin
6. Which HTML element is used to create 6. Which HTML element is used to create
a hyperlink? a hyperlink?
A. <link> A. <link>
B. <a> B. <a>
C. <url> C. <url>
D. <href> D. <href>
7. In HTML, what is the purpose of the 7. In HTML, what is the purpose of the
<head> element? <head> element?
A. To contain all visible content on the A. To contain all visible content on the
page page
B. To provide metadata and links to B. To provide metadata and links to
styles/scripts styles/scripts
C. To define the main heading of the C. To define the main heading of the
document document
D. To display images and multimedia D. To display images and multimedia
8. What is an attribute in an HTML tag? 8. What is an attribute in an HTML tag?
A. A type of element that contains text A. A type of element that contains text
B. Additional information about an B. Additional information about an
element element
C. A specific style applied to an element C. A specific style applied to an element
D. A command to change the browser's D. A command to change the browser's
settings settings
9. Which of the following tags is used for 9. Which of the following tags is used for
the largest heading in HTML? the largest heading in HTML?
A. <h2> A. <h2>
B. <h1> B. <h1>
C. <h3> C. <h3>
D. <heading> D. <heading>
10.What HTML tag is used to embed an 10.What HTML tag is used to embed an
image? image?
a. <image>
b. <img> a. <image>
c. <picture> b. <img>
d. <src> c. <picture>
11.Which of the following is a commonly d. <src>
used text editor for writing code? 11.Which of the following is a commonly
A. Microsoft Word used text editor for writing code?
B. Notepad A. Microsoft Word
C. Adobe Photoshop B. Notepad
D. Internet Explorer C. Adobe Photoshop
12.What does HTML stand for? D. Internet Explorer
A. Hypertext Markup Language 12.What does HTML stand for?
B. High-level Text Markup Language A. Hypertext Markup Language
C. Hyperlink and Text Markup Language B. High-level Text Markup Language
D. Hypertext Management Language C. Hyperlink and Text Markup Language
13.What is the role of a text editor in D. Hypertext Management Language
programming? 13.What is the role of a text editor in
A. To compile code into binary programming?
B. To create visual designs for A. To compile code into binary
applications B. To create visual designs for
C. To write and save computer programs applications
D. To run applications on the computer C. To write and save computer programs
14.Which HTML tag is used to define a D. To run applications on the computer
heading? 14.Which HTML tag is used to define a
A. <p> heading?
B. <link> A. <p>
C. <h1> B. <link>
D. <body> C. <h1>
15.What is an attribute in an HTML tag? D. <body>
A. A type of element that contains text 15.What is an attribute in an HTML tag?
B. Additional information about an A. A type of element that contains text
element B. Additional information about an
C. A specific style applied to an element element
D. A command to change the browser's C. A specific style applied to an element
settings D. A command to change the browser's
Part II. True or False: Read each statement settings
carefully. Determine if the statement is Part II. True or False: Read each statement
true or false. carefully. Determine if the statement is
16.HTML is used to style web pages. true or false.
17.An HTML document must start with a 16.HTML is used to style web pages.
<!DOCTYPE html> declaration. 17.An HTML document must start with a
18.Attributes in HTML tags provide <!DOCTYPE html> declaration.
additional information about the 18.Attributes in HTML tags provide
elements. additional information about the
19.The <body> element contains elements.
metadata about the HTML page. 19.The <body> element contains
20.HTML5 introduced semantic elements metadata about the HTML page.
to improve the meaning of web 20.HTML5 introduced semantic elements
content. to improve the meaning of web
21.HTML is a programming language. content.
22.The <footer> element is used to 21.HTML is a programming language.
define the bottom section of a 22.The <footer> element is used to
webpage. define the bottom section of a
23. An HTML document can have multiple webpage.
<head> sections. 23. An HTML document can have multiple
24. All HTML tags must be closed. <head> sections.
25. HTML5 introduced new semantic 24. All HTML tags must be closed.
elements to improve web content 25. HTML5 introduced new semantic
structure. elements to improve web content
26. A text editor is used exclusively for structure.
writing HTML documents. 26. A text editor is used exclusively for
27.HTML is a programming language that writing HTML documents.
can perform calculations and logic. 27.HTML is a programming language that
28. HTML elements can have attributes can perform calculations and logic.
that provide additional information 28. HTML elements can have attributes
about the element. that provide additional information
29.The <img> tag in HTML is used to about the element.
create hyperlinks. 29.The <img> tag in HTML is used to
30.HTML5 introduced semantic elements create hyperlinks.
to enhance the meaning and structure 30.HTML5 introduced semantic elements
of web content. to enhance the meaning and structure
of web content.

You might also like