FINALTERM EXAMINATION
Spring 2010
CS506- Web Design and Development (
Time: 90 min
Marks: 60
Question No: 1 ( Marks: 1 ) - Please choose one
DSN stands for ___________.
► Domain System Name
► Data Source Name
► Database System Name
► Database Simple Name
Question No: 2 ( Marks: 1 ) - Please choose one
One application has _________ servlet context(s).
► 1
► 2
► 3
► 4
Question No: 3 ( Marks: 1 ) - Please choose one
In packages, we organize files into different directories according to their ____________.
► Functionality
► Usability
► Category
► All of these
Question No: 4 ( Marks: 1 ) - Please choose one
Entire JSP page gets translated into a servlet ____________.
► Once
► Every time when it is accessed
► Every time when the page is refreshed
► Every time when the browser is restarted
Question No: 5 ( Marks: 1 ) - Please choose one
A bean class ___________ be serializable.
► Can
► Can’t
► Must
► Shouldn’t
Question No: 6 ( Marks: 1 ) - Please choose one
JSP action elements allow us to work with _____________.
► HTML
► JavaScript
► JavaBeans
► ManagedBeans
Question No: 7 ( Marks: 1 ) - Please choose one
MVC stands for _____________.
► Model View Content
► Model View Controller
► Multi View Controller
► Multi View Content
Question No: 8 ( Marks: 1 ) - Please choose one
Layers represent the _____________ view of application.
► Physical
► Logical
► External
► None of these
Question No: 9 ( Marks: 1 ) - Please choose one
Tiers represent the _____________ view of application.
► Physical
► Logical
► External
► None of these
Question No: 10 ( Marks: 1 ) - Please choose one
Managed Bean is JavaBeans which are defined in ------------------
► Configuration file
► Source file
► Class file
► None of these
Question No: 11 ( Marks: 1 ) - Please choose one
UDDI stands for
► Universal Description, Discovery & Integration (UDDI)
► Universal Data, Discovery & Integration (UDDI)
► Universal Data, Database & Integration (UDDI)
► None of these
Question No: 12 ( Marks: 1 ) - Please choose one
_____________ is a standard web based application framework.
► Java
► Servlet
► JSP
► JSF
Question No: 13 ( Marks: 1 ) - Please choose one
Which of the following is a general purpose container?
► JFrame
► JDialog
► JPanel
► JWindow
Question No: 14 ( Marks: 1 ) - Please choose one
Which of the following component is/are used in directory Structure of web components?
► html, JSP, Images etc..
► web.xml, Classes folder
► lib, jar files
► All of the given options
Question No: 15 ( Marks: 1 ) - Please choose one
Which of the following is a correct order for Bean scope in JSP page from most visible to least visible?
► application, session, request, page
► page, request, session, application
► session, page, request, application
► application, session, page, request
Question No: 16 ( Marks: 1 ) - Please choose one
Which of the following is not included in simple tag while creating JSP custom tags?
► Start of tag
► End of tag
► Attributes
► None of the given options
Question No: 17 ( Marks: 1 ) - Please choose one
AWT is also called ______________.
► Light Weight Component
► Medium Weight Component
► Heavy Weight Component
► None of the given options
Question No: 18 ( Marks: 1 ) - Please choose one
Which of the following is NOT a standard method called as a part of the JSP life cycle?
► jspInit()
► jspService()
► _jspService()
► jspDestroy()
Question No: 19 ( Marks: 1 ) - Please choose one
Initialization parameters of a servlet are defined in __________ file.
► html
► JSP
► web.xml
► servlet
Question No: 20 ( Marks: 1 ) - Please choose one
The getSession() method of _________ returns HttpSession object.
► HttpServletResponse
► HttpServletRequest
► ServletConfig
► ServletContext
Question No: 21 ( Marks: 1 ) - Please choose one
Unpack directory structure of J2EE web application is __________
► Known as Web Archive file (WAR)
► Used during development of web application
► Used to deploy web application
► None of the given options
Question No: 22 ( Marks: 1 ) - Please choose one
Which of the following directory is the top level TOMCAT directory that contains all the application deployed on web server?
► webapps
► bin
► lib
► tags