HTML

Question 1

The diagram that helps in understanding and representing user requirements for a software project using UML (Unified Modeling Language) is:

A
Entity Relationship Diagram
B
Deployment Diagram
C
Data Flow Diagram
D
Use Case Diagram
Question 1 Explanation: 
Note: Out of syllabus.
Question 2

Consider the three commands : PROMPT, HEAD and RCPT.
Which of the following options indicate a correct association of these commands with protocols where these are used?

A
HTTP, SMTP, FTP
B
FTP, HTTP, SMTP
C
HTTP, FTP, SMTP
D
SMTP, HTTP, FTP
Question 2 Explanation: 
Note: Out of syllabus.
Question 3

Given below are HTML lines,

With reference to the HTML lines given above, consider the following statements.
(i) Clicking on the point <80, 75> does not have any effect.
(ii) The web browser can identify the area applicable to the mouse-click within the image and the subsequent action to be taken without additional responses from the web server.
(iii) The dots in the cgi-bin URL will be resolved by the web browser before it is sent to the web server.
(iv) The "fd.html" request when sent to the web server will result in a GET request.
Exactly how many of the statements given above are correct?

A
0
B
1
C
2
D
3
Question 3 Explanation: 
Note: Out of syllabus.
Question 4
In a web server, ten Web Pages are stored with the URLs of the form http://www.yourname.com/var.html; where, var is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with var = 1 (say W1) in local machine, edits and then tests. Rest of the Web Pages remains on the web server. W1 contains several relative URLs of the form “var.html” referring to the other Web Pages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate Web Pages on the web server?
A
<a.href: “http://www.yourname.com/”, href: “...var.html”>
B
<base href: “http://www.yourname.com/”>
C
<a.href: “http://www.yourname.com/”>
D
<base href: “http://www.yourname.com/”, range: “...var.html”>
Question 5

A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S.  Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?

A
Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP connection to server S
B
Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient
C
A single HTTP request from Q to S is sufficient, and a single TCP connection between Q and S is necessary for this
D
A single HTTP request from Q to S is sufficient, and this is possible without any TCP connection between Q and S
Question 5 Explanation: 
By default, HTTP is a persistent connection.
Whenever a browser opens a webpage, a separate HTML request must be sent for each image or component in HTML like css file or javascript. But all can be done in the same TCP connection.
Question 6

HTML (Hyper Text Markup Language) has language elements which permit certain actions other than describing the structure of the web document. Which one of the following actions is NOT supported by pure HTML (without any server or client side scripting) pages?

A
Embed web objects from different sites into the same page
B
Refresh the page automatically after a specified interval
C
Automatically redirect to another page upon download
D
Display the client time as part of the page
Question 6 Explanation: 
Note: Out of syllabus.
Question 7

Consider the HTML table definition given below:



The number of rows in each column and the number of columns in each row are:

A
〈2, 2, 3〉 and 〈2, 3, 2〉
B
〈2, 2, 3〉 and 〈2, 2, 3〉
C
〈2, 3, 2〉 and 〈2, 3, 2〉
D
〈2, 3, 2〉 and 〈2, 2, 3〉
Question 7 Explanation: 
Note: Out of syllabus. [Web Technologies]
Question 8

Which tag is used to display the numbered list?

A
< OL > < /OL >
B
< DL > < /DL >
C
< UL > < /UL >
D
< LI > < /LI >
Question 9

Which is true to change the text colour to red?

A
< BODY BGCOLOUR=RED >
B
< BODY TEXT=RED >
C
< BODY COLOUR=RED >
D
None of the given options
Question 10

What are tags used for?

A
To replace paragraph i.e., p tags
B
To logically divide the paragraphs
C
To logically divide the document
D
To provide space between tables
Question 11

What are meta tags used for?

A
To store information usually relevant to browsers and search engines
B
To only store information usually relevant to browsers
C
To only store information about search engines
D
To store information about external links
Question 12
Which of the following tag in HTML is used to surround information, such as signature of the person who created the page ?
A
< body > < / body >
B
< address > < / address >
C
< strong > < / strong >
D
< em > < / em >
Question 12 Explanation: 
This tag is for address information, signatures, etc, normally at the top or bottom of a document. typically, it is italic and/or right justified or indented.
The format is:
< ADDRESS > text ... < / ADDRESS >
Question 13
In HTML, < map > tag is used for
A
defining a path between two nodes in an image
B
defining clickable region in an image
C
highlighting an area in an image
D
defining the site-map of a web-site
Question 13 Explanation: 
The HTML < map > element is used with < area > elements to define an image map (a clickable link area).
There are 13 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access