Professional Documents
Culture Documents
Fall 2008
CS506- Web Design and Development (Session - 1)
Ref No: 320459
Time: 120 min
Marks: 75
Student Info
StudentID:
Center: OPKST
Q No. 9 10 11 12 13 14 15 16
Marks
Q No. 17 18 19 20 21 22 23 24
Marks
Q No. 25 26 27 28 29 30 31 32
Marks
Q No. 33 34 35 36 37 38 39 40
Marks
Q No. 41
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
From the Following; which we don’t include in simple tag while creating JSP custom tags:
► Start of tag
► End of tag
► Attributes
► None of these
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
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.
► Interface
► Inheritance
► Both Interface and Inheritance
► None of these.
-------------can be used to specify dynamic attribute values for JSTL actions without using
full-blown programming language.
► EL
► RT
► Both EL and RT
► None of these
► The code becomes a mixture of presentation, business and data access logic.
► The maintenance of the application becomes a nightmare.
► A lot of code is also get duplicated.
► All the business logic goes into one application.
When defining a method you must include a ___________ to declare any exception that might
be thrown but is not caught in the method.
► try block
► finally block
► catch block
► throws-clause
► Up casting
► Down casting
► In casting
► Out casting
int x = 7/2;
mcq
value of x is:
►1
►2
► 3.5
►3
Given the request path below, which part is context path, servlet path and path info?
/vubookshop/edu/index.html
Write the XML tags for the following scripting elements in JSP?
§ Comments:
§ Declaration:
What impact a JavaBeans object can produce when it is stored in Servlet Request
object?
Tootal 41 q thy
30MCQS n 2 q 10 marks k 2 q 5 marks k 2 q 3 marks k 1 q 2 marks k 1 q 1
marks ka
10 marks k IST q main HTTPsession k step likhne thy detail se
10 marks k 2nd q main JSP ka topic tha that
what is JSP? why its used? n also explain JSP framwork?
3 marks k aik q main CATLINA_HOME ki settings btani thi
why servlets are used as controller n JSP are never used?
3 marks ka 2nd q ye tha k
WHAT is validatin? describe build-in validator?
2 marks ka aik q ye tha k
whats advantages of JSP vs PHP?
n baqi sahi yaad ni bt JSP, sessions servlets se kafi paper tha.
I think its useful for u ppl.