1Z0-151 Exam Details

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

Oracle 1Z0-151 Online Questions & Answers

  • Question 11:

    You have written a Forms application that your users log in to with their database login. Which Forms component is utilized first when a user runs the application?

    A. Forms Client (applet)
    B. Forms Runtime
    C. Forms Servlet
    D. Forms Listener Servlet

  • Question 12:

    You are implementing a JavaBean in a form, the bean has no visible component on the form when invoked, the bean displays an input text where users enter a zip code, the bean has a single method that returns a short weather forecast for that zip code as a character value.

    How can you retrieve that value so that you can display it to the user?

    A. Use FBEAN.ENABLE_EVENT to register a listener for the bean event. Obtain the value of SYSTEM.CUSTOM_ITEM_EVENT in a When-Custom item Event trigger, and then use that value as an argument to the MESSAGE built in.
    B. Use FBEAN.REGISTER_BEAN as an argument to the MESSAGE built in to invoke the bean's method and return the value as a message displayed to the user.
    C. Use FBEAN.REGISTER_BEAN to register the bean, so that when the user enters a zip code into the bean s input text, the value is automatically displayed in the bean area item.
    D. Use FBEAN.ENABLE_EVENT to register a listener for the bean event. Obtain the value of SYSTEM.CUSTOM_EVENT_PARAMETER in a When_Custom-item-Event trigger, and then use that value as an argument to the MESSAGE built-in.

  • Question 13:

    There are certain errors that are specific to the Salary item on the Employees form. You want to trap these errors only when the user navigates from the Salary item. You have a form-level On-Error trigger that traps errors that apply to the form in general, but yon additionally code an item-level On-Error trigger for the Salary item. When testing the form, you find that the general errors are not trapped when you navigate from the Salary item. What can you do to correct this problem?

    A. Call the form level On-Error trigger from the item-level On-Error trigger.
    B. Call the item-level On-Error trigger from the form-level On-Error trigger.
    C. Change the Execution Hierarchy property for the item-level On-Error trigger.
    D. Change the Execution Hierarchy property for the form-level On-Error trigger.
    E. Move all the code to a PL/SQL program unit and call it from both the form level and item level On-Error triggers.

  • Question 14:

    You have been assigned to maintain a forms application that was designed by a developer who has left the company.

    The form uses different property classes to standardize the appearance of objects in the form. For example, all buttons should be of the same width.

    The CV_Tools canvas contains several buttons. The Print invoice button is not quite wide enough to display its complete label.

    In forms Builder, you open the Button_PC property class and change its Width property to a higher number. All the buttons become larger except the Print invoice button, which remains its original size. What could have caused this problem?

    A. The Print invoice button was copied from, rather than subclassed from, the Button_PC property class.
    B. The subclass information property for the Print invoice button is blank.
    C. The Width property of the Print invoice button is an inherited property.
    D. The Width property of the Button_PC property class is a variant property.
    E. The X Position of the print invoice button is a variant property.
    F. The X Position Property is not included in the Button_PC property

  • Question 15:

    Identify a function of the Forms Servlet.

    A. It creates a dynamic HTML file.
    B. It starts a Forms runtime session.
    C. It manages network requests from the Forms Client.
    D. It connects to and communicates with the database server.
    E. It renders the Forms Services application display for the user.

  • Question 16:

    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 17:

    In the Orders form, users often have a need to return to the first record. Because there are many employee records, it may take a long time for them to scroll up to the first record, so you create a button with the label First Record.

    When users click the first Record button, you want to display your own custom message instead of the system message "FRM-40100: At first record."

    The system message should be displayed in other cases when users attempt to scroll above the first record.

    You code the following When-Button-Pressed trigger:

    :SYSTEM.mesage_level := '5'

    UP;

    WHILE FORM_SUCCESS LOOP

    UP;

    END LOOP;

    MESSAGE ('This is the first Order');

    The button works perfectly to return to the first record and display your custom message instead of the system message. However, users report that as they continue to use the form after clicking the button, no longer see other helpful

    messages. For example, the message "FRM 40102:

    Record must be entered or deleted first" no longer appears when they attempt to scroll past the last record.

    How can you resolve this Issue so that all system messages continue to be displayed after the trigger code runs?

    A. instead of setting the system message level to 5 in the code, set it to 50.
    B. instead of setting the system message level to 5 in the code, set it to 25.
    C. Add the line of code just before the end of the loop to reset the system message level.
    D. Add a line of code just after the end of the loop to reset the system message level.
    E. Instead of setting the system message level in the When-Button-Pressed trigger, use an On- Error trigger to customize the message.
    F. Set the system message level in a When-New-Form-Instance trigger, so that all system messages appear except when in the scope of the trigger.

  • Question 18:

    You want to display employee records in tabular format, but the form is not wide enough to display all the items in the Employees block. The employee IDs and names of displayed records should always be visible, but you want to scroll the additional information as users tab through the Items, the form should look like a spreadsheet with the first two columns frozen.

    Which canvas types would be most appropriate in this scenario?

    A. content canvas in a window with a horizontal scroll bar
    B. content canvas and multiple tab canvases
    C. content canvas and a tab canvas with multiple tab pages
    D. content canvas and a stacked canvas with a horizontal scroll bar
    E. multiple content canvases

  • Question 19:

    You are using a PL/SQL program unit in the Orders form to display an image for the selected product in the Order Items block. The code is called from several different triggers in the form. The code (with line numbers added) is:

    1.

    PROCEDURE get_image IS

    2.

    Product_image_id ITEM := FIND_ITEM ('control.product_image');

    3.

    Filename VARCHAR2(250);

    4.

    BEGIN

    5.

    Filename := TO_CHAR(:order_items.product_id) | | '.jpg';

    6.

    READ_IMAGE_FILE (filename, 'jpeg', product_image_id);

    7.

    END;

    Management wants all codes to be in PL/SQL libraries to facilitate reuse. You create a PL/SQL library and drag the program unit from the orders form to the Program Units node of the library. You then delete the program unit from the Orders form.

    What three things must you do to compile the PL/SQL library and to use the code in the Orders form?

    A. Change line 5 to: filename := to_char(name_in 'order_items.product_id' )) | | '.jpg';.
    B. insert the RELEASE keyword between lines 1 and 2.
    C. Delete the BEGIN and END statements (lines 4 and 7).
    D. Change product_id to an in parameter and filename to an OUT parameter.
    E. Save the library.
    F. Generate the a .plx file.
    G. Attach the library to the orders form.
    H. Change the way the program unit is called in the Orders form.

  • Question 20:

    View the Exhibit.

    You have placed the following code in a Post insert trigger on the Orders block:

    SELECT orders_seq.NEXTVAL

    INTO :orders.order_id

    FORM SYS.dual;

    You have also set Item properties for the Order_Id Item in the form so that users cannot directly enter an Order ID.

    As the SUMMIT user, you run the form to test it. Yon are able to insert a record in the block, but when you click Save, you have a database error as shown in the Exhibit.

    What is the probable cause of this error?

    A. The code should be in Pre_insert trigger instead
    B. The code should be in a database trigger instead
    C. You should change the code to select the sequence number from SUMMIT.dual instead.
    D. You should create the sequence in the database, because the runtime error is an indication that is does not exist.
    E. You should assign a temporary value to the Order_Id item before saving the form.

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.