Question # 1 of 10 ( Start time: 10:15:32 AM ) Total
Marks: 1
JSP ____________ action element is used to obtain a reference to an existing JavaBean object.
Select correct option:
useBean ok(page 354)
setProperty
getProperty
None of these
Question # 2 of 10 ( Start time: 10:16:55 AM ) Total Marks: 1
HttpServletResponse object is created when web server executes the servlet. This object is passes to the servlet service method
which passes it to doGet () or doPost().
Select correct option:
True ok(page 414)
False
Question # 3 of 10 ( Start time: 10:18:08 AM ) Total Marks: 1
From following methods; which method is not a part of the JSP life cycle?
Select correct option:
jspInit()
jspService() ok(Pge 339)
_jspService()
jspDestroy()
Question # 4 of 10 ( Start time: 10:19:18 AM ) Total Marks: 1
getAttribute(String) extracts----------- stored value from a session object
Select correct option:
Subsequently
None of these
Previously ok(page 312)
Currently
Question # 5 of 10 ( Start time: 10:20:03 AM ) Total Marks: 1
Which of the following is not included in simple tag while creating JSP custom tags?
Select correct option:
Start of tag
End of tag
Attribues ok(page 367)
None of these
Question # 6 of 10 ( Start time: 10:21:25 AM ) 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.
Private instances must be accessed via setters/getters. ok(page 383 and 384)
Question # 7 of 10 ( Start time: 10:22:51 AM ) Total Marks: 1
Which of the following method allows any other thread of same priority to execute?
Select correct option:
sleep()
wait()
notify()
yield() ok(page 216)
Question # 8 of 10 ( Start time: 10:23:51 AM ) Total Marks: 1
Which of the following method needs to override while handling threads in java?
Select correct option:
init()
start()
run() ok(page 212)
runnable()
Question # 9 of 10 ( Start time: 10:25:12 AM ) Total Marks: 1
Which one is used to collect data when a user navigates between web pages?
Select correct option:
Session Tracking ok(page 285)
User Tracking
None of these
Session Migration
Question # 10 of 10 ( Start time: 10:26:30 AM ) Total Marks: 1
Client is referred as a
Select correct option:
Computer user
Computer that a person is using for communication purpose ok(https://www.vocabulary.com/dictionary/client)
Person which carry out web surfing
None of these
JSP ____________ action element is used to obtain a reference to an existing JavaBean object.
Select correct option:
useBean ok(page 354)
setProperty
getProperty
None of these
Question # 2 of 10 ( Start time: 10:16:55 AM ) Total Marks: 1
HttpServletResponse object is created when web server executes the servlet. This object is passes to the servlet service method
which passes it to doGet () or doPost().
Select correct option:
True ok(page 414)
False
Question # 3 of 10 ( Start time: 10:18:08 AM ) Total Marks: 1
From following methods; which method is not a part of the JSP life cycle?
Select correct option:
jspInit()
jspService() ok(Pge 339)
_jspService()
jspDestroy()
Question # 4 of 10 ( Start time: 10:19:18 AM ) Total Marks: 1
getAttribute(String) extracts----------- stored value from a session object
Select correct option:
Subsequently
None of these
Previously ok(page 312)
Currently
Question # 5 of 10 ( Start time: 10:20:03 AM ) Total Marks: 1
Which of the following is not included in simple tag while creating JSP custom tags?
Select correct option:
Start of tag
End of tag
Attribues ok(page 367)
None of these
Question # 6 of 10 ( Start time: 10:21:25 AM ) 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.
Private instances must be accessed via setters/getters. ok(page 383 and 384)
Question # 7 of 10 ( Start time: 10:22:51 AM ) Total Marks: 1
Which of the following method allows any other thread of same priority to execute?
Select correct option:
sleep()
wait()
notify()
yield() ok(page 216)
Question # 8 of 10 ( Start time: 10:23:51 AM ) Total Marks: 1
Which of the following method needs to override while handling threads in java?
Select correct option:
init()
start()
run() ok(page 212)
runnable()
Question # 9 of 10 ( Start time: 10:25:12 AM ) Total Marks: 1
Which one is used to collect data when a user navigates between web pages?
Select correct option:
Session Tracking ok(page 285)
User Tracking
None of these
Session Migration
Question # 10 of 10 ( Start time: 10:26:30 AM ) Total Marks: 1
Client is referred as a
Select correct option:
Computer user
Computer that a person is using for communication purpose ok(https://www.vocabulary.com/dictionary/client)
Person which carry out web surfing
None of these
Comments
Post a Comment
Please give us your feedback & help us to improve this site.