Web Technology · Software Engineering and Web Technology
15 questions · asked in 7 of 27 years (2000–2026)
MCQ 151-mark 15
2000Questions per year2026
Questions 1–5 of 15
Which of the following statements is/are FALSE?
I. XML overcomes the limitations in HTML to support a structured way of organizing content.
II. XML specification is not case sensitive while HTML specification is case sensitive.
III. XML supports user defined tags while HTML uses pre-defined tags.
IV. XML tags need not be closed while HTML tags must be closed.
I. XML overcomes the limitations in HTML to support a structured way of organizing content.
II. XML specification is not case sensitive while HTML specification is case sensitive.
III. XML supports user defined tags while HTML uses pre-defined tags.
IV. XML tags need not be closed while HTML tags must be closed.
Answer: (C)
I is true: XML was designed to describe structured data, which HTML does not do well.
II is false: it is the other way round. XML is case sensitive (<Book> and <book> are different tags), while HTML tag names are not.
III is true: XML lets users define their own tags; HTML has a fixed set.
IV is false: every XML element must be closed, while HTML allows some tags, such as <br> and <p>, to stay open.
So the false statements are II and IV.
Answer: (C)
II is false: it is the other way round. XML is case sensitive (<Book> and <book> are different tags), while HTML tag names are not.
III is true: XML lets users define their own tags; HTML has a fixed set.
IV is false: every XML element must be closed, while HTML allows some tags, such as <br> and <p>, to stay open.
So the false statements are II and IV.
Answer: (C)
In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/.html; where, is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with (say W1) in local machine, edits and then tests. Rest of the WebPages remains on the web server. W1 contains several relative URLs of the form “.html” referring to the other WebPages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate WebPages on the web server?
Answer: (B)
A relative URL such as “2.html” is completed using the base URL of the page. W1 now sits on the local machine, so by default its relative links point to local files.
The HTML <base> element sets one base URL for every relative link in the page. With base href “http://www.yourname.com/”, the link “.html” becomes http://www.yourname.com/.html, the page on the web server.
(A) and (C) are <a> tags: each makes one link and does not change the other links. (D) adds a “range” attribute, which <base> does not have.
Answer: (B)
The HTML <base> element sets one base URL for every relative link in the page. With base href “http://www.yourname.com/”, the link “.html” becomes http://www.yourname.com/.html, the page on the web server.
(A) and (C) are <a> tags: each makes one link and does not change the other links. (D) adds a “range” attribute, which <base> does not have.
Answer: (B)
Match the problem domains in GROUP I with the solution technologies in GROUP II.
Answer: (C)
- P, Service oriented computing, goes with Publish-find-bind (3): a provider publishes a service in a registry, a client finds it, then binds to it.
- Q, Heterogeneous communicating systems, goes with Interoperability (1): systems built on different platforms must still work together.
- R, Information representation, goes with XML (4): a platform-neutral format for representing data.
- S, Process description, goes with BPMN (2): Business Process Model and Notation, used to describe business processes.
So P-3, Q-1, R-4, S-2.
Answer: (C)
- Q, Heterogeneous communicating systems, goes with Interoperability (1): systems built on different platforms must still work together.
- R, Information representation, goes with XML (4): a platform-neutral format for representing data.
- S, Process description, goes with BPMN (2): Business Process Model and Notation, used to describe business processes.
So P-3, Q-1, R-4, S-2.
Answer: (C)
Consider the HTML table definition given below:
< table border=1 >
< tr > < td rowspan=2 > ab < /td >
< td colspan=2 > cd < /td >
< /tr >
< tr > < td > ef < /td >
< td rowspan=2 > gh < /td >
< /tr >
< tr > < td colspan=2 > ik < /td >
< /tr >
< /table > The number of rows in each column and the number of columns in each row are:Answer: (C)
Place each cell on a grid. Row 1 has ab (rowspan=2, so it also fills row 2) and cd (colspan=2, so it fills columns 2 and 3). Row 2 has ef in column 2 (column 1 is taken by ab) and gh in column 3 (rowspan=2, so it also fills row 3). Row 3 has ik (colspan=2), which fills columns 1 and 2 because column 3 is taken by gh.
Count the cells in each column (a spanning cell counts once):
Column 1: ab, ik = 2. Column 2: cd, ef, ik = 3. Column 3: cd, gh = 2. So 2, 3, 2.
Count the cells in each row:
Row 1: ab, cd = 2. Row 2: ab, ef, gh = 3. Row 3: ik, gh = 2. So 2, 3, 2.
Answer: (C)
| ab | cd | |
| (ab) | ef | gh |
| ik | (gh) | |
Count the cells in each column (a spanning cell counts once):
Column 1: ab, ik = 2. Column 2: cd, ef, ik = 3. Column 3: cd, gh = 2. So 2, 3, 2.
Count the cells in each row:
Row 1: ab, cd = 2. Row 2: ab, ef, gh = 3. Row 3: ik, gh = 2. So 2, 3, 2.
Answer: (C)
Provide the best matching between the entries in the two columns given in the table below:
Answer: (C)
- I. Proxy server goes with a. Firewall: a proxy stands between clients and the Internet, so it can filter and control traffic like a firewall.
- II. Kazaa, DC++ go with c. P2P: both are peer-to-peer file sharing applications.
- III. SLIP goes with d. PPP: both are serial-line protocols, and PPP replaced SLIP.
- IV. DNS goes with b. Caching: resolvers cache DNS replies to answer repeated queries quickly.
A proxy can cache too, but DNS cannot act as a firewall, so IV must be Caching and I must be Firewall.
Answer: (C)
- II. Kazaa, DC++ go with c. P2P: both are peer-to-peer file sharing applications.
- III. SLIP goes with d. PPP: both are serial-line protocols, and PPP replaced SLIP.
- IV. DNS goes with b. Caching: resolvers cache DNS replies to answer repeated queries quickly.
A proxy can cache too, but DNS cannot act as a firewall, so IV must be Caching and I must be Firewall.
Answer: (C)
Keep practising
Topics in Software Engineering and Web Technology
Software Engineering
Web TechnologyYou are here