
MasterCard-Servlet-03-08-23
Authored by Nirmala Sherine
Professional Development
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which are the session tracking techniques? i. URL rewriting ii. Using session object iii.Using response object iv. Using hidden fields v. Using cookies vi. Using servlet object
i, ii, iii, vi
i, ii, iv, v
i, vi, iii, v
i, ii, iii, v
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is stored at client side?
URL rewriting
Hidden form fields
SSL sessions
Cookies
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the maximum size of cookie?
4 KB
4 MB
4 bytes
40 KB
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can we invalidate a session?
session.discontinue()
session.invalidate()
session.disconnect()
session.falsify()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following code is used to get an attribute in a HTTP Session object in servlets?
session.getAttribute(String name)
session.alterAttribute(String name)
session.updateAttribute(String name)
session.setAttribute(String name)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?