| 1. | What happens on clicking the Run Form Debug in Forms Builder? |
| a. | | The forms run on the local machine using a debug executable client |
| b. | | The form runs in a three-tier environment using the application server URL that is specified in runtime preferences |
| c. | | The form runs in a three-tier environment using the application server URL that is specified in debug preferences |
| d. | | The form runs in a simulated three-tier environment using an applet viewer that is included with the product to enable debugging
|
|
|
|
|
|
|
| 2. | TOM wants to create a new data block. He clicked the Data Blocks node in the Object Navigator, and then clicked Create to invoke the Create Data Block dialog box. As he clicked through the pages of the wizard, Create Relationship option appears. Which of the following statements hold true about the form? |
| a. | | The block he is creating is based on a view |
| b. | | The block he is creating is based on a stored procedure |
| c. | | The form contains at least one block in addition to the block he is creating |
| d. | | In addition to the block he is creating, the form contains at least two other blocks that are master detail blocks |
| e. | | The block he is creating is based on a table that has at least one foreign key relationship to another table
|
|
|
|
|
|
|
| 3. | A master-detail form displays Orders and Order Items. Which of these Triggers are being created based on the relationship created between the Orders and Order_Items Database Data Block? |
| a. | | When-Validate-Record Trigger |
| b. | | When-Create-Record Trigger |
| c. | | Post-Query Trigger |
| d. | | On-Check-Delete-Master Trigger |
| e. | | On-Populate-Details Trigger
|
|
|
|
|
|
|
| 4. | Upon testing a form, it was discovered that pressing the Tab key with the cursor in the Product Id field moves the cursor to Order Id field. Pressing the Tab key twice more moves the cursor to Department Name and, finally, to Location Id. How can the navigation order be changed so that the cursor moves from Product Id to Department Name when tabbing forward through the items in the Products block? |
| a. | | Set Keep Cursor Position for all items to Yes |
| b. | | Set the Required property of the Department_Name item to Yes |
| c. | | Set the Keyboard Navigable property for the Order_Id item to No |
| d. | | Set the Automatic Skip property for the Department_Name item to No |
| e. | | Set the Next Navigation Item property for the Product_Id item to DEPARTMENT_NAME |
| f. | | Set the Previous Navigation Item property for the Department_Name item to Product_ID |
| g. | | Drag the Department_Name item to a position just below the Product_Id item in the Object Navigator
|
|
|
|
|
|
|
| 5. | The Orders form must display the item total for products ordered. It was decided to implement this functionality by creating an item in the ORDER_ITEMS block as a Calculated item. The item total is calculated by multiplying the UNIT_PRICE of the product by the QUANTITY ordered. Which item properties must be set? |
| a. | | Item Type must be set to Display Item |
| b. | | Calculation Mode must be set to Formula |
| c. | | Calculation Mode must be set to Summary |
| d. | | Summarized Block must be set to ORDER_ITEMS |
| e. | | Formula must be set to an appropriate calculation
|
|
|
|
|
|
|
| 6. | Order entry clerks use the Orders form to enter the shipping date of an order. Once the shipping date has been entered into the database, the clerks are not allowed to modify it. What property can be set in the Property Palette for the Shipping_Date item to ensure that this data entry restriction is enforced? |
| a. | | Enabled |
| b. | | Database Item |
| c. | | Update Allowed |
| d. | | Update Only If NULL
|
|
|
|
|
|
|
| 7. | How can the users be enabled to add a single value to a list item? |
| a. | | Set the List Style property to combo box. From the When-List-Activated trigger, call the Add_List_Element built-in |
| b. | | Set the List Style property to Tlist. From the When-List-Activated trigger, call the Populate_List built-in |
| c. | | Set the List Style property to poplist. From the When-List-Activated trigger, call the Add_List_Element built-in. |
| d. | | Set the List Style property to combo box. From the When-List-Changed trigger, call the Add_List_Element built-in
|
|
|
|
|
|
|
| 8. | In the Human Resource form, a LOV based on a record group was created. The record group query selects the job title and job ID from the JOBS table that contains the following records:
JOB_TITLE JOB_ID
Accountant FI_ACCOUNT
Accounting Manager AC_MGR
Administration AD_ASST
Assistant
President AD_PRES
Programmer IT_PROG
Public Accountant AC_ACCOUNT
Purchasing Clerk PU_CLERK
Purchasing Manager PU_MAN
Sales Manager SA_MAN
Sales Representative SA_REP
The Job_ID value is returned to the Employees.Job_Id item in the form. The LOV was attach the to the Job_ID item and its Validate property was set from List property to Yes. The form was run to test it. 'Pro' (without the quotes) was entered into the Job_ID item. What is the behavior when the Tab key is pressed?
|
| a. | | The LOV will appear. If the user clicks Cancel, the cursor will move to the next navigable item in the form |
| b. | | The LOV will appear. If the user clicks Cancel, the cursor will remain in the Job_ID item and an error message will appear |
| c. | | The LOV will not appear. The Job_ID item will be assigned the value IT_PROG. The cursor will move to the next navigable item in the form |
| d. | | The LOV will not appear. The Job_ID item will be assigned the value Programmer. The cursor will move to the next navigable item in the form
|
|
|
|
|
|
|
| 9. | JOHN is developing a form for customers to order tickets to events. There is a Date item in the Tickets block of the form that has a LOV whose record group uses the following query:
SELECT event_name, event_date FROM events ORDER BY event_date;
In the Choose_Event block of the form, he wants users to be able to select an event name into an Event_Name item. The event name will be selected from a LOV that is sorted by the name of the event. He does not want to modify either LOV or record group at run time. Which of the following statement is correct with regard to LOV and record group as specified at design time? |
| a. | | He must define a new LOV for the Choose_Event.Event_Name item that uses a different record group |
| b. | | He must define a new LOV for the Choose_Event.Event_Name item, but he can base it on the same record group |
| c. | | He can use the same LOV and record group for the Choose_Event.Event_Name item that he used for the Tickets.Date item |
| d. | | He can use the same LOV for both items, but he should specify that each item must use a different record group for the LOV
|
|
|
|
|
|
|
| 10. | TOM is developing a form for customers to order tickets to events. There is an Event_Date item in the Ticket block of the form, and he wants users to enter dates only for existing events. He used the LOV wizard to create an LOV based on a record group with the following query:
SELECT event_name, event_date FROM events ORDER BY event_name
On the Column Properties page of the LOV (as shown in the exhibit), he clicked Look up return item and select the Tickets. Event_Date item from the items list. He runs the form to test it. However, when he invoked the LOV and chose an event, he received the error FRM-40212: Invalid value for field EVENT_DATE.' What should he do to correct this problem? |
| a. | | Change the Validate from List property for the Event_Date item to No |
| b. | | Create another item in the form to which the event name can be returned |
| c. | | Modify the Record Group Query property for the record group to sort the list by event date |
| d. | | Modify the Column Mapping property of the LOV so that the Event Date, rather than the Event Name is returned |
| e. | | Modify the Record Group Query property for the record group so that the event date is the first column selected
|
|
|
|
|
|
|
| 11. | The Wild Life Association tab canvas needs to be resized. The View port Width and Height properties are 200 and 300. The values are changed to 150 and 120, respectively. What implication may this have on the design? |
| a. | | Some tab pages may be obscured at run time |
| b. | | By decreasing the View port Width property, some tab pages may be deleted |
| c. | | Objects previously within the borders of a tab page may fall outside the tab page border, compilation errors will occur |
| d. | | Objects previously within the borders of a tab page may fall outside the tab page border and will be visible at run time only by navigating to them programmatically |
| e. | | Objects previously within the borders of a tab page may fall outside the tab page border and will be assigned to the null canvas
|
|
|
|
|
|
|
| 12. | In the Online E-learning .fmb module, data block items are displayed on two content canvases. A set of icon buttons is defined 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
|
|
|
|
|
|
|
What others think about Oracle Test OCP Practice Test - Oracle 9i Form OCP Test Questions |
| By: sudha on Sep 17, 2009 |
|
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |
| By: sudha on Sep 17, 2009 |
|
 |