Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Chapter: 71
Q1021:
What does a URL represent in web implementations?
A. A uniform resource locator used to access web resources
B. A protocol for transferring files
C. A type of web server
D. A method for encrypting web data
Correct Answer:
A
Chapter: 71
Q1022:
What is the significance of cookies in web development?
A. To store user-specific information and preferences on the client side
B. To manage server-side operations
C. To handle network security
D. To encrypt web communications
Correct Answer:
A
Chapter: 71
Q1023:
Which of the following is a client-side scripting language used in web development?
A. JavaScript
B. Java
C. PHP
D. C++
Correct Answer:
A
Chapter: 71
Q1024:
What is a web API commonly used for?
A. To allow different software applications to communicate with each other
B. To design web page layouts
C. To manage network security
D. To handle email communications
Correct Answer:
A
Chapter: 71
Q1025:
What does the term "web hosting" refer to?
A. The service that allows individuals and organizations to publish their websites on the Internet
B. The process of creating web page layouts
C. The management of email servers
D. The design of web applications
Correct Answer:
A
Chapter: 72
Q1026:
What does HTML stand for?
A. Hypertext Markup Language
B. Hightext Markup Language
C. Hyperlink Markup Language
D. Hypertext Main Language
Correct Answer:
A
Chapter: 72
Q1027:
Which HTML tag is used to create a hyperlink?
A. <link>
B. <a>
C. <hyperlink>
D. <url>
Correct Answer:
B
Chapter: 72
Q1028:
What attribute is used to specify the destination of a link?
A. href
B. src
C. alt
D. target
Correct Answer:
A
Chapter: 72
Q1029:
Which tag is used to define the structure of a webpage in HTML?
A. <html>
B. <body>
C. <head>
D. <header>
Correct Answer:
A
Chapter: 72
Q1030:
What is the purpose of the <title> tag in HTML?
A. To define a heading
B. To set the page title
C. To create a link
D. To add an image
Correct Answer:
B
Chapter: 72
Q1031:
How can you include a comment in an HTML document?
A. <!-- comment -->
B. /* comment */
C. // comment
D. ** comment **
Correct Answer:
A
Chapter: 72
Q1032:
Which tag is used to create a numbered list in HTML?
A. <ul>
B. <ol>
C. <li>
D. <list>
Correct Answer:
B
Chapter: 72
Q1033:
What is the correct HTML element for inserting a line break?
A. <break>
B. <lb>
C. <br>
D. <line>
Correct Answer:
C
Chapter: 72
Q1034:
How do you make text bold in HTML?
A. <strong>
B. <bold>
C. <b>
D. <em>
Correct Answer:
A
Chapter: 72
Q1035:
What does the <meta> tag in HTML provide?
A. Metadata about the page
B. Styling for the page
C. JavaScript functions
D. Link to external resources
Correct Answer:
A
Chapter: 72
Q1036:
Which attribute is used to specify the width of an image in HTML?
A. height
B. width
C. size
D. length
Correct Answer:
B
Chapter: 72
Q1037:
How do you include a JavaScript file in an HTML document?
A. <script src="file.js">
B. <javascript src="file.js">
C. <js src="file.js">
D. <include src="file.js">
Correct Answer:
A
Chapter: 72
Q1038:
Which HTML tag is used to define a table in HTML?
A. <table>
B. <tab>
C. <t>
D. <chart>
Correct Answer:
A
Chapter: 72
Q1039:
How can you make text italic in HTML?
A. <italic>
B. <i>
C. <em>
D. <strong>
Correct Answer:
C
Chapter: 72
Q1040:
What is the purpose of the <form> tag in HTML?
A. To define a form for user input
B. To add a table
C. To create a link
D. To include an image
Correct Answer:
A