WorksheetsSWE306 (Part 1)
Total questions: 15
Worksheet time: 5mins
What is J2EE?
Java to Platform Enterprise Editions
Java Jakarta to Platform Enterprise Editions
Java 2 Platform Enterprise Edition
Java Platform Enterprise Edition
The following is a false statement of J2EE.
Platform-dependent
Java-centric environment from Sun/Oracle
Web-based enterprise applications online
Consists of a presentation layer
Following are J2EE components.
All-tier components
Web-tier components
Business-tier components.
Enterprise information system (EIS)-tier components.
Client-tier components
Front-tier components
Logical-tier components.
Enterprise information system (EIS)-tier components.
Client-tier components
Frontend-tier components
Backend-tier components.
Enterprise information system (EIS)-tier components.
Client-tier components
Web-tier components
Business-tier components.
Enterprise information system (EIS)-tier components.
The following are the web components.
Servlet
JSP Pages
JSF Pages
All Above
What is the full abbreviation of JSF?
Java Servlet Faces
Jakarta Servlet Faces
Jakarta Server Faces
Java Serve Faces
What's NOT Java Servlet properties?
One thread per request.
Inherently single-threaded.
Extensions to Java enabled web-servers
Server side replacement for CGI
What's a Java Servlet?
Requires a deployment descriptor in the form of XHTML.
Servlets do not have a main() method.
Servlets are not under the control of a Container
Servlets writes HTML codes
HTTP REQUEST is the packet of information that one computer sends to another computer to communicate.
TRUE
FALSE
HTTP RESPONSE is the packet of information sent by CLIENT to SERVER in response to the earlier request made by the client.
TRUE
FALSE
In MVC architecture, Servlet works as Controller.
TRUE
FALSE
What is the full name of JSP?
Java Script Pages
Java Server Pages
Java Structure Pages
Java Static Pages
Which of the following methods will return null if the object can’t be found?
null()
get()
load()
empty()
Which of the following methods allows to create objects for a class?
getObject()
getInstance()
getObject()
getObjects()
How do you insert COMMENTS in Java code?
/* This is a comment
# This is a comment
// This is a comment
* This is a comment
Which operator is used to add together two values?
The & sign
The + sign
The * sign
The / sign
