Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
0 Points
Question 1 of 20
What is the correct HTML for creating a hyperlink?
A. <a name="">A</a>
B. <a href="http://www.example.com">example</a>
C. <a url="http://www.example.com">example</a>
D. <a>B</a>
B. <font font-color="blue">blue</font>
C. <font color="blue">blue</font>
B. <check>
D. <checkbox>
A. <br />
B. <lb />
C. <p />
D. <break />
True
False
A. <LI></LI>
B. <OL></OL>
C. <UL></UL>
D. <DL></DL>
A. <ul>…</ul>
B. <list>…</list>
C. <ol>…</ol>
D. <bullet>…</bullet>
A. <select>
B. <list>
C. <meta> … </meta>
D. <metadata name = ” ” />
A. a {decoration:no underline}
B. a {underline:none}
C. a {text-decoration:none}
D. a {text-decoration:no underline}
A. #FF0000
B. #FF00FF
C. #0000FF
D. #00FF00
A. f:
B. font-style:
C. font-face:
D. font-family:
B. a:active
C. a:hover
D. a:link
A. span {text-size:bold}
B. <span style="text-size:bold">
C. <span style="font-size:bold">
D. span {font-weight:bold}
A. <stylesheet>
B. <style>
C. <script>
D. <css>
A. <background>yellow</background>
B. <body background="yellow">
C. <body style="background-color:yellow">
D. All of Above
0.0/ 5.0 Points
Question 19 of 20
How do you make each word in a text start with a capital letter?
A. text-transform:capitalize
B. text-transform:uppercase
<script type=""text/javascript"">
var cst = ""FPT Software JSC Danang Branch"";
var result = cst.split("" "");
document.write(result);
</script>
C. FPT,Software,JSC,Danang,Branch
D. "FPT
Software
JSC
Danang
Branch"
A. onchange()
B. blur()
C. focus()
A. |
B. &
C. ~
D. !
A. Semicolon
B. Hash
C. Colon
D. Dot
A. setTimeout("a["+i+"]",1000)
B. k = a(i)
C. k = a & i
B. Both the <head> section and the <body> section are correct
A. //This is a comment
B. <!--This is a comment-->
C. 'This is a comment
B. is a program
C. None
D. is a country name
A. It provides a means of exchanging structured data between the Web server and client.
B. It provides the ability to mark up and style the display of Web-page text.
C. It provides the ability to asynchronously exchange data between Web browsers and a Web
server.
A. property()
B. css()
C. html()
D. style()
A. jQuery.ajaxSync()
B. jQuery.ajax()
C. jQuery.ajaxSetup()
D. jQuery.ajaxAsync()
A. $("div").yPos(100)
B. $("div").height(100)
C. $("div").height="100"
A. switch()
B. altClass()
C. toggleClass()
D. switchClass()
A. link.redirect.href
B. window.location.href
C. java.redirect.url
D. document.href
A. Semicolon
B. Hash
C. Colon
D. Dot
A. if i=5 then
B. if i==5 then
C. if (i==5)
D. if i=5
A. setTimeout("a["+i+"]",1000)
B. k = a(i)
C. k = a & i
A. A function
B. An operator
C. A statement
D. A method
A. onchange()
B. blur()
C. focus()
A. browser.name
B. navigator.appName
C. client.navName
A."MIDDLE TIER/
APPLICATION TIER"
B.PRESENTATION TIER
C.DATA/EIS TIER
D.CLIENT TIER
B. Wed / Thu
C. Tue / Thu
D. Thu / Wed
A. It provides a means of exchanging structured data between the Web server and client.
B. It provides the ability to mark up and style the display of Web-page text.
C. It provides the ability to asynchronously exchange data between Web browsers and a Web
server.
B. is a program
C. None
D. is a country name
A. $(‘#temp’)
B. $(‘class’)
C. $(‘temp’).class
D. $(‘.temp’)
5.0/ 5.0 Points
Question 17 of 20
Which of the following is correct?
A. AJAX
B. PHP Bytecode
C. HTML/DOM Manipulation
D. HTML events
A. jQuery.ajaxSync()
B. jQuery.ajax()
C. jQuery.ajaxSetup()
D. jQuery.ajaxAsync()
A. M
B. V
C. C
D. All (M, V, C)
A. Three
B. Uncountable instances
C. Four
D. One
A. Define a scripting variable based on the value(s) of the specified bean property
B. Define a scripting variable based on the value(s) of the specified request parameter
D. Render the value of the specified bean property to the current JspWriter
0.0/ 5.0 Points
Question 5 of 20
To specify a form-bean of dynamic validation form, which of the following is used in
<form-bean> tag
A. type="org.apache.struts.validator.DynaValidationForm"
B. type="org.apache.struts.validator.DynaValid Form”
C. type="org.apache.struts.validator.DynaValidatorForm"
D. type="org.apache.struts.validator.DynaValidateForm"
A. Evaluate the nested body content of this tag if the requested variable is either null or an
empty string.
B. Generate the nested body content of this tag if the specified value is present in this
request.
C. Generate the nested body content of this tag if the specified value is present in this
request.
D. Evaluate the nested body content of this tag if the requested variable is not equal to the
specified value
A. service()
B. destroy()
C. execute()
D. run()
A. 1 and 4
B. 2,3,4,5
C. 1,2,4,5
D. 3, 4, 5
True
False
B. V
C. C
D. All (M, V, C)
B. Validator Framework
D. Using javascript
D. Repeat the nested body content of this tag over a specified collection
B. < struts-taglib>
C. < taglib>
D. < jsp-lib>
A. M
B. V
C. C
D. All (M, V, C)
A. < logic:iterate>
B. < logic:lessThan>
C. < login:redirect>
D. < logic:loop>
B. <html:
C. <s:
D. <s-
A. M
B. V
C. C
D. All (M, V, C)
A. M
B. V
C. C
D. All (M, V, C)
A. Three
B. Uncountable instances
C. Four
D. One
A. < logic:lessThan>
B. < logic:iterate>
C. < logic:loop>
D. < login:redirect>
A. <s:
B. <s-
C. <html-
D. <html:
A. M
B. V
C. C
D. All (M, V, C)
A. type="org.apache.struts.validator.DynaValidateForm"
B. type="org.apache.struts.validator.DynaValid Form”
C. type="org.apache.struts.validator.DynaValidationForm"
D. type="org.apache.struts.validator.DynaValidatorForm"
5.0/ 5.0 Points
Question 9 of 20
Responsible for making decision among multiple presentation is responsibility of?
A. M
B. V
C. C
D. All (M, V, C)
A. None of above
B. ActionBean class
C. FormBean class
D. ActionForm class
B. < taglib>
C. < struts-taglib>
D. < jsp-taglib>
True
False
A. One
B. Three
C. Unlimited
D. Two
A. Evaluate the nested body content of this tag if the requested variable is not equal to the
specified value
B. Evaluate the nested body content of this tag if the requested variable is either null or an empty
string.
C. Generate the nested body content of this tag if the specified value is present in this request.
D. Generate the nested body content of this tag if the specified value is present in this request.
A. < bean:define>
B. < bean:write>
C. < bean:message>
D. < bean:show>
A. Model
B. Controller
C. View
D. Deployment
A. ActionServlet
B. Action class
C. Deployment descriptor
A. M
B. V
C. C
D. All (M, V, C)
A. Three
B. Uncountable instances
C. Four
D. One
A. A validation error, which can handle all errors and exceptions of application
D. Contains an error key (which may be used with the resourse bundle)
A. M
B. V
C. C
D. All (M, V, C)
5.0/ 5.0 Points
Question 5 of 20
Application module selection is done by
A. Action class
B. ActionServlet
C. RequestProcessor
A. < logic:lessThan>
B. < logic:iterate>
C. < logic:loop>
D. < login:redirect>
A. struts-config.xml
B. struts-processor-conifg.xml
C. struts-action-config.xml
D. struts-configs.xml
A. 1 and 4
B. 2,3,4,5
C. 3, 4, 5
D. 1,2,4,5
A. HttpRequest
B. ActionServlet
C. Action class
D. RequestProcessor
A. < jsp-lib>
B. < taglib>
C. < struts-taglib>
D. < jsp-taglib>
A. Evaluate the nested body content of this tag if the requested variable is either null or an empty
string
B. Evaluate the nested body content of this tag if the specified value is an appropriate substring
of the requested variable
C. Evaluate the nested body content of this tag if the requested variable is greater than the
specified value.
D. Evaluate the nested body content of this tag if the requested variable is equal to the specified
value
A. type="org.apache.struts.validator.DynaValidateForm"
B. type="org.apache.struts.validator.DynaValid Form”
C. type="org.apache.struts.validator.DynaValidationForm"
D. type="org.apache.struts.validator.DynaValidatorForm"
A. ActionServlet
B. Action class
C. Deployment descriptor
True
False
A. M
B. V
C. C
D. All (M, V, C)
A. M
B. V
C. C
D. All (M, V, C)
True
False
A. M
B. V
C. C
D. All (M, V, C)
5.0/ 5.0 Points
Question 3 of 20
<logic:present> tag in Struts 1.x is used to ___________
A. Evaluate the nested body content of this tag if the requested variable is not equal to the
specified value
B. Evaluate the nested body content of this tag if the requested variable is either null or an empty
string.
C. Generate the nested body content of this tag if the specified value is present in this request.
D. Generate the nested body content of this tag if the specified value is present in this request.
A. <s:
B. <s-
C. <html-
D. <html:
B. ActionListener
C. RequestProcessor
A. type="org.apache.struts.validator.DynaValidateForm"
B. type="org.apache.struts.validator.DynaValid Form”
C. type="org.apache.struts.validator.DynaValidationForm"
D. type="org.apache.struts.validator.DynaValidatorForm"
A. run()
B. service()
C. destroy()
D. execute()
A. 1 and 4
B. 2,3,4,5
C. 3, 4, 5
D. 1,2,4,5
A. M
B. V
C. C
D. All (M, V, C)
A. M
B. V
C. C
D. All (M, V, C)
5.0/ 5.0 Points
Question 12 of 20
Struts framework is based on
A. Model
B. Controller
C. View
D. Deployment
B. HttpResponse object
C. ActionServlet
D. Request Processor
A. M
B. V
C. C
D. All (M, V, C)
A. < jsp-lib>
B. < taglib>
C. < struts-taglib>
D. < jsp-taglib>
B. Validator Framework
C. Using javascript
D. Using Action Class
A. Repeat the nested body content of this tag over a specified collection
A. A validation error, which can handle all errors and exceptions of application
D. Contains an error key (which may be used with the resourse bundle)
A. 1 only
B. 2 only
C. 1,2 both
D. Neither 1 nor 2.
A.Custom tags
B.Scriplets
C.Directives
D.Beans
A. Octal
B. Decimal
C. Binary
D. Hex
A. location
B. exception-type
C. error-page
A. SessionTimeoutIndicator
B. SessionTotalTimedoutIndicator
C. SessionTotalTimeOutIndicator
D. SessionTimedoutIndicator
A. setPrintType()
B. setContentWriter()
C. setWriter()
D. setContentType()
A. dynamic, static
B. static, dynamic
C. HTML, Servlet
D. Servlet, HTML
5.0/ 5.0 Points
Question 8 of 20
The _____ method performs the cleanup of objects created during requests and responses between
clients and servers
A. Init()
B. Destroy()
C. Run()
D. Resume()
A. Content safe
B. Synchornised
C. Thread safe
A.Scripting Elements
B.Actions
C.Methods
D.Directives
A. servlet container
B. servlet config
C. servlet filter
D. servlet context
A. servlet container
B. servlet context
C. servlet filter
D. servlet config
A. servlet context
B. servlet container
A. ServletResponse object
B. ServletConfig object
C. ServletRequest object
D. ServletContext object
B. contextInitialized((),contextDestroyed()
A. URL rewriting, using request object, using response object, using session object
B. URL rewriting, using session object, using response object, using hidden fields
C. URL rewriting, using servlet object, using response object, using cookies
D. URL rewriting, using session object, using cookies, using hidden fields
A. 1 only
B. 2 only
C. 1,2 both
D. Neither 1 nor 2.
A.Custom tags
B.Scriplets
C.Directives
D.Beans
A. Octal
B. Decimal
C. Binary
D. Hex
A. location
B. exception-type
C. error-page
A. SessionTimeoutIndicator
B. SessionTotalTimedoutIndicator
C. SessionTotalTimeOutIndicator
D. SessionTimedoutIndicator
A. setPrintType()
B. setContentWriter()
C. setWriter()
D. setContentType()
A. dynamic, static
B. static, dynamic
C. HTML, Servlet
D. Servlet, HTML
5.0/ 5.0 Points
Question 8 of 20
The _____ method performs the cleanup of objects created during requests and responses between
clients and servers
A. Init()
B. Destroy()
C. Run()
D. Resume()
A. Content safe
B. Synchornised
C. Thread safe
A.Scripting Elements
B.Actions
C.Methods
D.Directives
A. servlet container
B. servlet config
C. servlet filter
D. servlet context
A. servlet container
B. servlet context
C. servlet filter
D. servlet config
A. servlet context
B. servlet container
A. ServletResponse object
B. ServletConfig object
C. ServletRequest object
D. ServletContext object
B. contextInitialized((),contextDestroyed()
A. URL rewriting, using request object, using response object, using session object
B. URL rewriting, using session object, using response object, using hidden fields
C. URL rewriting, using servlet object, using response object, using cookies
D. URL rewriting, using session object, using cookies, using hidden fields
<b>
<ul>…</ul>
False
Header
<input type="text" /> defines a ... input field that a user can enter text into
one-line
<a href="http://www.w3schools.com">W3Schools</a>
False
An ordered list starts with the ... tag. Each list item starts with the ... tag.
"<ol>
<li>"
To define the space between the element's border and content, you use the padding property, but are you allowed to
use negative values?
False
font-size
/* this is a comment */
Src
How do you display a border like this: The top border = 10 pixels, The bottom border = 5 pixels, The left border = 20
pixels, The right border = 1pixel?
Which of the following tags below are used for a multi-line text input control?
textarea tag
5.0/ 5.0 Points
Question 18 of 20
Blue
CELLPADDING
You do not have to connect to the internet to verify changes to a Web page on your computer.
True
16
A table is divided into rows (with the (1) tag), and each row is divided into data cells (with the (2) tag). A (3) tag
can contain text, links, images, lists, forms, other tables
"(1): <tr>
(2): <td>
(3): <td>"
<h1>
The error message displayed when the page is not found at the correct location.
404
True
Currently clicking and holding down the mouse button on represents ___________ pseudo class.
a:active
Which of the following tags below are used for a multi-line text input control?
textarea tag
<BODY COLOR=RED>
h1 {background-color:#FFFFFF}
font-family:
<br />
False
onfocus
onselect
onblur
Onsubmit
DL
<marquee>
A homepage is __________
What is the correct syntax for removing the default underline from links?
a { text-decoration: none; }
style
margin-left:
Yes
Colon
<script type=""text/javascript"">
document.write(3 & 5);
</script>
Thu / Tue
5.0/ 5.0 Points
Question 5 of 20
if (i==5)
78
<script type=""text/javascript"">
var cst = ""FPT Software JSC Danang Branch"";
var result = cst.split("" "");
document.write(result);
</script>
"FPT
Software
JSC
Danang
Branch"
It provides the ability to asynchronously exchange data between Web browsers and a Web server.
5.0/ 5.0 Points
Question 12 of 20
What is AJAX ?
is a program
jQuery method to set one or more style properties for selected elements?
css()
JavaScript
jQuery.ajax()
What is the correct jQuery code for making all div elements 100 pixels high?
$("div").height(100)
5.0/ 5.0 Points
Question 20 of 20
Client scripting
URL encoding is the method of replacing all the spaces and other extra characters into their
corresponding _______ Characters
Hex
The ________________________ when added to the user session tells us that the session timed out.
SessionTimeoutIndicator
The two different errors that may occur during the lifecycle of JSP are
The three main types of JSP constructs that can be embedded in a Java Server page are
Actions
Scripting Elements
Directives
5.0/ 5.0 Points
Question 5 of 20
The _____ method performs the cleanup of objects created during requests and responses between
clients and servers
Destroy()
Jsp:setProperty
error-page
Which of the following tools can be used to stress test the Servlet
1. JMeter from Apache
2. Mercury LoadRunner
1,2 both
In the properties files _________ defines global Servlet settings and list of servlets in the system.
Session.properties
Which of the tag is used to show the comments in the JSP page?
The tasks – authentication-blocking of requests, data compression, logging and auditing – are
performed by
servlet filter
How many ServletContext objects are available for an entire web application?
Only one
5.0/ 5.0 Points
Question 14 of 20
servlet filter
return back to the same method from where the forward was invoked
What is the limit of data to be passed from HTML when doGet() method is used?
2K
_____ is a process which allows the bean container to examine any class at run-time to
determine its method signatures
Reflection
Presentation tier
Business tier
Data tier
Under JSP 1.0 , the implicit object which can be used for reference. It is used to refer to the
______________
Jsp:getProperty
Jsp:useBean
Jsp:setProperty
It offers option of sharing local variables and better run time efficiency
Which of the tag contains a code fragment valid in the page scripting language?
Page
Request
Session
In the properties files _________ defines global Servlet settings and list of servlets in the
system.
Session.properties
JSP is the Java platform technology for building applications containing dynamic web
contents such as __________________
1. XHTML
2. XML
3. DHTML
4. HTML
1234
The getSession() method with „true‟ as its parameter [ getSession(true) ] it will return the
appropriate session object when
return back to the same method from where the forward was invoked
5.0/ 5.0 Points
Question 14 of 20
Which method is used to specify before any lines that uses the PintWriter?
setContentType()
How many ServletContext objects are available for an entire web application?
Only one
servlet filter
_jspService()
Thread safe
Sockets
Internet protocol
Java Server Pages technology commonly called JSP technology offers the following
advantages
1. Separation of dynamic and static content.
2. Support for scripting and tags
3. Reuse of components and tags.
4. Web access layer for N-tier enterprise application architecture
All of 1 2 3 4
Number Format
_______ is the process of creating a copy of an object suitable for passing to another
object
Reflection
servlet container
URL rewriting, using session object, using cookies, using hidden fields
Evaluate the nested body content of this tag if the requested variable is either null or an
empty string
How many instances can be created per application module by the RequestProcessor
class?
One
RequestProcessor
Generate the nested body content of this tag if the specified value is present in this
request.
5.0/ 5.0 Points
Question 7 of 20
ActionForm class
5.0/ 5.0 Points
Question 8 of 20
ActionServlet
5.0/ 5.0 Points
Question 9 of 20
True
execute()
Which of the java bean tags is used to show the bean value on the web page?
< bean:write>
Repeat the nested body content of this tag over a specified collection
5.0/ 5.0 Points
Question 1 of 20
< taglib>
5.0/ 5.0 Points
Question 2 of 20
Render the value of the specified bean property to the current JspWriter
5.0/ 5.0 Points
Question 3 of 20
struts-config.xml
5.0/ 5.0 Points
Question 6 of 20
< logic:iterate>
0.0/ 5.0 Points
Question 7 of 20
Using javascript
<html:
Controller
type="org.apache.struts.validator.DynaValidationForm"
Evaluate the nested body content of this tag if the requested variable is either null or an empty string
5.0/ 5.0 Points
Question 1 of 20
1,2,4,5
Serves logical connection between user‟s interaction and the business process is responsibility of?
True
False
A. M
B. V
C. C
D. All (M, V, C)
A. <s:
B. <s-
C. <html-
D. <html:
5.0/ 5.0 Points
Question 5 of 20
An instance of Action is invoked by
A. ActionServlet
B. ActionListener
C. RequestProcessor
A. type="org.apache.struts.validator.DynaValidateForm"
B. type="org.apache.struts.validator.DynaValid Form”
C. type="org.apache.struts.validator.DynaValidationForm"
D. type="org.apache.struts.validator.DynaValidatorForm"
A. run()
B. service()
C. destroy()
D. execute()
A. 1 and 4
B. 2,3,4,5
C. 3, 4, 5
D. 1,2,4,5
A. M
B. V
C. C
D. All (M, V, C)
A. M
B. V
C. C
D. All (M, V, C)
A. Model
B. Controller
C. View
D. Deployment
0.0/ 5.0 Points
Question 14 of 20
Which of the following should always forwards or redirect to a resource
(view) after completed?
A. Action class
B. HttpResponse object
C. ActionServlet
D. Request Processor
A. M
B. V
C. C
D. All (M, V, C)
A. < jsp-lib>
B. < taglib>
C. < struts-taglib>
D. < jsp-taglib>
B. Validator Framework
C. Using javascript