MCQ Web Tech
MCQ Web Tech
Answer (b)
Answer (d)
a. < select > b. < input > c.< textarea > d.< list >
Answer (d)
Answer (a)
Answer (b)
Answer (a)
Answer (a)
8. The following statements are about three important browser objects in JavaScript.
I. window object : The highest of all objects in the client-side JavaScript object hierarchy.
II. navigator object : A collection of information about the browser. Useful in browser sniffing.
a. Only (I) above b. Only (II) above c. Only (III) above d. All (I), (II) and (III) above
Answer (d)
9. The following message is displayed on the browser, while trying to access a URL
b. The URL refers to a CGI script and the header of the script does not indicate where
the interpreter is located
Answer (d)
Answer (b)
11. Which one among these is used with tag as an attribute to specify alternate text for an
image, if the image is not displayed for some reason?
a. alt
b. Alternate
c. Duplicate
d. Auxiliary
Answer (a)
a. Modelling Language
b. DTP language
Answer (d)
Answer (a)
Answer (b)
Answer (b)
d. None of these
Answer (b)
17. Which method of the Component class is used to set the position and size of a component in
JSP?
a. setSize()
b. setBounds()
c. setPosition()
d. setPositionSize()
Answer (b)
a. <SELECT>
b. <BODY>
c. <INPUT>
d. Both (a) and (b)
Answer (d)
19. In JSP, a Canvas object provides access to a Graphics object via one of its method called
a. getCanvas()
b. getGraphics()
c. paint()
d. getPaint()
Answer (c)
Answer (b)
21. The tag used to create a hypertext relationship between current document and another URL
is
a. <ISINDEX>
b. <A>
c. <LINK>
d. None of these
Answer (c)
a. <UL>
b. <OL>
c. <OT>
d. None of these
Answer (b)
Answer (d)
a. <_person>
b. <123 person>
d. None of these
Answer (A)
Answer (d)