Java SCWCD, OCWCD Quiz 3 - SCWCD Quiz | OCWCD Quiz | OCWCD Online Test
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
Java SCWCD, OCWCD Quiz 3 – SCWCD Quiz | OCWCD Quiz | OCWCD Online Test , Free Java SCWCD/OCWCD Quiz, Online Java, online Test Quiz 3. Java SCWCD/OCWCD Quiz 3 Question and Answers 2019. Let’s take scwcd or ocwcd online test or quiz that will help you to clear your concepts and will prepare you for the interviews. Java online Test Quiz 3. Java SCWCD/OCWCD Quiz 3 Free Mock Test 2019. Java SCWCD/OCWCD Quiz 3 Question and Answers in PDF. The Java online mock test paper is free for all students. Spring Online is very useful for exam preparation and getting for Rank. Java SCWCD/OCWCD Quiz 3 Question and Answers in English. Java SCWCD/OCWCD Mock test for topic via SCWCD/OCWCD Mode. Here we are providing Java SCWCD/OCWCD Quiz in English Now Test your self for “SCWCD/OCWCD Online Quiz in English” Exam by using below quiz…
This paper has 20 questions.
Time allowed is 25 minutes.
The Java SCWCD/OCWCD Mock Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
You have a use case in your web application that adds several session-scoped attributes. At the end of the use case, one of these objects, the manager attribute, is removed and then it needs to decide which of the other session-scoped attributes to remove. How can this goal be accomplished?
Correct
Incorrect
-
Question 2 of 20
2. Question
Every page of your web site must include a common set of navigation menus at the top of the page. This menu is static HTML and changes frequently, so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?
Correct
Incorrect
-
Question 3 of 20
3. Question
You are building a Front Controller using a JSP page and you need to determine if the user’s session has NOT been created yet and perform some special processing for this case. Which scriptlet code snippet will perform this test?
Correct
Incorrect
-
Question 4 of 20
4. Question
For an HttpServletResponse response, which one create a custom header?
Correct
Incorrect
-
Question 5 of 20
5. Question
A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which one jsp:setProperty attributes must be used to perform this initialization?
Correct
Incorrect
-
Question 6 of 20
6. Question
Your web application uses a simple architecture in which servlets handle requests and then forward to a JSP using a request dispatcher. You need to pass information calculated by the servlet to the JSP; furthermore, that JSP uses a custom tag and must also process this information. This information must NOT be accessible to any other servlet, JSP or session in the webapp. How can you accomplish this goal?
Correct
Incorrect
-
Question 7 of 20
7. Question
A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?
Correct
Incorrect
-
Question 8 of 20
8. Question
You are designing an n-tier Java EE application. You have already decided that some of your JSPs will need to get data from a Customer entity bean. You are trying to decide whether to use a Customer stub object or a Transfer Object. Which one statements are true?
Correct
Incorrect
-
Question 9 of 20
9. Question
You need to create a servlet filter that stores all request headers to a database for all requests to the web application’s home page “/index.jsp”. Which HttpServletRequest method allows you to retrieve all of the request headers?
Correct
Incorrect
-
Question 10 of 20
10. Question
A JSP page needs to instantiate a JavaBean to be used by only that page. Which one jsp:useBean attributes must be used to access this attribute in the JSP page?
Correct
Incorrect
-
Question 11 of 20
11. Question
Your web application requires the ability to load and remove web files dynamically to the web container’s file system. Which one HTTP methods are used to perform these actions?
Correct
Incorrect
-
Question 12 of 20
12. Question
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which one statements are true?
Correct
Incorrect
-
Question 13 of 20
13. Question
You have built a web application that you license to small businesses. The webapp uses a context parameter, called licenseExtension, which enables certain advanced features based on your client’s license package. When a client pays for a specific service, you provide them with a license extension key that they insert into the of the deployment descriptor. Not every client will have this context parameter so you need to create a context listener to set up a default value in the licenseExtension parameter. Which code snippet will accomplish this goal?
Correct
Incorrect
-
Question 14 of 20
14. Question
You are creating a new JSP page and you need to execute some code that acts when the page is first executed, but only once. Which one are possible mechanisms for performing this initialization code?
Correct
Incorrect
-
Question 15 of 20
15. Question
In an n-tier application, which two invocations are typically remote, not local?
Correct
Incorrect
-
Question 16 of 20
16. Question
A developer is designing the presentation tier for a web application which requires a centralized request handling to complete common processing required by each request. Which design pattern provides a solution to this problem?
Correct
Incorrect
-
Question 17 of 20
17. Question
The tl:taskList and tl:task tags output a set of tasks to the response and are used as
follows:
11.
12.
13.
14.
15.
The tl:task tag supplies information about a single task while the tl:taskList tag does
the final output. The tag handler for tl:taskList is TaskListTag. The tag handler for
tl:task is TaskTag. Both tag handlers extend BodyTagSupport. Which allows the
tl:taskList tag to get the task names from its nested tl:task children?Correct
Incorrect
-
Question 18 of 20
18. Question
Assume the tag handler for a st:simple tag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?
Correct
Incorrect
-
Question 19 of 20
19. Question
Given: 11. 16. Which one EL expressions, inserted at line 16, are valid and evaluate to “d”?
Correct
Incorrect
-
Question 20 of 20
20. Question
Which one is valid value for the
element inside a element of a web application deployment descriptor? Correct
Incorrect