Start
Q1
Question 1: Which of the following is appropriate for Page-with-Bean approach?
The code becomes a mixture of presentation, business and data access logic.
The maintenance of the application becomes a nightmare.
A lot of code is also get duplicated.
All the business logic goes into one application
Q2
Question 2: __________ can be used to specify dynamic attribute values for JSTL actions without using full-blown programming language.
EL
RT
Both EL and RT
None of these
Q3
Question 3: A variable declared as static in a class is a/an __________
Instance variable
Class variable
Const variable
Global variable
Q4
Question 4: Which of the following Environment variable tells the system about the root directory of TOMCAT?
JAva_HOME
CATALINA_HOME
CLASSPATH
PATH
Q5
Question 5: Port is a transport address to which processes can __________ for connections request.
read
Write
Listen
None of the given options
Q6
Question 6: The following value of JavaBean's scope attribute has local variable.
Page
Request
Session
Application
Q7
Question 7: Expression is a code fragment which returns __________.
Integer
String
Depends on the expression
Nothing
Q8
Question 8: Which of the following must be used to compare the values of two strings?
= operator
== operator
equals() method
compare() method
Q9
Question 9: Which of the following is a general purpose container?
JFrame
JDialog
JPanel
JWindow
Q10
Question 10: RPC stands for
Remote Personal Computer (RPC)
Remote Procedure Calls (RPC)
Remote Procedure Client (RPC)
None of these