Unit4_Servlets_Exam1

Unit4_Servlets_Exam1

Professional Development

24 Qs

quiz-placeholder

Similar activities

3TH sem GAT 2023

3TH sem GAT 2023

Professional Development

22 Qs

ExertnalLabExam_Web_Programming_CSE-1

ExertnalLabExam_Web_Programming_CSE-1

Professional Development

20 Qs

Android Quiz

Android Quiz

10th Grade - Professional Development

25 Qs

Android Studio

Android Studio

10th Grade - Professional Development

25 Qs

programmazione dinamica e servlet

programmazione dinamica e servlet

University - Professional Development

24 Qs

AJWT MCQ Quiz

AJWT MCQ Quiz

Professional Development

25 Qs

JavaScript

JavaScript

Professional Development

20 Qs

Fundamentals II - Initial Evaluation

Fundamentals II - Initial Evaluation

Professional Development

20 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?