Exam Details

  • Exam Code
    :1Z0-151
  • Exam Name
    :Oracle Fusion Middleware 11g: Build Applications with Oracle Forms
  • Certification
    :Middleware
  • Vendor
    :Oracle
  • Total Questions
    :90 Q&As
  • Last Updated
    :

Oracle Middleware 1Z0-151 Questions & Answers

  • Question 1:

    Which three are valid ways to populate a display item?

    A. initial Value property

    B. User input

    C. When-Button-Pressed trigger

    D. Calculation

    E. Executing a query

  • Question 2:

    An LOV must be displayed several times in your form; therefore, good performance when displaying LOV is essential. In a When-New-Form-instance trigger, you want to save the ID of the LOV in a global variable so that you can use it in any code to display the LOV.

    Which built-in would you use to get the ID of the LOV?

    A. SHOW_LOV

    B. FIND_LOV

    C. GET_ITEM_PROPERTY

    D. GET_LOV_PROPERTY

    E. GET_APPLICATION_PROPERTY

  • Question 3:

    You must be careful when coding a When-Button-Pressed trigger, because it does not accept restricted built-ins.

    A. True

    B. False

  • Question 4:

    The Orders form, you want to enable users to use Microsoft Excel to create and print an invoice for the customer. The file should be created on the user's computer so that it can be printed with the local printer.

    Which WebUtil package would you use to implement this requirement?

    A. CLIENT_GET_FILE_NAME

    B. CLIENT_HOST

    C. CLIENT_OLE2

    D. CLIENT_TEXT_IO

    E. CLIENT_Win_API

    F. WEBUTIL_FILE

    G. WEBUTIL_UTIL

  • Question 5:

    When users enter address information, you want them to be able to select the state from a static list of values. You have not used a list of states before, and there is no database table that contains state information.

    What is the first step in creating such a list of values as quickly as possible?

    A. invoke the LOV wizard.

    B. Create a new record group that is based on a SQL query.

    C. Create a new static record group.

    D. Create a list item instead; a list of values is not appropriate for a static list.

  • Question 6:

    View the Exhibit.

    What four facts can you determine by examining the Object Navigator?

    A. The Orders block is a detail block.

    B. The Order_Items block is a detail block.

    C. An order can be deleted only if it has no order items.

    D. If an order is deleted, all of its order items are deleted.

    E. You cannot delete order items without deleting the order.

    F. You can delete an order without deleting its order items.

    G. The Orders block is a master block.

    H. The Order_Items block is a master block.

    I. If you delete an order item, all of its associated inventory items are deleted.

    J. The inventories block is a master block.

  • Question 7:

    Customers log in to your Orders application by using their customer ID, which is saved as a global variable. When the Orders form first comes up, you want it to be populated with the customer's orders, and you do not want customers to be able to query for another customer's orders.

    You code the following triggers:

    When-New Form instance on the Orders form:

    GO_BLOCK('orders'); EXECUTE_QUERY;

    You also have a button in the Control block labeled Query Orders with a When-Button Pressed trigger that has the same code as the When New-Form instance trigger. To test the form, you run it and log in a Customer 104. When you click Query Orders, all orders are shown, not just those for Customer 104.

    What is the best way to correct this issue to ensure that the customer can never query another customer's orders?

    A. Delete the Key-Exeqry trigger and add the its first line after the call to GO_BLOCK in the When-NewForm-instance trigger.

    B. Change the last line of the When-Button-Pressed code to: DO_KEY ('EXECUTE_QUERY');

    C. Delete the Key-Exqry trigger and put its code in an On-Select trigger.

    D. Delete the Key-Exqry trigger and put its code in a Pre-Query trigger.

  • Question 8:

    View the Exhibit.

    You are creating a menu for use with several forms. You create the structure of the menu in the Menu Editor.

    As shown in the Object Navigator in the Exhibit, which objects are menu items?

    A. MENU3 only

    B. ITEM6 only

    C. MENU3, ITEM4, ITEM5, ITEM5_MENU, and ITEMG

    D. ITEM4, ITEM5, and ITEM6 only

    E. ITEM4 and ITEM5 only

    F. ITEM 4 and ITEM6 only

    G. ITEM5 and ITEM only

    H. MENU3 and ITEM5_MENU only

  • Question 9:

    Which three statements are true about the PL/SQL Packages panel in the Forms debugger?

    A. You can select an option button to view server packages.

    B. You can view packages only while the runtime process executes PL/SQL.

    C. You can view the values of variables that are defined in the package specification.

    D. You ran select an option button to view the packages that have not yet been instantiated.

  • Question 10:

    The Orders form, whose properties have not been changed from the default, has two non-base table text items to display the sales representative's first and last names.

    You want to ensure that entries made in these Items correspond to an existing employee, so you write a When-Validate-Item trigger for the Sales_Rep_First_Name text item:

    SELECT LAST_NAME Into :last_name FROM employees WHERE first_name = :first_name; EXCEPTION WHEN NO_DATA_FOUND THEN MESSAGE ('There is no sales rep by this name');

    When you test the form and enter a first name that does not exist in the database, the message that you specified appears, but the cursor goes to the Sales_Rep_Last_Name item. You want the cursor to remain in the Sales_Rep__First Name item until a correct first name is entered.

    Also, as you continue to test the form, at times, the cursor does not leave the Sales_Rep_First_Name item after you enter a name, but no error message appears.

    Which two things can you do to correct these problems?

    A. Add the code to handle the FORM_TRIGGER_FAILURE exception.

    B. Raise the FORM_TRIGGER_FAILURE exception.

    C. Add code to handle the TOO_MANY_ROWS exception.

    D. Raise the TOO_MANY_ROWS exception.

    E. Code an On-Error trigger.

    F. Code an On-Message trigger.

    G. Write a When-Validate-Item trigger for the Sales_Rep_Last_Name item.

    H. Move the code to a form-level When-Validate-Item trigger.

    I. Change the form's validation Unit property to Record.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-151 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.