CUSTOM TAGS MCQs – CHAPTER 9 DAE 10 min Score: 0 Attempted: 0/10 Subscribe 1. . Which technology do we mix our business logic with the presentation logic? (A) Servlet (B) JSP (C) Both A and B (D) None of the aboveShow All Answers 2. . Which of the following is an advantage of the statement – Separation of business logic from JSP? (A) Custom Tags in JSP (B) JSP Standard Tag Library (C) All the above (D) None of the aboveShow All Answers 3. . Which tag is used to execute Java source code in JSP? (A) Scriptlet tag (B) Declaration Tag (C) Expression tag (D) None of the aboveShow All Answers 4. . A JSP page consists of which tags? (A) HTML tags (B) JSP tags (C) None of the above (D) Both A & BShow All Answers 5. . Which packages does a JSP API consist of? (A) javax.servlet.jsp (B) Both A & C (C) javax.servlet.jsp.tagext (D) java.servletShow All Answers 6. . Which of the scripting of JSP is not putting content into service method of the converted servlet? (A) Expressions (B) Declarations (C) Scriptlets (D) None of the aboveShow All Answers 7. . The difference between Servlets and JSP is the ______. (A) Syntax (B) Compilation (C) Translation (D) Both A and BShow All Answers 8. . JSP includes a mechanism for defining ______ or custom tags. (A) Static attributes (B) Local attributes (C) Dynamic attributes (D) Global attributesShow All Answers 9. . Which is not a directive? (A) include (B) export (C) page (D) taglibShow All Answers 10. . Which HTTP method is sent by browser that asks the server to get the page only? (A) POST (B) OPTION (C) PUT (D) GETShow All Answers