Web Technology: GATE CS Previous Year Questions

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 6–10 of 15

Q6GATE 20081 markMCQ−0.33 if wrong
Which of the following is TRUE only of XML but NOT HTML?

Q7GATE 20071 markMCQ−0.33 if wrong
Consider the following clauses:

i. Not inherently suitable for client authentication.
ii. Not a state sensitive protocol.
iii. Must be operated with more than one server.
iv. Suitable for structured message organization.
v. May need two ports on the serve side for proper operation.

The option that has the maximum number of correct matches is

Q8GATE 20071 markMCQ−0.33 if wrong
Consider the XML document fragment given below:
<Book>
<Title>GATE 2K7 Example<Title>
<Content>
             One of many lines
</Content>
<TOC>
One of many content entries
</TOC>
</Book>
Consider the XPath expression: *[not (self ) : : TOC]
What would be the result of the given XPath expression when the current node is Book?

Q9GATE 20071 markMCQ−0.33 if wrong
Given below are some HTML lines.
<img src = "pict.jpg" width = "256" height = "256" border = "0" usemap = "#map" />
<map name = "map" >
<area shape = "poly" coords = "50, 50, 50, 100, 100, 100, 75, 75, 100, 50" href = "fl.html">
<area shape= "circle" coords = "100, 75, 5" href = "../cgi-bin/f2.p1 ? v1 = ask abc's age">
<area shape=" default" href = "fd.html">
</map>
With reference to the HTML lines given above, consider the following statements.
1. Clicking on the point <80, 75> does not have any effect.
2. 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.
3. The dots in the cgi-bin URL will be resolved by the web browser before it is sent to the web server
4. 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?

Q10GATE 20051 markMCQ−0.33 if wrong
Given below is an excerpt of an xml specification.
<!DOCTYPE library SYSTEM "library.dtd">
<Book>
<title> GATE 2005 </title>
<type value = "BROCHURE"/>
<accno>10237623786</accno>
</Book>
<Book>
<type value = "FICTION"/>
<accno>0024154807</accno>
</Book>

Given below are several possible excerpts from "library.dtd". For which excerpt would the above specification be valid?
A. <!ELEMENT Book (title+, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type EMPTY>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ELEMENT accno (#PCDATA)>

B. <!ELEMENT Book (title?, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type ATTLIST>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ATTLIST accno value (#PCDATA)>

C. <!ELEMENT Book (title*, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type ATTLIST>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ELEMENT accno (#PCDATA)>

D. <!ELEMENT Book (title?, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type EMPTY>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ELEMENT accno (#PCDATA)>

Keep practising

Topics in Software Engineering and Web Technology

All CS topics ›
Software Engineering56 questions · asked in 11 years
Web TechnologyYou are here15 questions · asked in 7 years