This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
This is the 100% solution for ICE test 285. I made the real test in a Prometric test center. The questions in this test were different from the that in the ICE test. Only one question was the same. But the test objectives are of course identical. Be sure to have a good practice in using the Application Developer. Sometimes you have to know whether to use a button or a menu item to get a function...
Test 285 : Questions : % # Workbench Basics 16% 8 Java Development 27% 14 Web Development 20% 10 Running Applications 12% 6 Debugging 18% 9 Data 8% 4� Workbench Basics : A developer wants a JAR file to be made available to all projects in the workbench. The BEST way to do this is to: A. Add the JAR file to the Java Build Path for each of the projects using the Libraries -> Add External JARs. B. Add the JAR file to the Module Dependencies for each project using the Web.xml editor. C. Import the JAR file into each of the projects using the Import wizard. D. ** Create a new classpath variable for the JAR file using Window -> Preferences -> Java -> Classpath Variables, and use it in each project's build path. Select the best answer. ('Projects Build Path' means 'Java Build Path' in Web Projects..) A developer has created a new Enterprise Application Project when importing a WAR into the workspace. Which view BEST supports identifying the modules contained in the Enterprise Application? A. Packages B. Projects C. Web D. ** J2EE Hierarchy Select the best answer. What view of the Web perspective enables a developer to view a selected HTML or JSP file within a project, the associations with that file, and the characteristics of those associations? A. Properties B. ** Links C. Navigator D. Outline Select the best answer. A developer needs to export Java classes to be included in the runtime classpath for a deployed Web project. The BEST way to export these files is: A. ** Use the JAR Export utility to export the Java class files to the application server. B. Use the WAR Export utility to export the Java class files to the application server. C. Use the HTTP Export utility to export the Java class files to the application server. D. Use the File system Export utility to export the Java class files to the application server. Select the best answer. A developer wants to deploy a Web application to a J2EE application server. The Web application contains servlets, JSPs and static content. What types of file could the developer export to meet this goal? A. A JAR file B. ** An EAR file C. ** A WAR file D. A RAR file Select 2 answers. A developer has conducted a search on "servlets" in the online help window. The result set for the search was too large for the developer to quickly browse. In which of the following ways can the developer refine the search using the Advanced search window? A. ** Explicitly use the word "AND" with additional keywords in the search phrase. B. ** Put the search word in double quotes. C. Search for headings only. D. Search within results. E. ** Filter search by book. Select 3 answers. After selecting a particular help topic returned from a search, a developer wants to navigate to a topic previously viewed from another search. The BEST way to do this is to: A. Double click on the topic's title in the document view B. ** Use the back button in the Help toolbar C. Use the synchronize button in the Help toolbar D. Press Left Arrow Select the best answer. A developer has created a custom perspective. What MUST the developer do to retain the custom perspective the next time WebSphere Studio is started? A. Select Window -> Customize Perspective and choose Save from the window. B. Select Window -> Reset Perspective to save changes. C. Select Window -> Open Perspective to create a new empty Perspective. D. ** Select Window -> Save Perspective As and provide a name. Select the best answer. Java Development A developer can use the Outline view for a class in order to sort methods and variables shown in: A. ** one list. B. two separate lists. C. one list according to access modifiers. D. two separate lists according to access modifiers. Select the best answer. (Statics are always the first elements followed by variables and methods. Within these categories the elements are sorted in alphabetic order.) A developer saves a method that has coding errors. The developer notices that red "X"s appear in the marker bar on the left by some of the lines in the editor. How can the developer see the problem description for a particular line? A. ** Hover over the red "X". B. Double-click on the red "X". C. ** Open the Tasks view and read the corresponding error message. D. Read the error message that appears at the end of the line of code. Select 2 answers. In the filesystem, under which directory are the files of a Java project located by default? A. ** workspace B. WEB-INF C. Web Content D. application Select the best answer. When editing the Properties dialog of a Java project, the purpose of setting the "Build output folder" field on the Source page of the Java Build Path section is to specify the: A. default folder where the .jar file will be located when the project is built. B. folder where the .jar file will be located when the project is built. C. folder where the .jar file, .log file, and other build outputs will be located when the project is built. D. ** folder where the class files are placed when Java source code is compiled. Select the best answer. A developer opens the Type Hierarchy for a class which extends another class. The BEST way to determine whether a particular method overrides any of the methods of its superclass is for the developer to click: A. Hide Non-Public Members. B. Show Supertype Hierarchy. C. Show Subtype Hierarchy. D. ** Lock View and Show Members in Hierarchy. Select the best answer. A developer has performed multiple Java searches. The developer wants to go back to a previous search to review the results again. What is the EASIEST way to do this? A. Go to the original object and choose the search menu option that was previously selected to populate the Search view with the results. B. Select the Keep Search Results menu option to open a separate search results window. C. ** Use the Previous Search Results drop-down on the Search view. D. Use the Show Next Search Results icon on the Search view. Select the best answer. The Tasks view shows by default: A. ** Build problems and reminders that are either user-created or are automatically generated during the build. B. All resources in the workspace. C. The output of the execution of a program and allows a developer to enter any necessary user input. D. QuickFix markers that offer coding assistance. Select the best answer. n the Java perspective, which of the following CANNOT be created via its own wizard? A. Package B. Class C. ** Method D. Interface Select the best answer. Refactoring allows a developer to: A. Perform incremental builds whenever resources are saved. B. Open a scrollable list of available code completions on a valid line of code. C. Define deployment information that can exist in the web deployment descriptor. D. ** Improve or change code without changing its semantic behavior. Select the best answer. A developer is using layers in a project's software architecture, with a "higher" layer A referencing objects in a "lower" layer B. When creating project A using the "Create a new Java Project" wizard, how can the developer ensure that project A objects can reference project B objects? A. Add project B source directories in the "Source" tab for project A. B. Add project A source directories in the "Source" tab for project B. C. Select project A in the "Projects" tab for project B. D. ** Select project B in the "Projects" tab for project A. Select the best answer. What determines the order of the import statements when the Organize Imports feature for a Java class is used? � A. The order in which the packages were created B. ** Alphabetic order within package name order C. The order of packages listed in the project's Properties -> Java Build Path -> Order tab D. ** The order of packages listed in Window -> Preferences -> Java -> Organize Imports Select 2 answers. While coding a Java class, what could Content Assist help complete? � A. Automatically adding necessary import statements. B. Generating matching scriptlet tags. C. Generating ending block and parenthesis characters where needed. D. ** Filling in local variable names based on the starting characters. Select the best answer. The location of the .java source files in a Java project can be specified on: A. the workspace Preferences -> Source page. B. ** the project Properties -> Java Build Path -> Source page. C. individual packages using the package Properties -> Java Build Path -> Source page. D. individual classes using the class Properties -> Java Build Path -> Source page. Select the best answer. Which perspective for working with Java projects consists of an editor area and the Projects, Packages, Types, and Members views? A. Java Type Hierarchy B. J2EE C. Web D. ** Java Browsing E. Java Select the best answer. Rest tomorrow !!! Dirk.
Did you pass 100%? Are there including all the question?
posted 16 years ago
Ok, here's are the residual questions. ...it goes on with : Web Development Which of the following can be specified or configured in the web.xml file? A. DataSource and JDBC Driver configuration B. HttpRequest Configuration (Such as timeouts) C. JavaBeans References D. ** Servlet and JSP URL Mappings Select the best answer. Where within the Web project named Sales should JSP files be located? A. Sales/source B. ** Sales/Web Content C. ** Any user defined sub-directory of Sales/Web Content D. Sales/Web Content/META-INF Select 2 answers. When using the Create JavaBeans Web Pages Wizard, which of the following elements are created? A. ** Front Controller - Class that invokes calls on the model and displays an appropriate view. B. Singleton - Class for which only a single instance exists and provides access to the database. C. ** View Helper - Wrappers which do the work of retrieving and displaying the data. D. Factory - Classes that create the necessary JavaBeans given the type. Select 2 answers.
When using the Create Database Web Pages Wizard, which of the following elements are created? A. ** Front Controller - Class that invokes calls on the model and displays an appropriate view. B. Data Access Broker - Class that encapsulates all the data access calls. C. ** Master View - Displays the entire result set of an SQL query. D. Singleton - Class for which only a single instance exists and provides access to the database. Select 2 answers. When using Page Designer, what is the BEST way to ensure that all of the headings on all of the web pages in a Web Project have the same font? A. Manually change all of the headings. B. Use the Heading Editor and CSS Manager. C. Use a Cascading Style Sheet to set the font for the headings. D. ** Use a Cascading Style Sheet to set the font for the headings and then apply the Cascading Style Sheet to each page. Select the best answer. (For example select link in the styles-view. Then select a .css file from the web content (i.e. webApplication folder in V4).) When using the Insert JSP Get Property dialog to insert bean attributes into a JSP from within Page Designer, which implicit objects can the developer see? A. request B. ** requestContext C. application D. pageConfig Select the best answer. (JSP->Insert Get Property. You can see request AND application -> ??) At the time of creating a Web project, if the "Create a default CSS File" check box is selected, where would the CSS file be created? � A. /Web Content/lib B. ** /Web Content/theme C. /Web Content/style D. /Web Content/css Select the best answer. If a Web project depends on an utility JAR, what should be modified within WebSphere Studio to indicate this dependency? A. Create a Dependent JAR project and import the utility jar into it. B. ** Add the utility JAR to the Web Project's Java build path. C. Define the utility JAR in the Web project's web.xml deployment descriptor. D. Select the utility JAR in the "Available dependent JARs" list of the Web project's module dependencies window ?? Select the best answer. (To select the utility jar in th "Available dependent JARs" list it has to be imported to the corresponding Enterprise Application before..) For the Web project named Sales, which folder represents the document root? A. Sales/Web Content/web B. ** Sales/Web Content C. Sales/web D. Sales/Web Content/WEB-INF Select the best answer. Which of the following statements are TRUE about the Content Assist feature available in Page Designer? A. ** To request content assist, press Ctrl+Space. B. Content assist can be used to complete words in the dictionary. C. ** Content assist can ONLY be used on the Source view. D. Content assist validates HTML pages. Select 2 answers. Running Applications Which of the following session tracking options are available from the server configuration editor? � A. Default invalidation timeout value B. ** Enable URL rewrite option C. Enable protocol switch rewrite option D. Enable SSL tracking option E. ** Enable cookies option Select 2 answers. (In the web-tab.) Which of the following are ways to export a WAR file? A. Select a Web Application in the J2EE view and click the Export WAR File button from the toolbar. B. ** Select File -> Export -> WAR file and choose the Web module from the dropdown list of web projects. C. Right-click an Enterprise Application in the Server Configuration view and select Export -> WAR File. D. ** Right-click a Web project in the Navigator view on ANY perspective and select Export -> WAR File. E. Right-click a Web module in the Server Configuration view and select Export -> WAR File. Select 2 answers. During a local debugging session, which of the following changes to either the application or the test environment require a restart of the test server? A. Modifying the servlet to use a different Data Source object B. ** Modifying the JNDI name of the Data Source object used for connection pooling C. Modifying the usebean tag in a JSP to use a different Java class D. ** Changing Session Tracking from URL Rewrite to Cookies ?? Select 2 answers. (A : Modifying the servlet restarts the server automatically if options is selected (by default))
During a debug session, a developer makes a change that requires a server restart prior to continued debugging. Which of the following accomplish this task? A. Reselect the component under test and click on "Run on Server". B. ** From the Servers view, select the test server and click on "Restart" from the context menu. C. From the Servers view, select the test server and click the "Start the server in debug mode" icon. D. ** From the Servers view, select the test server and click the "Restart the server" icon. Select 2 answers. What can a Java Classpath Variable represent? A. ** A file, typically a .jar file. B. The location of a Java JRE. C. ** A folder on the file system. D. Java property file. Select 2 answers. Which of the following side effects occur as a result of creating a data source on a WebSphere Test Server (local or remote)? � A. A database is defined on the addressed database server. B. ** A Connection pool is created upon starting the test server. C. ** When started, an entry is added to the test server's JNDI namespace. D. An entry is added to the local database catalog. Select 2 answers. Debugging Which of the following are TRUE regarding method entry breakpoints? A. ** They can be disabled from the Breakpoints view. B. They can be set from the outline view of the Java source. C. ** They can be set from the outline view of the binary class file. D. They can be set by double-clicking on the dark column on the left side of the Java source editor. E. ** Thread execution will suspend before any line of code in the method is executed. Select 3 answers. While stepping through code, the debugger encounters a breakpoint and suspends the execution of the thread. The breakpoint is at the following statement: System.out.println("Displaying employee: " + emp.getName() + "\n"); What happens when a developer "Steps Into" this line of code? Assume the source for the class implementing "emp" is available. A. The console shows: "Displaying employee: " B. A dialog indicating that no source is available for java.io.PrintWriter appears C. The debugger steps into the getName() method of emp D. ** The debugger steps into the StringBuffer() constructor method. Select the best answer. (Why not A ??) When stopped at a breakpoint in a JSP, which of the following statements are TRUE regarding the Variables and Debug views? A. The Variables view displays the HTML widgets on the page and their current values. B. ** The Variables view displays in-scope variables for the generated servlet. C. ** The Variables view displays the JSP implicit objects. D. The Debug view shows stack trace information for the HTML stream. Select 2 answers. A developer is debugging a program, and the debugger has suspended at a breakpoint. The developer needs to change the value of variable "Integer i" from its current value of 10 to a new value of 15. Which of the choices below will accomplish this task? � A. On the Variables view, double-click "i", and change 10 to 15 on the edit field that opens. B. On the Variables view, select "i". From its context menu, select "Change Variable Value", and change 10 to 15 on the edit field that opens. C. ** On the Variables view, expand "i", select "value=10", and from its context menu, select "Change Variable Value", and change 10 to 15 on the edit field that opens. D. On the Display view, enter i = 15, select the statement, and from the context menu, select "Display". E. ** On the Display view, enter i = new Integer(15), select the statement, and from the context menu, select "Display". Select 2 answers. (It's an Integer type not an int. Therefore A, B. D are wrong) While stopped at a breakpoint in the Debug perspective, how can a developer find the calling sequence that led to the current execution point? A. Examine the output on the Console view, which contains a line indicating each method entry point. B. Examine the output on the Outline view, which shows the call sequence when a program is stopped. C. On the Processes view, expand running threads and examine the call stack. D. **On the Debug view, expand the suspended threads and examine the call stack. E. On the Navigator view, select the current thread, and from its context menu, select "Call Sequence". Select the best answer. While debugging, a developer steps into a very long method. The developer determines that the problem is not being caused in the first half of the method. The developer would like to quickly reach a line near the end of the method. What is the BEST way to achieve this? � A. Click "Go to Line" and enter the line number for the desired line. B. Set a breakpoint on the line just after the desired line and click "Resume". C. ** Click on the desired line, and select "Run to Line" from the context menu. D. Click "Step Over" several times until the desired line is reached. Select the best answer. Which of the following is FALSE regarding the Display view of the Debug perspective: A. Variables in scope can be altered. B. Variables in scope can be inspected. C. Methods of objects in scope can be executed and their return values displayed. D. Valid Java expressions can be constructed, executed and their results displayed. E. ** Non-contiguous lines of code can be selected and executed. Select the best answer. Where can breakpoints be set in JSPs? A. On lines containing just HTML statements B. ** On lines with mixed HTML and Java scriptlets C. ** On lines containing just scriptlets or expressions D. On lines defining or using JSP Custom Tags E. Only on lines inside the <body> ... </body> tags Select 2 answers. A Scrapbook page can be used for which purposes? A. ** Make notes and keep code snippets under version control. B. ** Evaluate expressions and display the results. C. Set breakpoints and debug code. D. Run code and evaluate expressions in the context of a suspended thread. E. ** Experiment with code segments before incorporating them in a formal class method. Select 3 answers. Data Within the Data perspective, what operation CANNOT be applied to a schema? A. Add a new Table. B. Delete an existing Table. C. ** Apply the schema to a different database. D. Generate DDL. E. Rename the schema. Select the best answer. (You can copy the schema to another database by drag&drop. This is an apply to the new database, isn't it ?) To specify a host variable within the SQL query builder, which syntax is correct (depending on database used)? A. $host_variable_name or !host_variable_name B. ?host_variable_name or *host_variable_name C. ** :host_variable_name or @host_variable_name D. %host_variable_name or #host_variable_name Select the best answer. (Sybase, SQLServer and MySQL use @host_varaibale_name, all other vendors use :host_variable_name) Which of the following database management systems are supported by WebSphere Studio v5.0? A. ** DB2 Universal Database B. ** Cloudscape C. ** Microsoft SQL Server D. Jasmine E. ObjectStore Select 3 answers. Loading a database catalog or metadata into a project is accomplished by selecting: A. ** a database element (in DB Servers view), and clicking the "Import to Folder" context menu item. B. a database element (in DB Servers view), and clicking the "Import to Project" context menu item. C. a project (in Navigator view), and clicking the "Import Database Catalog" context menu item. D. a project (in Navigator view), and clicking the "Import Database Metadata" context menu item. Select the best answer. Good luck in your exam Dirk.
posted 16 years ago
thanks Dirk It is very useful for me to know about the ICE Test 285. 100%=perfect
thanks dirk ! i'll be gratefull to u ...Questions u send are really useful for me.... surely i'll get sucess in the IBM Certified Associate Developer -TEST 285.
then any other suggestion reg Exam point of view...i need ur's guide...
i want to clear ome thing.... IBM offer a free voucher from jan 1 -2005 to june 2005...is it applicable for test 285..? I am in bangalore...whether this voucher is acceptable by the Testing centers? reply requested... thanks karthik.... software engineer..
hai Dirk,Nicholas ! Thsnks for giving the question paper... i want a small favour... whether u sent the questions are same question paper for pre-assessment and also for IBM Certified Associate Developer -TEST 285.?let me know...plsz..
thanks karthik software engineer..
posted 14 years ago
The ICE sample test questions should be the same, while we dont know the questions in the real exam. You need to study and well-prepare for the tests.