GoConqr has a new look! Let us know what you think.

Quiz

Web App Midterm

Upma Sharma 42 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (42)

  1. 1Package names are all lowercase, with consecutive words simply concatenated together (no underscores) E.g. com.example.deepspace

    Class and interface names are written in: UpperCamelCase

    Method names: are lowerCamelCase (verbs, phrases e.g. sendMessage().

    Variable names: are lowerCamelCase

    Constant names CONSTANT_CASE: BUTTER_FACE
    1. ATrue
    2. BFalse
  2. 2Components of a web application:

    client computer(web browser) ---internet connection--- server computer(web server/database server)
    1. ATrue
    2. BFalse
  3. 3How do static webpages process requests?
    1. Athe database server sends HTTP response back to browser
    2. Bclient browser makes a HTTP request to the WEB SERVER. Web server accesses HTML file and returns information as a HTTP response.
  4. 4How do DYNAMIC webpages process requests?
    1. AThe client browser sends a HTTP request to the web server --> WEB APPLICATION --> DATABASE SERVER. These send HTTP response back to the browser.
    2. BThe database server and application server send a HTTP request to the client to retrieve data on user side
  5. 5What are some common web application approaches in JAVA?
    1. ASERVLET + JSP

      lower-level API does LESS work for programmer. Higher control over HTML/JS/CSS
    2. BJSF
      more work for programmer, but less control over HTML/CSS?JS
    3. CSPRING FRAMEWORK
      best of both, support and control over HTML/CSS/JS
    4. DBOOTSTRAP THYMELEAF FRAMEWORK
  6. 6[blank_start]The Java Standard Edition ( Java SE )[blank_end]
    includes the Java Development Kit
    (JDK) and the Java Runtime Environment (JRE).

    [blank_start]The Java Enterprise Edition ( Java EE )[blank_end]
    specification describes how web servers can interact with all Java web technologies.

    [blank_start]Servlets[blank_end] store the Java code that does the server
    -
    side processing.

    [blank_start]JavaServer Pages ( JSP )[blank_end]
    store the HTML and dynamically defines the user
    interface.

    [blank_start]JavaServer Faces ( JSF )[blank_end]
    is a higher
    -
    level API that can be used instead of
    both servlets and JSPs.

    [blank_start]Java Persistence API ( JPA )[blank_end]
    is a powerful and convenient API for working with databases
    1. AThe Java Standard Edition ( Java SE )
    2. BThe Java Enterprise Edition ( Java EE )
    3. CServlets
    4. DJavaServer Pages ( JSP )
    5. EJavaServer Faces ( JSF )
    6. FJava Persistence API ( JPA )
  7. 7In a SERVLET/JSP web app. The client browser makes a HTTP REQUEST to server that houses the WEB SERVER/JSP ENGINE, JDK AND DATABASE SERVER
    1. ATrue
    2. BFalse
  8. 8IN multi-tier architecture what layers are present?
    1. APRESENTATION (html, jsp)
    2. BBUSINESS RULES ( servlet, javabeans)
    3. CDATA ACCESS (db, text files, binary files)
    4. DDATA SETUP
  9. 9Which are popular webservers?
    1. ATOMCAT
    2. BGLASSFISH
    3. CWILDFLY
    4. DBUTTERFLY
    5. EJAMMY
    6. FJETTY
    7. GORACLE WEBLOGIC
  10. 10METHOD NAME: getFirstName

    PROPERTY NAME: remove get firstName, number (getNumber), getSIN SIN
    Otherwise: crash at the runtime with
    PropertyNotFoundException
    1. ATrue
    2. BFalse

Information

Description
Quiz on Web App Midterm, created by Upma Sharma on 21/02/2019.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?