Java Servlet

Java Servlet

Professional Development

20 Qs

quiz-placeholder

Similar activities

Unit 17: Maintain database & guest records

Unit 17: Maintain database & guest records

Professional Development

20 Qs

Web API - Post Assessment

Web API - Post Assessment

Professional Development

18 Qs

Module 4 Unit 2-3

Module 4 Unit 2-3

Professional Development

20 Qs

Servlets

Servlets

Professional Development

20 Qs

Sept2022 AdvJava

Sept2022 AdvJava

Professional Development

20 Qs

Pre-Test Under Cyber Closet Project

Pre-Test Under Cyber Closet Project

Professional Development

25 Qs

Servlet Basics (Dr LJK)

Servlet Basics (Dr LJK)

Professional Development

20 Qs

LNCTU Servlet

LNCTU Servlet

Professional Development

15 Qs

Java Servlet

Java Servlet

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Sudharson Kumar

Used 197+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct order of servlet life cycle phase methods?

A - init(), service(), destroy()

B - initialize(), service(), destroy()

C - init(), execute(), destroy()

D - init(), service(), delete()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is true about HTTP Get method?

A - The GET method sends the encoded user information appended to the page request.

B - The GET method is the defualt method to pass information from browser to web server.

C - Both of the above.

D - None of the above.

3.

MULTIPLE CHOICE QUESTION

20 sec • 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

a) i, ii, iii, vi

b) i, ii, iv, v

c) i, vi, iii, v

d) i, ii, iii, v

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which packages represent interfaces and classes for servlet API?

a. javax.servlet

b. javax.servlet.http

c. Both A & B

d. None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method in session tracking is used in a bit of information that is sent by a web server to a browser and which can later be read back from that browser?

a. HttpSession

b. URL rewriting

c. Cookies

d. Hidden form fields

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Select the Packages to implement the Servlet

javax.servlet

javax.servlet.http

Both can be used

None of the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

HTTP is a

Stateful protocol

Stateless protocol

State transfer protocol

All the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?