Multiple-choice Questions on Web Technology
1. Which one of the following is an example of an ‘internet search engine?
a. LINUX b. Google c. MS Word d. Windows
Answer (b)
2. At which port number, Simple Network Management Protocol (SNMP) operates
a. 160 b. 163 c. 164 d. 161
Answer (d)
3. Which of the following is not an HTML tag?
a. < select > b. < input > c.< textarea > d.< list >
Answer (d)
4. Which among these is not a Web browser?
a. www b. Chrome c. Opera d. NetSurf
Answer (a)
5. World Wide Web was invented by
a. Ted Nelson b. Tim Berners-Lee c. Linus Torvalds d. Robert E. Kahn
Answer (b)
6. What does W3C stand for?
a. World Wide Web Consortium b. World Wide Website Consortium
b. World Wide Website Community d. World Wide Web Community
Answer (a)
7. What does HTML stand for?
a. Hyper Text Markup Language b. High Text Markup Language
b. Hyper Tabular Markup Language d. None of these
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.
III. document object : Provides access to the document being viewed.
Which of the above statements is/are true?
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
Server; Error 403
The reason for the message:
a. The requested HTML file is not available
b. The URL refers to a CGI script and the header of the script does not indicate where
the interpreter is located
c. The path to the interpreter of the script file is invalid
d. The requested HTML file or CGI script has insufficient permission
Answer (d)
10. Which of the following statements is true regarding HTTP?
a. Web browsers use only HTTP as a communication protocol with servers
b. It does not maintain any connection information on previous transactions
c. It is designed to route information based on content
d. It refers to resources using their Universal Resource Identifier (URI)
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)
12. Which among the following options is correct regarding HTML?
a. Modelling Language
b. DTP language
c. Partial programming language
d. Used to structure web documents
Answer (d)
13. HTTPs stands for
a. Hyper Text Transfer Protocol Secure
b. High Text Transfer Protocol Secure
c. Hyper Transfer Protocol Secure
d. Hyper Transfer Protocol Standard
Answer (a)
14. XML stands for
a. Extensible Mask Language
b. Extensible Markup Language
c. Extended Markup Language
d. Extension Markup Language
Answer (b)
15. Which of the following is NOT true regarding JavaScript?
a. JavaScript is a loosely typed language
b. JavaScript is event driven
c. JavaScript is not an object-based language
d. JavaScript can not run in standalone mode
Answer (b)
16. What are Empty elements and is it valid?
a. No, there are no such terms as Empty Elements
b. Empty elements are element with no data
c. No, it is not valid to use Empty Element
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)
18. Which of the following is a container?
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)
20. How can you open a link in a new browser window?
a. < a href = “url” target = “new”>
b. <a href = “url” target= “_blank”>
c. <a href = “url”.new>
d. <a href = “url” target =”open”>
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)
22. Which tag creates a number/order list?
a. <UL>
b. <OL>
c. <OT>
d. None of these
Answer (b)
23. Consider the following statement:
GET /cgi-bin/[Link]&want=[Link] HTTP/1.0
Which of the following options is the correct one?
a. The above statement is a part of a request from a web client
b. The above statement is a part of the input to a CGI program
c. Want is a variable and [Link] is a value
d. [Link] may be a CGI program
Answer (d)
24. Which of the following is a Valid Name?
a. <_person>
b. <123 person>
c. Both (a) and (b)
d. None of these
Answer (A)
25. Which of the following statements is not true regarding JavaScript?
a. JavaScript is a loosely typed language
b. JavaScript is an object-based language
c. JavaScript is event driven
d. A JavaScript embedded in an HTML document is compiled and executed by the client
browser
Answer (d)