Unit4_Servlets_Exam1

Unit4_Servlets_Exam1

Professional Development

24 Qs

quiz-placeholder

Similar activities

Nuevas tecnologías

Nuevas tecnologías

6th Grade - Professional Development

20 Qs

ข้อสอบกลางภาควิชาเทคโนโลยี 5 ม.3

ข้อสอบกลางภาควิชาเทคโนโลยี 5 ม.3

Professional Development

20 Qs

RELAX AND RETAIN : WITH COMSSA

RELAX AND RETAIN : WITH COMSSA

KG - Professional Development

20 Qs

Basis Data Kelas XII

Basis Data Kelas XII

Professional Development

19 Qs

File Extensions

File Extensions

9th Grade - Professional Development

20 Qs

TypeScript and Popular Framework

TypeScript and Popular Framework

Professional Development

20 Qs

js DOM

js DOM

12th Grade - Professional Development

20 Qs

java revews

java revews

Professional Development

20 Qs

Unit4_Servlets_Exam1

Unit4_Servlets_Exam1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Naganjaneyulu S

Used 136+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?