The 'Pex Software Java Developer Test' focuses on assessing Java Server Pages (JSP) knowledge. It evaluates understanding of JSP syntax, server-client interactions, and common pitfalls in JSP coding, preparing developers for practical web application development tasks.
You need to delete the ; character
Use
Use
None of them
Rate this question:
Forward executes on the server while sendRedirect() executes on the client.
Forward executes on the client while sendRedirect() executes on the server.
The two methods perform identically.
None of these
Rate this question:
Applet
Servlet
Application
Mailet
Rate this question:
Unmatched bracket in for statement
Flush attribute must be false
Keyword 'file' should be used instead of 'page' in the action
Actions cannot be used within scriptlet blocks
Rate this question:
Cookie class can not take parameters in it's constructor
The request object is used for creating cookies
Although no error will be reported the use of the action means that the response object can't be used to create cookies.
The action must be placed inside the script block
Rate this question:
Using the < jsp:readParam /> action
Using the < jsp:getParam /> action
Use the request.getParameter() method
Rate this question:
The two methods provide the same functionality, but with different levels of persistence.
The forward method is deprecated as of JSP 1.1 and the include method should be used in order to substitute portions of a dynamic display at runtime.
The include method transfers control to a dynamic resource, while the forward method allows for dynamic substitution of another JPS pages output, returning control to the calling resource.
He forward method transfers control to the designated resource, while the include method invokes the designated resource, substitutes its output dynamically in the display, and returns control to the calling page.
Rate this question:
Servlets are built on JSP semantics and all servlets are compiled to JSP pages for runtime usage.
JSP and servlets are unrelated technologies.
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.
JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage.
Rate this question:
Javax.servlet.*
Java.servlet.*;
Javax.servlet.HttpRequest
Javax.servlet.HttpResponse
Rate this question:
Objects with session scope are accessible from pages processing requests that are in the same session as the one in which they were created.
It is not legal to define an object with session scope from within a page that is not session-aware.
All references to the object shall be released after the associated session ends.
References to objects with session scope are stored in the session object associated with the page activation.
All above
Rate this question:
Javax
Java
Java.io
Java.lang
Rate this question:
255
225
264
250
Rate this question:
Can include dynamically generated output.
Provides benefit of automatic recompilation.
Can be used to incorporate contents from static documents
It offers option of sharing local variables and better run time efficiency
Rate this question:
JSP standard directives
JSP standard actions.
Script language declarations, scriplets and expressions.
A portable tag extension mechanism.
Rate this question:
JSP page is a text-based document that describes how to process a request to create a response.
JSP page is a text-based document that describes how to process a to response create a request.
JSP page is a xml-based document that describes how to process a request to create a response.
JSP page is a xml-based document that describes how to process a to response create a request.
Rate this question:
Objects with application scope are accessible from pages processing requests that are in the same application as they one in which they were created.
All references to the object shall be released when the runtime environment reclaims the ServletContext.
Objects with application scope can be defined (and reached) from pages that are not session-aware
References to objects with application scope are stored in the application object associated with a page activation
Rate this question:
A Servlet can handle multiple requests concurrently, and synchronize requests.
Servlet support systems such as online real-time conferencing.
Servlet can forward requests to other servers and Servlet.
Servlet can be used to balance load among several servers that mirror the same content, and to partition a single logical service over xseveral servers, according to task type or organizational boundaries.
Rate this question:
DoPost()
DoGet()
System.out.println()
System.exit(0);
Rate this question:
True
False
Rate this question:
< scripting >
< javascript >
< script >
< js >
Rate this question:
response.write("Hello World")
document.write("Hello World")
("Hello World")
Echo("Hello World")
Rate this question:
Call function myFunction
MyFunction()
Call myFunction()
Rate this question:
if i==5 then
if i=5 then
if (i==5)
if i=5
Rate this question:
If (i 5)
If (i != 5)
if =! 5 then
if 5
Rate this question:
new("http://www.ex-designz.net","window5")
window.open("http://www.ex-designz.net","window5")
open.newwindow("http://www.ex-designz.net","window5")
new.window("http://www.ex-designz.net","window5")
Rate this question:
browser.name
navigator.appName
client.navName
Rate this question:
setTimeout("a["+i+"]",1000)
k = a & i
k = a(i)
Rate this question:
Document.getElementById('accountField').value;
Document.getElementById('account').value;
document.getElementById[0].value;
Document.getElementById(accountField).value;
None of them
Rate this question:
Function testFunc(){}
Public String testFunc(){}
Function String testFunc() {}
Function x testFunc() {}
None of them
Rate this question:
/etc/hostname.conf
/etc/dns.conf
/etc/host.conf
/etc/resolve.conf
Rate this question:
666
755
766
777
Rate this question:
Something you do to a watermelon
A command to delete multiple files
A network bit format
A command shell
Rate this question:
Lists the settings of the OS
Lists the contents of the directory
List command to list contents of files
Finnish words, means to direct a file to a port
None of the Above
Rate this question:
Fdisk
Crfs
Mkfs
Fs
Rate this question:
Administrator
Admin
Superuser
Root
Head
Rate this question:
* and ?
/
?
&
Z
Rate this question:
Kill
Stop
End
Wait
CTL-ALT-DEL
Rate this question:
Login root
Chuser root
Su
Root
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Ma
M$a
M
error message
Rate this question:
Tar xfzv file.tar.gz
Tar fzv file.tar.gz
Tar cfzv file.tar.gz
gzip e file.tar.gz
None of them
Rate this question:
Quiz Review Timeline (Updated): Mar 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.