Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Test 283

 
madhu bharathula
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one provide me answers for the following questions which I got in the sample test??
1) VisualAge for Java uses visual connections to:
a) connect features of JavaBeans
b) model JavaBean relations as UML
c) change JavaBean properties based on some event
d) create new bean features

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
My answers are a and c.

2) Which of the following MUST be done to serialize a bean using the BeanInfo page?
a) Create a custom serialization class and set it to the Customiser property
b) Set the Hidden property to true
c) Set the Hidden-State property to true
d) Set the Expert property to true

Single Select - Please select the best answer (one and only one choice must be selected).

3) Repositories in IBM VisualAge for Java:
a) must reside on a remote server.
b) can store open editions of Classes, Packages and Projects.
c) can store versioned Classes, Packages and Projects.
d) can be used to transfer files between developers.

Multiple Select - Please select all of the correct answers (this question has 3 correct choices).
I am sure c and d are correct. But i am not sure of the remaining.

4) Which of the following contains help for frequently performed tasks in VisualAge for Java?
a) Options
b) Preferences
c) QuickStart
d) Workbench

Single Select - Please select the best answer (one and only one choice must be selected).

5) Which of the following are true while testing servlets:
a) A breakpoint in a doGet method can be made conditional on a parameter?s value in the request object.
b) The WebSphere Test Environment must be stopped and restarted if a servlet is changed to allow the changes to be loaded.
c) A servlet and Java Server Page (JSP) cannot both be tested at the same time.
d) The HTML output of a servlet is directed to the Console Window.
e) A breakpoint in a doPost method can be made conditional on a parameter?s value in the request object.

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
Thanks
Madhu
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - My answers are:
Q1
a,c (I agree, other opinions?)
Q2
c - set Hidden-state to true, see help under 'serializable'.
Q3
b,c,d
a - is false, there is always a repository even on a single user system (same machine)
Q4
c - Quickstart (F2 for direct access)
Q5
Don't know, researching, but I would guess a,e.
Regards, Guy
 
Bruce Yu
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you. and the last one surly is a, e
Regards,
Bruce
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic