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

    You have written a When-Validate-Item trigger. You want this trigger to fire even if the form is in Enter- Query mode. What must you do to achieve this?

    A. Use the following code at the start of the When Validate-Item trigger: :SYSTEM.mode := 'ENTER-QUERY';
    B. Use the following code at the start of the When Validate Item trigger: :SYSTEM.mode := 'NORMAL';
    C. Set the Fire in Enter Query Mode property of the When-Validate-Item trigger.
    D. You do not need to do anything, because the default for the When Validate Item trigger is to fire in Enter-Query mode.
    E. You cannot achieve this, because the When-Validate-Item trigger cannot be set to fire in Enter-Query mode.

  • Question 42:

    Which type of variable must be declared before it is used in a trigger?

    A. PL/SQL variable
    B. Form item
    C. global variable
    D. system variable
    E. parameter

  • Question 43:

    You have a form that called a database stored procedure. You do not want processing to continue, so immediately after the call to the stored procedure, you add the following code:

    IF NOT FORM_SUCCESS THEN

    MESSAGE ('Stored Procedure failure');

    RAISE FORM_TRIGGER_FAILURE;

    END IF;

    You test the code and input some data that intentionally causes the stored procedure to fail. However, the message that you defined does not appear. What are two possible reasons for this?

    A. You must handle database errors in an exception clause of the trigger.
    B. You must test for FORM_FAILURE when testing for failure of a stored procedure.
    C. You must test for FORM_FATAL when testing for failure of a stored procedure.
    D. FORM_SUCCESS tests for failure of Forms built-ins, not stored procedures.
    E. You cannot test for failure of a stored procedure, because database errors are transparent to Forms.

  • Question 44:

    The Enforce Primary Key property of a data block ensures that the primary key of a new record exists in the database.

    A. True
    B. False

  • Question 45:

    Which four types of variables must have their names preceded by a colon when they are referenced in trigger code?

    A. PL/SQL variables
    B. Form items
    C. global variables
    D. system variables
    E. parameters

  • Question 46:

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

    The Orders form has four blocks. The Orders and Order_items block are on the CV_Order content canvas; the inventories block items are on the CV_inventories content canvas; and Control block buttons are on the CV_Buttons toolbar

    canvas. All buttons have mouse Navigate set to No.

    The Order_Items block is a detail of Orders. The inventories block is a detail of Order_Items, showing the stock of the selected product.

    There is a button in the Control block with a When-Button-Pressed trigger:

    IF GET_CANVAS_PROPERTY(:SYSTEM.cursor_item, item_canvas) = 'CV_ORDER' THEN GO_BLOCK ('inventories')

    ELSE

    GO_BLOCK('orders');

    END IF;

    When you run the form and click the button, navigation does not occur, and the form displays the runtime error "FRM-41053: Cannot find Canvas: invalid ID." What should you do to correct this problem?

    A. Change the sequence of blocks in the Object Navigator
    B. Chang the Mouse Navigator property of the button to yes
    C. in the first line of code, change the built-in to GET_ITEM_PROPERTY
    D. in the first line of code, change the system variable to: SYSTEM.CURSOR_CANVAS.
    E. in the first line of code, change the CV_ORDER to lowercase
    F. Chang the argument to the GO_BLOCK built-ins to uppercase

  • Question 48:

    You have coded the following When Button Pressed trigger:

    EXECUTE_QUERY;

    MESSAGE ('Query executed on block');

    MESSAGE ('click next to navigate the next record');

    When the user clicks the button, how is the message "Query executed on block" displayed?

    A. as a system message on the status line
    B. as a system message in a system alert
    C. as a system message in an application alert
    D. as an application message on the status line
    E. as an application message in a system alert
    F. as an application message in an application alert

  • Question 49:

    View the Exhibit.

    The Departments form has form level triggers defined as shown in the Exhibit. You have enabled array DML for the Departments block by setting its DML array size to 5 and setting the Primary Key property of Department id to Yes. You set runtime preferences for Forms Builder to use array processing.

    You want to test that array processing is actually occurring, so, as shown in the Exhibit, the On- Update, On-Delete, and on insert triggers have code that:

    1.

    Displays a message to indicate which trigger is firing for which record?

    2.

    Does the thing (either updates, deletes, or inserts)

    The other triggers simply display a message, indicating the trigger that is firing.

    You run the form from Forms Builder, but from the messages, you can tell that array processing is not occurring. What should you change so that array DML gets implemented?

    A. Delete the "On-" triggers; these triggers remove default processing, including array processing.
    B. Set the DML array size to a value of 10 or greater; for array sizes loss than 10, array processing Is inefficient, and so is not performed.
    C. Use the SYNCHRONIZE built-in after the MESSAGE built-in; otherwise, the message are not displayed until the processing is finished, giving the appearance that array processing is not taking place.
    D. Set the Enforce Primary Key property of the Department block to Yes; it is not enough to just set the Department_Id to be the primary key.

  • Question 50:

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

    The CV_Tools canvas contains several buttons. There is limited space on the canvas, but the first button is not quite wide enough to display its complete label. In the Layout Editor, you widen the button slightly and find that the width of all the

    buttons increases so that they now overlap each other.

    What could have caused this problem?

    A. The buttons inherit their properties from the same property class.
    B. The buttons were created by dragging them from an object group.
    C. The buttons were created by using a Smart Class.
    D. All other buttons were subclassed from the first button.
    E. All other buttons were copied from the first button.
    F. The first button was subclassed from another button.
    G. The first button was copied from another button.

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.