Which of the following statements are correct about the status of the Http response? Select the one correct answer

PRJ301 FPT kì 4

Quiz
•
Instructional Technology
•
University
•
Medium
Le HCM)
Used 1+ times
FREE Resource
70 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. A status of 200 to 299 signifies that the request was successful.
B. A status of 300 to 399 is informational messages.
C. A status of 400 to 499 indicates an error in the server
D. A status of 500 to 599 indicates an error in the client.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Servlet methods are executed automatically.
A. True
B. False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want the same servlet to handle both GET and POST and to take the same action for each, you can simply have doGet call doPost, or vice versa.
A. True
B. False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a web server responds to a request from a browser or other Web client the response typically consists of: (Choose one)
A. a status line, some response headers, a blank line, and the document
B. a status line, a blank line, and the document
C. a blank line, a status line, some response headers and the document
D. a status line, some response headers, and the document
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is legal return type of the doStartTag method defined in a class that extends TagSupport class?
A. EVAL_PAGE
B. EVAL_BODY
C. EVAL_PAGE_INCLUDE
D. EVAL_BODY_INCLUDE
E. SKIP_PAGE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Classes HttpServlet and GenericServlet implement the ___ interface.
A. Servlet
B. Http
C. HttpServletRequest
D. HttpServletResponse
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have to send a gif image to the client as a response to a request. Which of the following calls will you have to make?
A. response.setContentType("image/gif");
B. response.setType("application/gif");
C. response.setContentType("application/bin");
D. response.setType("image/gif");
Create a free account and access millions of resources
Similar Resources on Quizizz
65 questions
Final Examination of Intro to Computing

Quiz
•
University
67 questions
Final Exam Study Guide [Technical Drafting]

Quiz
•
University
66 questions
AOOP quiz

Quiz
•
University
66 questions
IOS 3 & 4 #2

Quiz
•
University
66 questions
Gestión de Proyectos Informáticos

Quiz
•
University
70 questions
MASTER OPENBOOK EXAM #6

Quiz
•
University
65 questions
Storage and Hardware Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade