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

    To troubleshoot a problem with a form, you have added a call to the MESSAGE () built-in at the beginning of the When-Validate-Item trigger of the Customer_Id then in the Orders Block of the Orders form. The message simply states that the trigger is firing.

    You run the form, make a change in Customer_Id, and then tab out of the item but the message does not appear. What are two possible causes for this problem?

    A. The form is in Enter-Query mode.
    B. The item is using an LOV for validation.
    C. The validation unit of the form needs to be changed.
    D. The MESSAGE () built-in is not allowed in validation triggers.
    E. There is a syntax error in the call to the MESSAGE() built-in.
    F. Validation for the Customer_Id item failed.

  • Question 52:

    You have a form with a single multi-record block. During a session, a user performs an insert and clicks Save What is the behavior of the record being inserted violates a database constraint?

    A. The record is posted to the database but not committed. The form redisplays the record with an error message so that the user can correct the data. Navigation to another record cannot occur until the correct data is committed or the new record is deleted. If the user exits the form without correcting the entry, a database rollback is performed.
    B. The record is committed to the database. The form redisplays the record with an error message so that the user can correct the data. The user is unable to exit the form or move to another record until the correct data is committed of the new record is deleted.
    C. A database rollback is performed. The form redisplays the record with an error message so that the user can correct the entry. The user is able to navigate to another record or exit the form.
    D. A database rollback is performed. The form redisplays the record with an error message so that an correct the entry. Navigation to another record cannot occur until the correct data is committed or the record is deleted.
    E. The record is committed to the database. The form redisplays the record with a warning in case the user would like to correct the entry. The user is able to navigate to another record or exit the form.

  • Question 53:

    The Orders database table uses Order_id as its primary key. You have written the following code to use in the Orders block of a form:

    SELECT orders_seq.NEXTVAL INTO :orders.order_id FROM SYS.dual;

    Which statement is true about this code?

    A. If you place this Code in a trigger that fires when the record is inserted into the database, you will likely have more gaps in Order IDs than if you use the sequence as a default value for the item.
    B. If you place this code in a trigger, you should ensure that Order_Id has its required property set to Yes.
    C. If you place this code in a trigger, you should ensure that Order_Id has its Database Item property set to No.
    D. If the named sequence does not exist, it is automatically created the first time the code is called.
    E. You should place this code a in a database trigger to minimize the gaps in Order IDs.
    F. You should place this code in Pre-insert trigger to minimize the gaps in Order IDs.
    G. You should place this code in a Post_insert trigger to minimize the gaps in Order IDs.

  • Question 54:

    In Forms Builder, the iconic buttons on the form are blank, but when you click Run Form the form appears in the browser with Images in the iconic buttons. What are two things that you can check to track the source of this problem?

    A. forms Builder runtime preferences
    B. the UI_ICON setting in the operating system
    C. the iconpath setting in the Forms registry file
    D. the UI_ICOM_EXTENSION setting in the operating system
    E. the iconextension setting in the Forms registry file
    F. the FORMS_PATH setting in the Forms environment file
    G. the classpath setting in the operating system

  • Question 55:

    View the Exhibit.

    The Summit menu is attached to the Orders form. The Toggle Autoquery menu item is a check box that toggles whether a query is automatically performed when the Orders form is first invoked. If the check box is deselected, users must

    manually query.

    In addition to using the menu, users want to be able to toggle the autoquery preference directly from the form. You add a button named Toggle Autoquery with the following When-Button- Pressed trigger:

    DECLARE

    mi_id MENUITEMS;

    BEGIN

    mi_id ;=FIND_ITEM ('Preferences.AutoQuery')

    /* Determine the current checked static of the AutoCommit menu checkbox item And toggle the checked state*/

    IF GET_ITEM_PROPERTY (mi_id, CHECKED) = 'TRUE' THEN

    SET_ITEM_PROPERTY (mi_id, CHECKED, PROPERTY_FALSE);

    ELSE

    SET_ITEM_PROPERTY (mi_id, CHECKED, PROPERTY_TRUE);

    END IF;

    END;

    However, the trigger does not compile. What three changes must you make so that the trigger compiles successfully?

    A. Change FIND_ITEM to FIND_MENU_ITEM.
    B. Change 'preferences.AutoQuery' to 'orders.preferences.AutoQuery'.
    C. Change 'preferences.AutoQuery' to 'AutoQuery'.
    D. Change 'preferences.AutoQuery' to 'ORDERS.PREFERENCES>AUTOQUERY'.
    E. Change 'preferences.AutoQuery' to 'AUTOQUERY'.
    F. Change GET_ITEM_PROPERTY to GET_MENU_ITEM_PROPERTY
    G. Change SET_ITEM_PROPERTY to SET_MENU_ITEM_PROPERTY
    H. Change PROPERTY_FALSE to 'FALSE'.
    I. Change PROPERTY_TRUE to 'TRUE'.

  • Question 56:

    You put some code in a Post_Update trigger and raise the FORM_TRIGGER_FAILURE under certain conditions. Does a rollback take place if the trigger falls?

    A. Yes. Although the update has been applied to the database, the old column values are retained as rollback data; so a failure of this trigger automatically reinstates the original values.
    B. No. It is too late to perform a rollback at this stage because the update has already been applied.
    C. The value have already been applied, so you must programmatically save the old values in the global variables or PL/SQL variables if you want to reinstall the original values.

  • Question 57:

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

    You have created an editor named MyEditor, and you want it to be available to edit the text item Product_Description. You can associate the editor with the text item by setting the Editor property of Product_Description to MyEditor.

    A. True
    B. False

  • Question 59:

    You do not want users to execute queries while in the Order_Items block, so you write the following key- Exeqry trigger for the Order_Items block:

    GO_BLOCK('orders'); EXECUTE_QUERY;

    This works fine except that in the Order_Items block, when you click Enter Query first, and then click Execute Query, you get the error message "FRM-41009: Function key not allowed." What can you do correct this?

    A. Set the Fire in Enter-Query Mode property of the Key-Exeqry trigger to Yes.
    B. Add the following as the first of the key-Exqry trigger to Yes. SYSTEM.mode := 'NORMAL';
    C. Delete the Key-Exqry trigger and define the following Key-Entqry trigger for the Order_Items block: GO_BLOCK ('orders'); ENTER_QUERY;
    D. Delete the Key-Exqry trigger and define the following Key-Entqry trigger for the Order_Items block: ENTER_QUERY; GO_BLOCK ('orders');
    E. Change the key-Exqry trigger to: IF : SYSTEM.MODE := 'ENTER-QUERY' THEN GO_BLOCK ('orders'); EXECUTE_QUERY; ELSE MESSAGE ('you cannot execute a query for the Order_Items block'): END IF; Define the following Key-Entqry trigger for the Order_Items block: GO_BLOCK ('orders'); ENTER_QUERY
    F. Change the Key-Exeqry trigger to: IF :SYSTEM.MODE != 'ENTER-QUERY' THEN GO_BLOCK('orders'); EXECUTE_QUERY; ELSE MESSAGE ('You cannot execute a query in this block'); ENTER_QUERY; GO_BLOCK ('orders');
    G. You cannot change this behavior, but you should use the On-Message trigger to display a more meaningful message.

  • Question 60:

    You want to use WebUtil functionality in the Orders form. What three things must you do to integrate WebUtil into the Orders Form?

    A. Copy the WebUtil object group from the WebUtil object library into a separate object library.
    B. Subclass the WebUtil object group from the WebUtil object library into the Orders form.
    C. Ensure that the WebUtil block is the last block under the Data Blocks node in the Object Navigator.
    D. Ensure that the WebUtil block is the first block under the Data Blocks node in the Object Navigator.
    E. Attach the WebUtil library to the Orders form.
    F. Copy the WebUtil library to the same directory as the Orders form.
    G. in the When-New-Form-instance trigger, register the WebUtil javaBeans.
    H. Set the Implementation Class Property for any items that will implement WebUtil JavaBeans.

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.