• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help identify 6 wrong answers

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, I am preparing for Visual Age Cert 282 and here is some questions from pre-assessment exam. I was not able to identify all 6 wrong answers. After reviewing the questions, I was able to identify two:
1) b,c
30) a,b
I have doubts about my answers to 12,15,22 though. Please help! (Especially Sandeep, hope you can give some ideas )
1)
Which of the following are true with respect to configurations of Java solutions that allow many individual clients to access a database on a centralized host computer: (c,d)

a) an Applet must go through a Servlet to gain access to a
database.
b) a web browser can utilize a Servlet which in turn can access the database through a database driver.
c) a web browser can run an Applet which in turn can access the database through a database driver.
d) a Servlet should use the Java Native Interface (JNI) to gain access to a database.

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).

2)
Which of the following can be exported into .class files? (a,b,d)

a) Individual packages
b) Individual classes
c) Individual methods
d) Entire projects

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

3)
Which of the following can be contained in a JAR file:
(a,b,c,d)

a) .java files
b) .class files
c) .gif files
d) .mf (manifest) file

Multiple Select - Please select all of the correct answers (this
question has 4 correct choices).

4)
When importing a JAR file into a Project, VisualAge extracts any resource files and places them in the:
(d)

a) IBMVJava root directory
b) current working directory
c) Workbench
d) Project's resource directory
e) Scrapbook

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

5)
True or False: The Workbench window allows Java code to be highlighted and executed. (b)

a) True
b) False

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

6)
A disabled breakpoint is represented by: (d)

a) a red diamond
b) a yellow diamond
c) a blue ball
d) a grey ball

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

7)
Which of the following can be exported into a VisualAge for Java repository file? (a,d)

a) Individual classes or interfaces
b) Individual methods
c) Open editions of entire projects or individual packages
d) Versioned editions of entire projects or individual packages

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).

8)
In VisualAge for Java, the developer is allowed to select Inspect code within a: (a,b)

a) Scrapbook
b) Debugger
c) class definition pane
d) method definition pane
Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).

9)
Code Assist can be thought of as a tool to: (c,d)

a) generate code from the specifications of the Composition Editor
b) generate code from the bean-info page of a Class Browser
c) help find classes, methods and fields you are looking for without having to refer to class library reference information
d) list the methods and fields available for an object or class
Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).

10)
The Data Access Beans can be used to access: (a,c,d)

a) database tables
b) analysis and design documentation
c) database views
d) database queries which use SQL statements

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

11)
The Select Data Access Bean: (a,c,d)

a) requires a database connection
b) is a Visual Bean
c) provides an execute() method
d) implements the TableModel interface

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

12)
The RMI registry: (b,c)

a) can be started automatically when VisualAge for Java is
launched
b) must be run on the 1099 port number
c) provides access to remote server objects
d) is a Visual Bean

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).
13)
Which of the following statements are true with respect to VisualAge for Java, Professional Edition code management?
(a,b,c)

a) When an edition of a program element is replaced, VisualAge also replaces the editions of the program elements that it contains.
b) When a class is versioned, its methods are automatically given the same name.
c) When an edition of a program element is replaced, the replaced program element is no longer in the workspace (although it is still in the repository).
d) When a method is deleted, it is deleted from the Workspace and the code repository.

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

14)
True or False: Only program elements that are in the workspace can be changed. (a)

a) True
b) False

Single Select - Please select the best answer (one and only one choice must be selected).
15)
Which of the following statements are true about VisualAge for Java connections? (b,c)

a) Events are usually the target of a connection
b) Connections have properties that can be changed
c) Connections are not part of the Java specification
d) User defined code cannot be included in methods generated by VisualAge for connections

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).
16)
Which of the following are valid VisualAge for Java connections in the Composition Editor? (a,c,d)

a) Event-to-method
b) Event-to-breakpoint
c) Parameter-from-code
d) Event-to-code

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

17)
Examples of visual JavaBeans are: (b,c,d)

a) Stack
b) Button
c) TextField
d) Window

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

18)
How can multiple copies of a bean be added to the free-form surface? (a,b)

a) use the Sticky option (by holding the Ctrl key while selecting the item)
b) copy the bean and paste it multiple times
c) use the duplicate option
d) use the copy multiple option

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).
19)
Which of the following are true about the Beans List window in the Composition Editor? (a,b,c)

a) Beans in the list will be reordered if the tabbing order of the beans is changed
b) Beans in the list can be reordered by dragging and dropping
c) It is possible to make bean connections using the Beans List window
d) It is not possible to open a bean's property sheet

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

20)
Which statements about VisualAge for Java connections are true? (a,b,c)

a) Event-to-code and Parameter-from-code connections enable the developer to connect to non-public methods of the composition JavaBean
b) A connection has a source and a target
c) Connections can be used to connect properties of JavaBeans.
d) Properties of connections cannot be changed
Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

21)
Which of the following statements are true? (a,c,d)

a) Event-to-code connects a JavaBean event to a method in the current JavaBean being edited in the composition editor
b) Parameter-from-property connections connect a parameter to a connection property
c) Parameter-from-property connections connect a property to a connection parameter
d) Parameter-from-method uses the result of a method to connect to a connection parameter

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

22)
If the intent was to create a CustomerInfoView bean that could be reused by adding it to other JPanels, which of the following would be the MOST appropriate way to enable other beans to get and set the values of the name and phoneNumber properties? (c)

a) Promote the text property of both JTextFields to the
CustomerInfoView bean interface
b) Create public static methods in CustomerInfoView that are responsible for getting and setting the values in the JTextFields
c) Promote the required properties of the variable bean (that represents the Customer bean) to the CustomerInfoView bean interface
d) Promote the this property of both JTextFields to the
CustomerInfoView bean interface

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

23)
What is the MOST common reason for promoting a bean property in the Composition Editor? (c)

a) To place the bean on the bean palette
b) To add the property to the preferred features list for the bean
c) To enable the property to be utilized by another bean during visual composition
d) To promote the property to the bean's superclass

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

24)
The Beans List Window: (a,b,d)

a) will display a '+' sign next to the Java Bean if it contains other JavaBeans
b) allows JavaBeans in the list to be selected and opened
c) must be manually updated when JavaBeans are moved
d) can be used to select a bean that is difficult to directly select in the Composition Editor

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).

25)
A project is represented by a: (d)

a) blue circle with a "P" in it
b) blank sheet of paper
c) yellow box
d) manila folder

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

26)
In VisualAge for Java, Professional Edition, the default character that is used to indicate that a particular edition/version is loaded is: (d)

a) =
b) #
c) @
d) *

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

27)
In IBM VisualAge for Java, unresolved problems in a saved method are represented by: (b,d)

a) A red dot in the method source
b) A red X next to the method
c) A log entry
d) A gray X next to the class

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).

28)
The public interface of a JavaBean includes: (a,b,d)

a) Events
b) Properties
c) Actions
d) Methods

Multiple Select - Please select all of the correct answers (this
question has 3 correct choices).
29)
Bean property editors: (a,b,c,d)

a) may provide a getTags() method which returns an array of String values representing the values that a property may take
b) must implement the java.beans.PropertyEditor Interface
c) may provide a public Component getCustomEditor() method which returns a complete GUI component with which to customize the property.
d) should be implemented as classes with the name format
XYZPropertyEditor, where XYZ represents the name of the class for which the Property Editor provides custom editing

Multiple Select - Please select all of the correct answers (this
question has 4 correct choices).

30)
Bound properties for a JavaBean: (a,c)
a) may be determined by Introspection
b) indicate properties which signal when changes to the property occur
c) require the bean to provide a addPropertyChangeListene()
method
d) cannot be derived, i.e. they must be stored in fields

Multiple Select - Please select all of the correct answers (this
question has 2 correct choices).

Test Category Number of Questions Number of Correct Average Score

Create Re-Usable JavaBeans using VisualAge for Java 3 2 66.0
Construct and Deploy Java-Based Solutions, Applications, Applets and
Servlets 3 2 66.0
Access Databases and Remote Method Invocation to develop Java-based
Solutions 3 2 66.0
Use Visual Programming and JavaBean Libraries to Create Java-based
solutions 10 10 100.0
Use the Code Management Facilities of VisualAge for Java 2 2 100.0
Use Features of VisualAge for Java to Improve Development Productivity
3 3 100.0
Develop Java-based Solutions Using VisualAge for Java 6 3 50.0

# Questions: 30 Passing Score: 60.0
Number Correct Needed: 18 Your Score: 80.0
You Answered Correct: 24 Grade: Pass
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i guess you have taken Test 282, IBM VisualAge
for Java, Professional Edition, is it similar or tougher than the mock tests on IBM's site also are there any resources other then the redbooks. It would be good to have some mock tests.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic