Web Technology MCQ-1

1)What is the return type of servlet Request get Request Dispatcher
a)String
b)Object
c)Request Dispatcher
d)None of these

2)Spammers frequently install
a)Reverse Proxy
b)Trans Proxy
c)Open Proxy
d)HTTP Proxy

3)”GET” and “POST” belongs to ACTION
a)Attribute
b)Method
c)PROCESS attribute
d)ENCACTION attribute

4)After the first access of JSP Pages, it is converted into
a)Applet
b)Servlet
c)Servlet API
d)None of these

5)What are namespace?
a)it provides the spaces for the names
b)it is quarrying language
c)Distinguishers XML vocabulary from another
d)All of these

6)Where does a cookie get stored ?
a)in the server side
b)in the client side browser
c)on the middle user
d)in client side secondary storage

7)Which of the following are not methods in servlet life cycle
a)init()
b)destroy()
c)getservletconfig()
d)get servletoutput()

8)By default, servlet instances are
a)multi-threaded
b)single-threaded
c)no default threading policy
d)none of these

9)The attribute used to inform the server the way to handle the encryption process is
a)ENCTYPE
b)ENCRYPT
c)ENCACTION
d)ACTION

10)JAXP stands for
a)Java API for XML programming
b)JAVA API for XML processing
c)JAVA API for XML purchasing
d)JAVA API for XML preferencing

 

Answers:

1)b
2)c
3)b
4)b
5)c
6)d
7)d
8)b
9)a
10)b