
Java Servlets
Quiz
•
University
•
Practice Problem
•
Hard
HAREESH KUMAR
Used 159+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is bytecode?
Machine-independent code
Java code
Machine-specific code
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following are interface? 1. ServletContext 2. Servlet 3. GenericServlet 4. HttpServlet
1,4
1,2,3,4
1,2
1,3,4
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The life cycle of a servlet is managed by
servlet context
servlet container
the supporting protocol (such as http or https)
All of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which JDBC driver Types are for use over communications networks?
Type 3 only
Type 4 only
Both Type 3 and Type 4
Neither Type 3 nor Type 4
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How does Tomcat execute a JSP?
As a CGI script
As an independent process
By one of Tomcat's threads
None of the above is correct.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which class provides stream to read binary data such as image etc. from the request object?
ServltInputStream
ServletOutputStream
ServletContext
None of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which method of HttpServletResponse interface can be used to redirect response to another resource, it may be servlet, jsp or html file?
forward()
sendRedirect()
reDirect()
forwardReDirect()
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?
Similar Resources on Wayground
13 questions
Our Environment
Quiz
•
6th Grade - University
20 questions
BUS 1038 - Practice Test 2 - Part 1
Quiz
•
University
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
Quiz
•
University
14 questions
Transportation and Commuting Quiz
Quiz
•
University
16 questions
Freight Rate
Quiz
•
University
12 questions
RDBG LO4 LS1-6
Quiz
•
University
20 questions
Latsol 2. Persebaran Organisme Dunia dan Indonesia
Quiz
•
University
20 questions
Topic 5: Stretching Techniques
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
