VUsolutions Transferred to AchiKhasi.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to http://achikhasi.com/vu/ . So, you may visit http://achikhasi.com/vu/ for latest study related help.

Back to home VUsolutions

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

CS506 Current Spring 2011 Final Term VU Paper [July 2011] Virtual University of Pakistan

Wednesday, July 20, 2011 Posted In Edit This
CS506 Current Spring 2011 Final Term VU Paper [July 2011] Virtual University of Pakistan


MCQ = 40 x 1 mark each = 40
Subjective = 5 x 2 marks each = 10
= 5 x 3 marks each = 15
= 3 x 5 marks each = 15
Total 53 Questions = 80

Question No: 1 ( Marks: 1 ) - Please choose one
From the following; which component is/are used in directory Structure of web components:
► index.htm, JSP, Images etc.
► Web-inf, web.xml
► Classes, servlets classes
► lib, jar files
► All of these

Question No: 2 ( Marks: 1 ) - Please choose one
From following; which is the main reason that enters a thread into dead state:
► a)It dies a natural death because thread completes its execution.
► b)It is killed because someone invoked its stop method.
► Both a and b.
► None of these.

Question No: 3 ( Marks: 1 ) - Please choose one
RPC stands for
► Remote Personal Computer (RPC)
► Remote Procedure Calls (RPC).
► Remote Procedure Client (RPC)
► None of these

Question No: 4 ( Marks: 1 ) - Please choose one
From the following which one is not a built-in validator?
► DoubleRangeValidator
► LongRangeValidator
► LengthValidator
► StringValidator

Question No: 5 ( Marks: 1 ) - Please choose one
The ___________ represent the state of component.
► View
► Model
► Controller
► Component

Question No: 6 ( Marks: 1 ) - Please choose one
The following value of JavaBean's scope attribute has local variable.
► Page
► Request
► Session
► Application

Question No: 7 ( Marks: 1 ) - Please choose one
Which of the following is not part of http response?
► Result Code
► URI
► Header fields
► Body

Question No: 8 ( Marks: 1 ) - Please choose one
In which file do we define a servlet mapping?
► Web.xml
► Servlet.mappings
► Servlet.xml
► None of the given

Question No: 9 ( Marks: 1 ) - Please choose one
Web server is a software which provides services to access _________.
► Internet
► Intranet
► Extranet
► All of the given

Question No: 10 ( Marks: 1 ) - Please choose one
DSN stands for ___________.
► Domain System Name
► Data Source Name
► Database System Name

Question No: 11 ( Marks: 1 ) - Please choose one
Managed Bean is JavaBeans which are defined in ------------------
► Configuration file
► Source file
► Class file
► None of these

Question No: 12 ( 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: 13 ( Marks: 1 ) - Please choose one
Which of the following is a correct order for Bean scope in JSP page from least visible to most visible?
► application, session, request, page
► page, request, session, application
► session, page, request, application
► application, session, page, request


Question No: 14 ( Marks: 1 ) - Please choose one
Pack directory structure of J2EE web application is __________
► Where each directory & file exists in the file system separately
► Used during development of web application
► Used to deploy web application
► None of the given options

Question No: 15 ( Marks: 1 ) - Please choose one
By using forward() method of _________ object, the called resource will be able to access the original request object.
► HttpServletRequest
► HttpServletResponse
► RequestDispatcher
► ServletConfig

Question No: 16 ( Marks: 1 ) - Please choose one
From which object do you ask for DatabaseMetaData?
Connection
ResultSet
DriverManager
Driver

Question No: 17 ( Marks: 1 ) - Please choose one
JavaBeans are?
A special Java class file
Servlets
Applets
A Special form of JSP
None of Given

Question No: 18 ( Marks: 1 ) - Please choose one
Which of the following range of response code indicates that request was successful?
Select correct option:
100-199
200-299
300-399
400-499
Question No: 19 ( Marks: 1 ) - Please choose one

DSN stands for _______
1. Data System Name
2. Domain system Name
3. Data Source Name
4. Database System Name
Question No: 20 ( Marks: 1 ) - Please choose one

CREATE, ALTER, DROP are _________ SQL statements.
1. DML
2. DDL
3. DCL
4. None of given
Question No: 21 ( Marks: 1 ) - Please choose one

How many forms of redirect?
_ One
_Two
_Three
_Four
Question No: 22 ( Marks: 1 ) - Please choose one

Strings in java are represented as __________
Select correct option:
Primitive data types
Reference data types
Native data types
Operators
Question No: 23 ( Marks: 1 ) - Please choose one

Managed Bean is JavaBeans which are defined in ------------------
► Configuration file
► Source file
► Class file
► None of these

Question No: 24 ( Marks: 1 ) - Please choose one

From which object do you ask for DatabaseMetaData?
A. Connection
B. ResultSet
C. DriverManager
D. Driver

What are the disadvantages of url rewriting 3 marks
What is impact a java bean object can produce when it is stored in an application 3 marks
When thread's run() method is invoked? 3 marks
What is differences between getRequestDispatcher(String path) method using javax.servlet.httpServletRequest or using servletContext? 3 marks
What are packages? and how they are organized? 5 marks
Write literals used in Expression Language 5 mark

Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit
Caliplus 300x250 NoFlam VitoLiv 468x60 GlucoLo