CS506 Web Design and Development Online Quiz No. 04 Solution and Discussion Spring 2014


question # 1 of 10 ( Start time: 11:38:55 PM ) Total Marks: 1
From following tags, which one is the Special JSP tag?
Select correct option:
<jsp: .…. /> Ans
<%! %>
<%= %>

<%@ %>

Question # 2 of 10 ( Start time: 11:40:21 PM ) Total Marks: 1
A user defined component that is used to perform certain action is called______.
Select correct option:
Built-in Tags
JSP action element
Custom tag Ans
jsp:useBean

Question # 3 of 10 ( Start time: 11:41:34 PM ) Total Marks: 1
Which of the following is NOT true about JavaBean?
Select correct option:
It should not have any public variable.
It must be serializable.
It must not have any zero argument constructor. Ans
Private instances must be accessed via setters/getters.

Question # 4 of 10 ( Start time: 11:42:21 PM ) Total Marks: 1
getId( ) returns the unique ID of
Select correct option:
Current session Ans
Previous session
Next session
Both Next and Previous session

Question # 5 of 10 ( Start time: 11:43:10 PM ) Total Marks: 1
Hidden Forms Fields contain the information that is needed to send to the
Select correct option:
Client
Server Ans
Both server and client
Neither server nor client

Question # 6 of 10 ( Start time: 11:44:08 PM ) Total Marks: 1
From the following indicators; which is added in user session to know the session time out?
Select correct option:
Sessiontimeoutindicator Ans
SessionTimeOutIndicator
SessionTimeoutIndicator
sessionTimeOutIndicator

Question # 7 of 10 ( Start time: 11:44:56 PM ) Total Marks: 1
To define the error page in JSP we use following tag?
Select correct option:
exception-type
error-type
error-page Ans
exception-page

Sponsored Links

Question # 8 of 10 ( Start time: 11:45:51 PM ) Total Marks: 1
JSP scripting elements is/are
Select correct option:
Declarations
Scriptlets
expressions
All of these Ans

A Tier represents the _______ view of application.
Select correct option:
Physical Ans
Logical
Biological
Local

Question # 10 of 10 ( Start time: 11:47:12 PM ) Total Marks: 1
Which of the following is the best choice as a controller in MVC Model Architecture?
Select correct option:
Java
Servlet Ans
JavaScript
JSP