PRJ301 FPT kì 4

PRJ301 FPT kì 4

University

70 Qs

quiz-placeholder

Similar activities

Bộ câu hỏi tin học

Bộ câu hỏi tin học

University

75 Qs

การพัฒนาระบบสารสนเทศ

การพัฒนาระบบสารสนเทศ

University

72 Qs

PRJ301 FPT kì 4

PRJ301 FPT kì 4

Assessment

Quiz

Instructional Technology

University

Medium

Created by

Le HCM)

Used 1+ times

FREE Resource

AI

Enhance your content

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

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

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?