GATE / CS ARCHIVE

SUBJECT COLLECTION

Engineering Mathematics & Other Topics · Web Technologies

5 questions, newest first

GATE CSE has asked 5 questions on Web Technologies (Engineering Mathematics & Other Topics) from 2009 to 2015, in 5 of the 46 papers; the most recent is in GATE CSE 2015 Set 3. In the last five years it carried 0 marks per 100-mark paper on average, against 0.1 since 2003. Since 2014 the questions have been 2 MCQ.

Not in the GATE 2027 syllabus. Web technologies (HTML, XML) are not named.

Browse topics
1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Web Technologies

Question 25, GATE 2015: Which claims are false? I XML supports structured content beyond HTML's limitations; II XML is case-insensitive while HTML is case-sensitive; III XML supports user-defined tags while HTML uses predefined tags; IV XML tags need not be closed but HTML tags must be. A II only; B I only; C II and IV; D III and IV.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

XML distinguishes names differing in letter case: an opening <Item> cannot be closed by </item>. Every XML element must be properly closed, either by a matching end tag or empty-element syntax. Ordinary HTML syntax is case-insensitive for element names and permits certain omitted end tags. II and IV reverse these relevant distinctions; the question uses conventional HTML rather than XHTML syntax.

Solution: XML names are case-sensitive; ordinary HTML element names are case-insensitive. XML requires properly closed elements, including self-closing syntax, while HTML permits omission of certain end tags. Thus II and IV are false, C. XML supports application-defined names; HTML uses its vocabulary.

Original paper, page 10 · Answer key

1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Web Technologies

Question 18, GATE 2015: A server stores ten pages at http://www.yourname.com/var.html, with var=1,...,10. Page W1 (var=1) is saved locally for editing/testing, while the other pages stay on the server. W1 contains relative links of the form “var.html”. Which addition makes all relative links resolve to the server pages? Printed options (including their malformed attribute punctuation): (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”>. Distinguish the intended element from valid HTML syntax.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Our answer: B conceptually, after fixing HTML attribute syntax

1. A base element sets the base URL used to resolve relative links, so the intended B is <base href="http://www.yourname.com/">.

2. Anchor elements only make individual links. The printed options use href: rather than href=; literal B therefore is not the required valid HTML attribute assignment. Retain the official conceptual answer with the syntax correction explicit.

Original paper, page 59 · Answer key

1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Service-oriented architecture matching

Web Technologies

Question 11, GATE 2013: Match P service-oriented computing, Q heterogeneous communicating systems, R information representation, S process description to 1 interoperability, 2 BPMN, 3 publish-find-bind, 4 XML. A P1 Q2 R3 S4; B P3 Q4 R2 S1; C P3 Q1 R4 S2; D P4 Q3 R2 S1.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Service-oriented computing uses publish/find/bind interactions, giving P→3. Heterogeneous systems require interoperability, Q→1. Neutral data representation is provided by XML, R→4. Business-process composition corresponds to BPMN, S→2. This mapping is C.

The service workflow publishes a description, lets a client find it, then binds the client to the provider, fixing P→3. Interoperability is the ability of heterogeneous systems to communicate, fixing Q→1. XML is a structured information representation, giving R→4. BPMN explicitly denotes Business Process Model and Notation, giving S→2. Checking these four associations against the complete choices leaves C, not a mapping chosen from only one match.

Original paper, page 3 · Answer key

1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Capabilities of pure HTML

Web Technologies

Question 9, GATE 2011: Which action is NOT supported by pure HTML pages, without server-side or client-side scripting?

(A) Embed web objects from different sites in one page
(B) Automatically refresh a page after a specified interval
(C) Automatically redirect to another page upon download
(D) Display the client's current time as part of the page
Tap to enlarge
Your answer
Answer & solution

Official answer: D

HTML can embed remote objects and use refresh metadata for timed refresh or redirection. It has no mechanism by itself to read and display the client’s current clock time. That normally requires scripting or another active component, so D.

A static timestamp written into HTML is not the client's current time. Remote image/object URLs satisfy A, and a refresh directive can reload a document or navigate to a specified URL, satisfying B and C in the intended browser model. Reading the local clock and inserting its live value requires computation beyond HTML markup, for example JavaScript Date and DOM updates. That distinction between document description and active computation selects D.

Original paper, page 3 · Answer key

1 mark · MCQ
Not in GATE 2027 syllabusReport issue

HTML row and column spans

Web Technologies

Question 20, GATE 2009: An HTML table has three rows. Row 1 contains ab with rowspan 2 and cd with colspan 2. Row 2 contains ef and gh with rowspan 2. Row 3 contains ik with colspan 2. Count visible cell regions per column and per row: A (2, 2, 3)/(2, 3, 2); B (2, 2, 3)/(2, 2, 3); C (2, 3, 2)/(2, 3, 2); D (2, 3, 2)/(2, 2, 3).
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

The logical 3×3 grid is [ab, cd, cd], [ab, ef, gh], [ik, ik, gh]. Counting distinct vertically separated cells in each column gives 2, 3, 2. Counting distinct horizontally separated cells in each row likewise gives 2, 3, 2. Thus C. These counts refer to the visible cell regions after spans, not the number of underlying grid coordinates.

Expand the spans onto a three-by-three logical grid: row 1 ab, cd, cd; row 2 ab, ef, gh; row 3 ik, ik, gh. In column 1 the first two slots form one ab cell and the last is ik, giving 2 regions. Column 2 has cd, ef, ik, giving 3. Column 3 has cd then a two-row gh, giving 2. The same horizontal counting gives 2, 3, 2 by row. The question counts distinct drawn regions, not the three underlying grid positions in each direction.

Original paper, page 4