PRJ301 FPT kì 4

PRJ301 FPT kì 4

University

70 Qs

quiz-placeholder

Similar activities

WCA Stocks, Soups, and Sauces

WCA Stocks, Soups, and Sauces

9th Grade - University

75 Qs

Management Information Systems Quiz H2

Management Information Systems Quiz H2

University

71 Qs

Primary 6 Term 2 Computing Assessment

Primary 6 Term 2 Computing Assessment

6th Grade - University

74 Qs

Revisão HTML/CSS

Revisão HTML/CSS

University

70 Qs

Memorizing the Land Card-Part One

Memorizing the Land Card-Part One

KG - University

67 Qs

final quiz

final quiz

9th Grade - Professional Development

75 Qs

FINAL EXAM REVIEW

FINAL EXAM REVIEW

University

68 Qs

hệ thống cung cấp năng lượng nhiệt

hệ thống cung cấp năng lượng nhiệt

University

73 Qs

PRJ301 FPT kì 4

PRJ301 FPT kì 4

Assessment

Quiz

Instructional Technology

University

Medium

Created by

Le HCM)

Used 1+ times

FREE Resource

70 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

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?