1
GATE CSE 2015 Set 3
MCQ (Single Correct Answer)
+1
-0.3
In a web server, ten WebPages 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 WebPages remains on the web server. $$W1$$ contains several relative URLs of the form “$$var$$.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?
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”>
2
GATE CSE 2015 Set 2
MCQ (Single Correct Answer)
+1
-0.3
Which one of the following statements is NOT correct about $$HTTP$$ cookies?
A
A cookie is a piece of code that has the potential to compromise the security of an Internet user
B
A cookie gains entry to the user’s work area through an $$HTTP$$ header
C
A cookie has an expiry date and time
D
Cookies can be used to track the browsing pattern of a user at a particular site

GATE CSE Subjects

Browse all chapters by subject

Software Engineering
Web Technologies