HTML
Question 1 |
The diagram that helps in understanding and representing user requirements for a software project using UML (Unified Modeling Language) is:
Entity Relationship Diagram | |
Deployment Diagram | |
Data Flow Diagram | |
Use Case Diagram |
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?
HTTP, SMTP, FTP | |
FTP, HTTP, SMTP | |
HTTP, FTP, SMTP | |
SMTP, HTTP, FTP |
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?
0 | |
1 | |
2 | |
3 |
Question 4 |
Consider the HTML table definition given below:
The number of rows in each column and the number of columns in each row are:
〈2, 2, 3〉 and 〈2, 3, 2〉 | |
〈2, 2, 3〉 and 〈2, 2, 3〉 | |
〈2, 3, 2〉 and 〈2, 3, 2〉 | |
〈2, 3, 2〉 and 〈2, 2, 3〉 |
Question 5 |
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?
Embed web objects from different sites into the same page | |
Refresh the page automatically after a specified interval | |
Automatically redirect to another page upon download | |
Display the client time as part of the page |
Question 6 |
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)?
Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP connection to server S | |
Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient | |
A single HTTP request from Q to S is sufficient, and a single TCP connection between Q and S is necessary for this | |
A single HTTP request from Q to S is sufficient, and this is possible without any TCP connection between Q and S |
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 7 |
(a) In HTML, character entities are used to incorporate external content into a web page, such as images.
(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.
Only (a) is TRUE. | |
Only (b) is TRUE. | |
Both (a) and (b) are TRUE. | |
Neither (a) nor (b) is TRUE. |
FALSE: Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.
Question 8 |
<table border = 1>
<tr>
<td> colspan = 2> Text A </td>
</tr>
<tr>
<td> Text B </td>
<td> Text C </td*gt;
</tr>
<tr>
<td rowspan = 2> Text D </td>
</tr>
<tr>
<td> Text E </td>
<tr>
<td> Text F </td>
</tr>
</table>
The above HTML code would render on screen as:
Question 9 |
Choose the correct option from those given below:
(a).(i), (b).(ii), (c).(iii), (d).(iv) | |
(a).(ii), (b).(i), (c).(iii), (d).(iv) | |
(a).(iv), (b).(iii), (c).(ii), (d).(i) | |
(a).(iii), (b).(iv), (c).(ii), (d).(i) |
The < frame > tag defines one particular window (frame) within a < frameset >.
Each < frame > in a < frameset > can have different attributes, such as border, scrolling, the ability to resize, etc.
< tr > tag → To enclose each row in a table.
The < tr > tag defines a row in an HTML table.
A < tr > element contains one or more
Valign attribute → for vertical alignment of content in cell
< a > tag → To create link in HTML
Question 10 |
< code > | |
< script > | |
< title > | |
< body > |
The < script > element either contains scripting statements, or it points to an external script file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.
Question 11 |
Which tag is used to display the numbered list?
< OL > < /OL > | |
< DL > < /DL >
| |
< UL > < /UL > | |
< LI > < /LI > |
Question 12 |
Which is true to change the text colour to red?
< BODY BGCOLOUR=RED > | |
< BODY TEXT=RED > | |
< BODY COLOUR=RED > | |
None of the given options
|
Question 13 |
What are tags used for?
To replace paragraph i.e., p tags
| |
To logically divide the paragraphs | |
To logically divide the document
| |
To provide space between tables
|