Unit4_Servlets_Exam1

Unit4_Servlets_Exam1

Professional Development

24 Qs

quiz-placeholder

Similar activities

DSP_Midterm Quiz

DSP_Midterm Quiz

Professional Development

20 Qs

CKAD (1-4)

CKAD (1-4)

Professional Development

28 Qs

Pygame_первое движение

Pygame_первое движение

Professional Development

21 Qs

Microsoft 98-365 Server Admin Part 2

Microsoft 98-365 Server Admin Part 2

KG - Professional Development

22 Qs

Web Application Development (WAD)

Web Application Development (WAD)

Professional Development

25 Qs

Android

Android

10th Grade - Professional Development

25 Qs

TypeScript and Popular Framework

TypeScript and Popular Framework

Professional Development

20 Qs

Linux Essentials

Linux Essentials

Professional Development

22 Qs

Unit4_Servlets_Exam1

Unit4_Servlets_Exam1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Naganjaneyulu S

Used 136+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _______ specification defines an application programming interface for communication between the server and the application program

Java Servlet

java jdbc

java applet

java swing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which packages represent interfaces and classes for servlet API?

javax.servlet

javax.servlet.http

both 1 and 2

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the lifecycle of a servlet?

Servlet class is loaded

Servlet instance is created

init(),service() and destroy() methods will be called

All the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times init() method is called during life time of a servlet?

two times

one time

several times

never called

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many time destroy() method will be called during the life time of a Servlet?

one

two

several time

never called

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

When will call init() method of a servlet?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When destroy method() of servlet called ?

for first request

when you close the browser window

when you remove the application from server

none of 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?