Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

SWE306 (Part 1)

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

What is J2EE?

a)

Java to Platform Enterprise Editions

b)

Java Jakarta to Platform Enterprise Editions

c)

Java 2 Platform Enterprise Edition

d)

Java Platform Enterprise Edition

2.

The following is a false statement of J2EE.

a)

Platform-dependent

b)

Java-centric environment from Sun/Oracle

c)

Web-based enterprise applications online

d)

Consists of a presentation layer

3.

Following are J2EE components.

a)

All-tier components

Web-tier components

Business-tier components.

Enterprise information system (EIS)-tier components.

b)

Client-tier components

Front-tier components

Logical-tier components.

Enterprise information system (EIS)-tier components.

c)

Client-tier components

Frontend-tier components

Backend-tier components.

Enterprise information system (EIS)-tier components.

d)

Client-tier components

Web-tier components

Business-tier components.

Enterprise information system (EIS)-tier components.

4.

The following are the web components.

a)

Servlet

b)

JSP Pages

c)

JSF Pages

d)

All Above

5.

What is the full abbreviation of JSF?

a)

Java Servlet Faces

b)

Jakarta Servlet Faces

c)

Jakarta Server Faces

d)

Java Serve Faces

6.

What's NOT Java Servlet properties?

a)

One thread per request.

b)

Inherently single-threaded.

c)

Extensions to Java enabled web-servers

d)

Server side replacement for CGI

7.

What's a Java Servlet?

a)

Requires a deployment descriptor in the form of XHTML.

b)

Servlets do not have a main() method.

c)

Servlets are not under the control of a Container

d)

Servlets writes HTML codes

8.

HTTP REQUEST is the packet of information that one computer sends to another computer to communicate.

a)

TRUE

b)

FALSE

9.

HTTP RESPONSE is the packet of information sent by CLIENT to SERVER in response to the earlier request made by the client.

a)

TRUE

b)

FALSE

10.

In MVC architecture, Servlet works as Controller.

a)

TRUE

b)

FALSE

11.

What is the full name of JSP?

a)

Java Script Pages

b)

Java Server Pages

c)

Java Structure Pages

d)

Java Static Pages

12.

Which of the following methods will return null if the object can’t be found?

a)

null()

b)

get()

c)

load()

d)

empty()

13.

Which of the following methods allows to create objects for a class?

a)

getObject()

b)

getInstance()

c)

getObject()

d)

getObjects()

14.

How do you insert COMMENTS in Java code?

a)

/* This is a comment

b)

# This is a comment

c)

// This is a comment

d)

* This is a comment

15.

Which operator is used to add together two values?

a)

The & sign

b)

The + sign

c)

The * sign

d)

The / sign