¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Java 3

Ummm No 21 preguntas

Hacer el test

Preguntas del test (21)

  1. 1________ is a JSP scriptlet
    1. A<%= i %&gt
    2. B<%= Math.pow(2, 3) %&gt
    3. C<%! private long computeFactorial(int n) { if (n == 0)return 1;else return n *
      computeFactorial(n 1)
      ; } %&gt
    4. D&lt;% for (int i = 0; i <= 10; i++) { %&gt
    5. E&lt;!HTML
      Comment %&
      gt
  2. 2A JSP file ends with ________.
    1. A.java extension
    2. B.html extension
    3. C.shtml extension
    4. D.jsp extension
  3. 3________ is a JSP declaration.
    1. A&lt;%= i %&gt;
    2. B&lt;%= Math.pow(2, 3) %&gt;
    3. C&lt;%! private long computeFactorial(int n) { if (n == 0) return 1; else return n *
      computeFactorial(n 1)
      ; } %>
    4. D&lt;% for (int i = 0; i <= 10; i++) { %&gt;
    5. E&lt;!HTML
      Comment &
      gt;
  4. 4A class is a JavaBeans component if ________.
    1. Ait is a public class
    2. Bit has a public constructor with no arguments
    3. Cit is serializable.
  5. 5The JSP explicit object out is actually ________.
    1. Aresponse.getOutputStream()
    2. Bresponse.getWriter()
    3. Crequest.getOutputStream()
    4. Drequest.getWriter()
    5. Eapplication
  6. 6The ________ directive lets you provide information for the page, such as importing classes and
    setting up content type. The page directive can appear anywhere in the JSP file.
    1. Apage
    2. Binclude
    3. Ctablib
    4. Dimport
  7. 7________is a JSP expression.
    1. A&lt;%= i %&gt;
    2. B&lt;%= Math.pow(2, 3) %&gt;
    3. C&lt;%= new Date().toString() %&gt;
    4. D&lt;% for (int i = 0; i <= 10; i++) { %&gt;
  8. 8You can run JSP from ________.
    1. Aany Web server
    2. Bany JVM
    3. Cany Web server that supports Java servlet and JSP
    4. Dany Web browser
  9. 9________ is a statement that gives the JSP engine information about the JSP page.
    1. AA JSP implicit object
    2. BA JSP scriptlet
    3. CA JSP expression
    4. DA JSP directive
  10. 10Which of the following statements are true?
    1. AJSP is translated into Java servlet by a Web server when a JSP is called.
    2. BJSP is translated into HTML by a Web server when a JSP is called.
    3. CJSP is translated into XML by a Web server when a JSP is called.
    4. DYou can embed Java code in JSP.

Información

Descripción
1 Java Test sobre Java 3, creado por Ummm No el 21/04/2018.
Autor
Ummm No
Idioma
English
Visitas
2
Etiquetas
java1
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?