O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Sem título

luke daniels 19 perguntas Atualizado em 17 jun 2017

Fazer o quiz

Perguntas do quiz (19)

  1. 1When using the POST method, variables are displayed in the URL: (0.5 mark)
    1. Aa) True
    2. Bb) False
  2. 2What is a correct way to add a comment in PHP? (0.5 mark)
    1. Aa) /*…*/
    2. Bb) <!--…-->
    3. Cc) <comment>…</comment>
    4. Dd) *\..\*
  3. 3 Choose the correct PHP variable name(s) (1.5 marks)
    1. Aa) $0name
    2. Bb) $hello0_
    3. Cc) $family name
    4. Dd) $given_name
    5. Ee) $name*
    6. Ff) $000
    7. Gg) $_000
  4. 4Choose the statement that best describes the relationship between JSP and
    servlets: (0.5 mark)
    1. Aa) Servlets are built on JSP semantics and all servlets are compiled to
      JSP pages for runtime usage.
    2. Bb) JSP and servlets are unrelated technologies.
    3. Cc) Servlets and JSP are competing technologies for handling web requests. Servlets are being superseded by JSP, which is preferred. The two technologies are not useful in combination.
    4. Dd) JSPs are built on servlet semantics and all JSPs are compiled to
      servlets for runtime usage.
  5. 5What alternatives exist to embedding Java code directly within the HTML
    markup of your JSP page? (0.5 mark)
    1. Aa) Moving the code into your session manager.
    2. Bb) Moving the code into scriptlets.
    3. Cc) Moving the code into JavaBeans and servlets.
    4. Dd) Moving the code into a transaction manager.
  6. 6What is the output of the following code? (0.5 mark)
    <% session.setAttribute("name", "John"); %>
    <%= session.getAttribute("John") %>
    1. Aa) John
    2. Bb) null
  7. 7 In which HTML section(s) do we insert JavaScript statements?
    1. Aa) The <body> section only
    2. Bb) Both the <head> section and the <body> section are correct
    3. Cc) The <head> section only
    4. Dd) None of the above.
  8. 8Which one of the following is the correct way to define an array in
    JavaScript?
    1. Aa) var txt = new Array("tim","kim","jim") ;
    2. Bb) var txt = new Array:1=("tim") 2=("kim") 3=("jim") ;
    3. Cc) var txt = new Array(1:"tim",2:"kim",3:"jim") ;
    4. Dd) var txt = new Array="tim","kim","jim" ;
  9. 9All variables in PHP start with which of the following symbols?
    1. Aa) &
    2. Bb) !
    3. Cc) $
    4. Dd) #
  10. 10 What is the correct way to include the file "time.inc" in PHP?
    1. Aa) <!--include file="time.inc"-->
    2. Bb) <% include file="time.inc" %>
    3. Cc) <?php include_file("time.inc"); ?>
    4. Dd) <?php require("time.inc"); ?>

Informações

Descrição
Quiz sobre Sem título, criado por luke daniels em 17-06-2017.
Idioma
English
Visualizações
4
Histórico
Criado em 17 jun 2017 · atualizado em 17 jun 2017
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?