|
Question 1. The DBA has added STATE column to the CUSTOMERS table and has asked you to add a corresponding State item to the Customers block of the Orders form. You want to make it easier for order entry clerks to enter the correct state abbreviation. Most customers are located in five southeastern states, although on very rare occasions there will be customers from outside that area. You decide to implement a list item with five values for the State item and allow clerks to enter the state abbreviation director for those customers outside the region. Which style of list item will you create for the State item? A. A pop list B. A Tlist C. A combo box. D. There is no style of list item that allows users to enter values that are not on the list. Answer: C Explanation: Oracle 9i: Forms Developer Build Internet Application M8-P11 Combo box: Appears as a field with a down arrow next to its right side (Use the button to display all the combo box list elements. The combo box accepts user input.) Question 2. Exhibit: You want to create a new data block. You click the Data Blocks node in the Object Navigator, and then you click Create to invoke the Create Data Block dialog box. As you click through the pages of the wizard, the page shown in the exhibit appears. After looking at the exhibit, what do you know is true about this form? A. The block you are creating is based on a view. B. The block you are creating is based on a stored procedure. C. The form contains at least one block in addition to the block you are creating. D. In addition to the block you are creating, the form contains at least two other blocks that are master-detail blocks. E. The block you are creating is based on a table that has at least one foreign key relationship to another table. Answer: C Explanation: Oracle 9i: Forms Developer Build Internet Application M4-P32 You can build a master-detail form module either by creating a relation between a master and detail block explicitly, or implicitly by using the Data Block Wizard. 1. Create the master block as described earlier in this lesson in the topic Creating a New Data Block. 2. Invoke the Data Block Wizard in the Object Navigator. 3. Follow the same steps as before to create a new data block in the Data Block Wizard until you come to the Master-Detail page. Question 3. You are creating an application on a Windows PC, and you want to test a form. What are two ways to start an OC4J instance on the PC? (Choose two) A. From the Forms Builder menu. B. From the Windows Start menu. C. By executing a batch file that is included with Oracle9iDS. D. From the test form that is included with Oracle9iDS. E. From the HTML front end (runform.htm) that is included with Oracle9iDS. F. By running a Forms Builder form, which automatically starts OC4J. Answer: B, C Explanation: Oracle 9i: Forms Developer Build Internet Application M3-P17 To use OC4J on Windows NT, you start it by executing the batch file provided, called startinst.bat. This file is located in the j2ee\Oracle9iDS\ subdirectory of ORACLE_HOME. If you will be testing your applications on your client machine, it is a good idea to set up a shortcut to this batch file, and also to the batch file to stop the OC4J instance, called stopinst.bat. Question 4. While updating an existing customer record using the Customers form, the user invoked the Orders form by clicking the CONTROL.Orders_btn button. The When-Button-Pressed trigger had the following code: CALL_FORM('orders'); There is a requirement to navigate back to the Customers form after the order details have also been updated. This will be achieved through a form-level Key-Exit trigger in the Orders form. Which code should be used? A. IF GET_APPLICATION_PROPERTY(calling_form) IS NOT NULL THEN EXIT_FORM(ASK_COMMIT, NO_ROLLBACK; ELSE EXIT_FORM; END IF; B. VALIDATE(FORM_SCOPE); IF :SYSTEM.FORM_STATUS <> 'QUERY' THEN GO_FORM('customers'); ELSE EXIT_FORM; END IF; C. ENTER; IF :SYSTEM.CURSOR_BLOCK = 'CHANGED' THEN COMMIT_FORM; ELSE EXIT_FORM(NO_VALIDATE, NO_ROLLBACK); END IF; D. IF :SYSTEM.FORM_STATUS = 'CHANGED' THEN COMMIT_FORM: END IF; GO_FORM(customers'); Answer: A Oracle Forms Developer 6i: Build Internet Applications II M9-P17 Question 5. In the Product.fmb module, data block items are displayed on two content canvases. You define a set of icon buttons that users must have access to at all times. Which canvases type is appropriate to display the buttons? A. Overlay stacked canvas. B. Overlay Tab canvas that is associated with a separate window. C. Content canvas that is associated with the same window as the two content canvases. D. Horizontal Toolbar canvas that is associated with a separate window. E. Horizontal Toolbar canvas that is associated with the same window as the two content canvases. Answer: E Question 6. Exhibit: You are developing an Order Entry form. The When-New-Form-Instance trigger executes a query on the only block in the form. Instead of the alert shown in the exhibit, when the query cannot be performed you want to display to the user a message with the actual database error that is received. What can you do to implement this? A. In the When-New-Form-Instance trigger, insert this code after the EXECUTE_QUERY built in: IF NOT FORM _SUCCESS THEN message(DBMS_ERROR_TEXT); END IF; B. In the When-New-Form-Instance trigger, insert this code after the EXECUTE_QUERY built in: IF NOT FORM_SUCCESS THEN message(SQLERRM); END IF; C. Place this code in a form-level On-Error trigger: IF ERROR_CODE = 40505 THEN message(DBMS_ERROR_TEXT);END IF; D. Place this code in a form-level On-Error trigger: IF ERROR_CODE = 40505 THEN message(SQLERRM); END IF; E. Add this exception handler to the When-New-Form-Instance trigger: EXCEPTION WHEN ERROR_CODE = 40505 THEN MESSAGE(DBMS_ERROR_TEXT); F. Add this exception handler to the When-New-Form-Instance trigger: EXCEPTION WHEN ERROR_CODE = 40505 THEN MESSAGE(SQLERRM); Answer: C Question 7. Exhibit: Which of the items depicted in the Menu Editor (shown in the exhibit) must contain PL/SQL code? A. Exit and Save only. B. File, Edit, and Customers only. C. All items shown in the Menu Editor should contain PL/SQL code. D. Exit, Save, Customers Report, Open Customers, and Call Customers only. E. Exit, Save, Cut, Copy, Paste, Customers Form, Customers Report, Open Customers, and Call Customers only. Answer: D Question 8. To centralize some of your processing, you decide to write PL/SQL library modules that contain procedures that can be called from the triggers or menu items. You want the message "Credit limit exceeded" to be displayed when the values in the order_total and credit_limit fields in the Orders form meet certain criteria. Which code do you use? A. IF :order_total > 10000 AND :credit_limit < 10000 THEN MESSAGE('Credit limit exceeded'); END IF; B. IF :SYSTEM.cursor_item > 10000 AND :SYSTEM.trigger_item < 10000 THEN MESSAGE('Credit limit exceeded'); END IF; C. IF NAME_IN('order_total') > 10000 AND NAME_IN('credit_limit') < 10000 THEN MESSAGE('Credit limit exceeded'); END IF; D. IF COPY('ORDERS.order_total') > 10000 AND COPY('ORDERS.credit_limit') < 10000 THEN MESSAGE('Credit limit exceeded'); END IF; E. IF :ORDERS.order_total > 10000 AND :ORDERS.credit_limit < 10000 THEN MESSAGE('Credit limit exceeded'); END IF; Answer: C Question 9. How can you programmatically determine which button a user pressed to respond to an alert? A. Use the GET_ALERT_PROPERTY function. B. Use the GET_ALERT_BUTTON_PROPERTY function. C. Check the value returned by the SHOW_ALERT function to see if it is 1, 2, or 3. D. Check the value returned by the SHOW_ALERT function to see if it is ALERT_BUTTON1, ALERT_BUTTON2, or ALERT_BUTTON3. E. Check the value returned by the SHOW_ALERT function to see if it is ALERT_BUTTON1, ALERT_BUTTON2, or ALERT_BUTTON3. Answer: D or E – because they are same. Question 10. You should enable the user to add additional values to a list item at run time. You must also ensure that the Record Group LOCATIONS, which is used to populate the list item, can be updated with any user-supplied value. What two actions could you take to accomplish this? (Choose two) A. Add a new value to the list item by calling the POPULATE_LIST built-in. B. Add a new value to LOCATIONS by calling the POPULATE_GROUP built-in. C. Add a new value to the list item by calling the ADD_LIST_ELEMENT built-in. D. Remove duplicate values in LOCATIONS by calling the DELETE_LIST_ELEMENT built-in. E. Add a new value to LOCATIONS by calling the ADD_GROUP_ROW and SET_GROUP_CHAR_CELL built-ins. F. Add a new value to LOCATIONS by calling the ADD_GROUP_ROW and SET_GROUP_NUMBER_CELL built-ins. Answer: C, E Question 11. Your company assigns three possible credit ratings to customers: Poor, Good, and Excellent (represented numerically by 1, 2, and 3). The DBA has just added a RATING column to the CUSTOMERS table and has asked you to add an item to your form so that data entry clerks can populate the RATING column. To restrict data entry clerks to one of these three values, you decide to create a radio group for the Rating item. With the Customers block selected in the Layout Editor, you use the radio button to create three radio buttons on the canvas. You then set the labels (Poor, Good, and Excellent) and values (1, 2, and 3) for the radio buttons. You set the name of the radio group to RATING, its Data Type to Number, and its Database column to Rating. You run the form to test it. When you execute a query, however, no records are returned, although there are many customer records in the database. What can you do to make the query return the records? A. Set the Mapping of Other Values property for the radio group to Null. B. Create a fourth radio button for an undetermined credit rating and leave its value blank. C. Create a fourth radio button for an undetermined credit rating and explicitly set its value to Null. D. Choose a different type of input, because radio groups do not allow query of Null values. Answer: A Explanation: Oracle 9i: Forms Developer Build Internet Application M8-P23 Handling Other Values in a Radio Group If the base table column for a radio group accepts values other than those associated with your radio buttons, you must use one of the following methods to specify how you want to handle the values: •Ignore other values (by leaving the radio group's Mapping of Other Values property blank) •Associate the other values with one of the existing radio buttons (by naming the associated value of the button in the Mapping of Other Values property) Note: Ignoring other values results in the entire row being ignored during query processing. NULL Values in a Radio Group A radio group can treat NULL as a valid value. You should account for the NULL case, if your base table column allows them. Do this in one of the following ways: •Use the Mapping of Other Values property to implicitly force NULL to a radio button. •Assign the NULL to its own radio button. Note: To assign a NULL value, leave the Radio Button Value property blank. Question 12. You are editing the INVENTORY tab canvas. You set the Tab Attachment Edge property to RIGHT. You also change the ordering of INVENTORY tab pages in the Object Navigator. The Direction property has not been customized. What influence will this have on the display of tab pages at run time? A. The highest tab page in the Object Navigator will appear at the far left of the tab stack. B. The highest tab page in the Object Navigator will appear at the top of the tab stack. C. The highest tab page in the Object Navigator will appear at the far right of the tab stack. D. The highest tab page in the Object Navigator will appear at the bottom of the tab stack. E. The lowest tab page in the Object Navigator will appear at the start of the tab stack. Answer: B Question 13. You write a form in which there are two text items (FIELD 1 and FIELD2) and a button (BTN1) arranged in the following sequence: FIELD1, BTN2, FIELD2 Which three conditions will combine to produce a Navigation Trap when the focus is in FIELD1 and the user presses the [Next Item] key? (Choose three) A. FIELD1 has a Post-Text-Item trigger that fails. B. FIELD1 has a Pre-Text-Item trigger that fails. C. FIELD1 has a When-New-Item-Instance trigger that fails. D. FIELD2 has a Post-Text-Item trigger that fails. E. FIELD2 has a Pre-Text-Item trigger that fails. F. FIELD2 has a When-New-Item-Instance trigger that fails. G. The Keyboard Navigable property of BTN1 is set to No. H. The Keyboard Navigable property of BTN1 is set to Yes. Answer: B, E, G Question 14. Which two statements define a Static Record Group? (Choose two) A. The Record Group can be created only at run time. B. The Record Group is not associated with a query. C. The Record Group can be created and modified only at design time. D. The Record Group can be created and modified at design time or at run time. E. You can modify the structure of this Record Group by adding columns and rows at run time. F. You can modify the structure of this Record Group by associating it with a query at run time. Answer: B, C Question 15. There is a requirement in the Orders form to direct the focus depending on the value in the Sales Rep Id text item. The design team has not yet decided on the exact details, but you propose the following style of code: IF :ORDERS.Sales_Rep_Id = ... THEN --value to be decided later GO_ITEM(...); --item to be decided later ELSE GO_ITEM(...); --item to be decided later END IF; A colleague suggest that the code could be called from the triggers listed below. In fact, not all these triggers can execute the code. Which three triggers can call the code? (Choose three) A. Post-Block on the Orders block. B. Pre-Block on the Order_Items block. C. When-New-Block-Instance on the Orders block. D. Post-Text-Item on the Sales Rep Id text item. E. When-Validate-Item on the Sales Rep Id text item. F. When-New-Block-Instance on the Order_Items block. Answer: C, E, F Question 16. The REGIONS non-query Record Group has two char columns. Which built-in can you use to replace any existing rows in REGIONS with the results of a query? A. ADD_GROUP_ROW('REGIONS',2); B. rgno :- POPULATE_GROUP('REGIONS'); C. rgno := POPULATE_GROUP_WITH_QUERY('REGIONS', 'select name, country, id from region table'); D. rgno := CREATE_GROUP_FROM_QUERY('REGIONS', 'select name, country, id from region table') E. rgno := CREATE_GROUP_FROM_QUERY('REGIONS', 'select name, country from region table'); F. rgno := POPULATE_GROUP_WITH_QUERY('REGIONS', 'select name, country from region table'); G. You cannot populate a non-query Record Group with the results of a query. Answer: F
|
Question 1. Which of these options describes Cisco StackWise technology? (Select one.) A. Cisco StackWise technology joins individual, stackable switches to create a single functional switch. B. Cisco StackWise technology creates data stacks to prioritize converged network traffic. C. Cisco StackWise technology joins modular switches together to provide switching redundancy. D. Cisco StackWise technology groups routers and switches together in the wiring closet. Answer: A Question 2. Which three security features distinguish the Cisco Security Suite from basic wireless security? (Choose three.) A. TKIP B. SSIDs C. static WEP keys D. advanced security E. IEEE authentication F. MAC address authentication Answer: A, D, E Question 3. Company ABC deployed several Cisco 7500 Series Routers as backbone routers, reliably delivering business-critical network services. Today's networks need the higher levels of services integration and performance found in newer and more robust Cisco platforms. The Cisco 7500 Series will be EOL'd. Which platform is the best choice for the customer if they want to improve performance up to 30 mpps and increase the scalability and density of ports? A. Cisco 6500 Series B. Cisco 7200 Series C. Cisco 7600 Series D. Cisco 12000 Series Answer: C Question 4. Which four ways can the Cisco Catalyst 6500 be used? (Choose four.) A. for small businesses B. for SOHO networks C. for large service providers D. to scale future IPv6 applications E. for the distribution and core layers F. as the switch aggregation point for the entire network Answer: C, D, E, F Question 5. Which three blueprints would you suggest for voice and data with 500 to 1000 ports per site? (Choose three.) A. Cisco Catalyst 3750 and 7200 ISR Routers B. Cisco Catalyst 3560 and 2801 ISR Routers C. Cisco Catalyst 4500 and 7200 ISR Routers D. Cisco Catalyst 2960 and 7200 ISR Routers E. Cisco Catalyst 6500 and 7200 ISR Routers F. Cisco Catalyst 6400 and 1801 ISR Routers Answer: A, C, E Question 6. You have a customer who has adapted to new technology very slowly. This mid-sized manufacturing business has been in the same building for 50 years and employees still punchin using a time clock. Despite this, the company has grown and recently opened a state-of-the-art facility overseas. The son is taking over the business and would like to automate the office by adding communications and ERM applications. What three types of advanced technology options immediately come to mind? (Choose three.) A. VoIP B. instant messaging C. Video conferencing D. IEEE authentication E. network investment life solutions F. Cisco IP Communications solutions Answer: B, C, F Question 7. Which of the following features are included in Cisco Router and Security Device Manager? A. Tools that provide information regarding network devices, connectivity, VLAN/LANE and ATM configuration, analysis, and IP phone user and path information B. Tools that help integrate built-in knowledge of interactions between different Cisco IOS features, industry best practices, and TAC-recommended configurations C. Tools that help manage Cisco devices using inventory- and device-change management, network configuration and software image management, network availability, and syslog analysis D. Tools that are designed to assign priority to data packets based on dedicated bandwidth Answer: B Question 8. Cisco Catalyst Express 500 Series switches are positioned for which market segment? (Select one.) A. Telecommuter home office B. Small branch office of less than 250 employees C. Medium-sized branch office of between 250 and 500 employees D. Large office of between 500 and 1,000 employees Answer: B Question 9. The Cisco 7301 Router is attractive for headquarters customers who are looking for: (Select one.) A. The functionality of Cisco 7200 Series routers but with a more compact form factor B. Scalability using VIPs C. A router with the most complete port adapter family D. A 2-RU form factor router Answer: A Question 10. How does Cisco IOS software modularity help minimize downtime? A. By enabling modular Cisco IOS subsystems to run in independent, self-correcting processes B. By automatically notifying administrators when network performance falls below prescribed levels C. By automatically re-routing voice traffic to the PSTN if the WAN fails or becomes congested D. By enabling stateful failover on Catalyst 6500 switches Answer: A
Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.