Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Oracle > Oracle Certifications > 1Z0-151 > 1Z0-151 Online Practice Questions and Answers

1Z0-151 Online Practice Questions and Answers

Questions 4

The Order Entry application contains several forms. The inventories form uses an LOV that is based on a record group that queries the Warehouses table to return a warehouse ID. Several of the forms use LOVs that are based on the same query. You decide to centralize the creation of the record group to the entry form of the application, which opens all the other forms, for example, to open the inventories form, there is a When-Button Pressed trigger on the inventories button with the following code;

OPEN _FORM ('inventories');

in a When-New-Form-instance trigger for the entry form, you create the warehouse_rg record group by

using the CREATE_GROUP_QUERY built in with the following arguments:

('warehouse_rg' , 'SELECT ALL WAREHOUSE.WAREHOUSE_ID, WAREHOUSE.WAREHOUSE_NAME FORM WAREHOUSE order by warehouse_name);

You also populate the record group in this trigger.

What must you do to make this record group available to the inventories form and the other forms?

A. in the When-New-Form-instance trigger for the entry form, add a values for the SCOPE argument of CREATE_GROUP_QUERY.

B. in the entry form, move the record group code to the end of the When-Button-Pressed triggers for the buttons that open other forms, so that the record group is created and populated immediately after OPEN_FORM is called.

C. in the entry form, move the record group code to the beginning of the When-Button-Pressed triggers for the button that open other forms, so that the record group is created and populated just before OPEN_FORM is called.

D. in the When-Button_Pressed triggers of the entry from the buttons that open other forms, add a value for the SESSION argument of OPEN_FORM.

E. in the other forms, refer to the record group as: global.warehouse_rg.

Buy Now

Correct Answer: A

Note: The CREATE_GROUP_FROM_QUERY built-in is a function and must be invoked as part of an

expression. For example:

DECLARE

rg_id RecordGroup;

BEGIN

rg_id := CREATE_GROUP_FROM_QUERY ('employee_rg', 'SELECT id,first_name,last_name,sal FROM

employee');

END;

Questions 5

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.

Buy Now

Correct Answer: B

The record has already been updated. Note: FORM_FAILURE Returns a value that indicates the outcome of the action most recently performed during the current Runform session.

Use FORM_FAILURE to test the outcome of a builtin to determine further processing within any trigger. To get the correct results, you must perform the test immediately after the action executes. That is, another action should not occur prior to the test.

Questions 6

On the Employees form, you do not want the cursor to enter the Employee_Id text item, which is the first item in the first block on the form. You code a Pre-Text-item trigger for that item that uses the GO_ITEM built-in to navigate to the next item.

What happens when you run the form from Forms Builder?

A. You receive a compilation error.

B. The form starts to run, but immediately closes. So If an error message Is displayed, you are unable to see it.

C. The form runs, but as soon as it appears, you receive a runtime error.

D. The form runs, but as soon as you perform any navigation, a runtime error occurs.

E. The form runs with no problem.

Buy Now

Correct Answer: C

You cannot put a restricted built-in (in this case the navigational built-in go_item), in a trigger that is performing navigation. When you run a form described as above, you receive the error `Illegal restricted procedure go_item in pre_text.

Questions 7

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.

Buy Now

Correct Answer: BCE

Integrating WebUtil into a Form

Step 1: Attaching the WebUtil Library (E)

To use the functions of WebUtil in a Forms application, you mustfirst attach the webutil.pll library to any

module that will use the WebUtil PL/SQL API. Select theAttached Libraries node in the Orders form and

click Create. This invokes the Attach Librarydialog box, in which you can browse to the location of

webutil.pll

Step 2: Subclassing WebUtil Forms Objects (B)

Part of the WebUtil utility is a set of Forms objects contained in webutil.olb . This object library contains an

object group called WebUtil, which you can subclass into your form.

C: A data block named WEBUTIL; ensure that this is the last block in the Navigator.

Reference: Oracle Fusion Middleware 11g, Build Applications with Oracle Forms, Integrating WebUtil into a Form

Questions 8

Iin an Order Entry form, the Order_Items block has a text item called Shipping Date, which is of the Date data type. The Lowest Allowed Value and the Highest Allowed Value properties are not defined for this item.

Assuming that the following are defined, which three are valid settings for the initial Value = property of the Shipping_Date Item?

A. $$DBDATE$$

B. :Orders.Order_Date + 3

C. SYSDATE

D. :GLOBAL.SHIP_DATE

E. :PARAMETER.SHIP

F. ORDER_ITEMS_SEQ

Buy Now

Correct Answer: ACD

A: Use $$DATE$$, $$DATETIME$$, and $$TIME$$ to obtain the local system date/time; use $$DBDATE$$, $$DBDATETIME$$, and $$DBTIME$$ to obtain the database date/time, which may differ from the local system date/time when, for example, connecting to a remote database in a different time zone. ,, Use these variables only to set the value of the Initial Value, Highest Allowed Value or Lowest Allowed Value property.

Incorrect answers:

B: This would work within a trigger.

Questions 9

Which statement is always true about a visual indicator that a text item has a list of values associated with it?

A. An iconic list button appears next to the text item.

B. A list of values lamp appears as a tool tip when the cursor is placed over the text item.

C. A list of values lamp appears next to the text item.

D. A list of values lamp appears on the status line when the cursor enters the text item.

E. A button with an ellipsis appears in the text Item when the cursor enters the text item.

Buy Now

Correct Answer: A

Example, Address has a list of values:

Questions 10

Users do not want to see the "Working" message while a long query completes.

You are designing a form with a query that takes o long time to execute. What can you do to stop the "Working" message from appearing?

A. Before the line of code that executes the query, add the line: :SYSTEM.MESSAGE_LEVEL := '10';

B. Before the line of code that executes the query, add the line: :SYSTEM.SUPPRESS_WORKING : = 'TRUE';

C. Use the SET_APPLICATION_PROPERTY built-in to set the message level in a When-New- Form-instance trigger.

D. You do not need to do anything, the default behavior of Forms is to display the "Working" message only if you add code to do so.

Buy Now

Correct Answer: B

You can turn the 'Working...' message off with system.suppress_working command.

SYSTEM.SUPPRESS_WORKING examples

Assume that you want to have the form filled with data when the operator enters the form. The following

When-New-Form-Instance trigger will prevent the unwanted updates that would normally occur when

you fill the blocks with data.

:System.Suppress_Working := 'TRUE';

Go_Block ('DEPT');

Execute_Query;

Go_Block ('EMP');

Execute_Query;

Go_Block ('DEPT');

:System.Suppress_Working := 'FALSE';

Questions 11

You have been assigned to maintain the Orders form. Users complain that if the cursor is in the in the Orders block, they cannot navigate to the Order Items block by clicking a text item in that block. They must click the Next Block button to navigate from the Orders block to the Order Items block.

How should you investigate the source of the problem?

A. Check the Pre-Text-Item and Post-Text-Item triggers, because users may be encountering a navigation trap.

B. Check the Navigation properties of the Orders block that have non-default values.

C. Check the Navigation properties of the Order Items block that have non-default values.

D. Check the Navigation properties of the items in the Orders block that have non-default values.

E. Check the Navigation properties of the form that have non-default values.

F. Check that the items in the Order Items block are enabled.

Buy Now

Correct Answer: A

The Navigation Trap You have seen that the Pre-and Post-navigation triggers fire during navigation, and when they fail the internal cursor attempts to return to the current item(SYSTEM.CURSOR_ITEM).The diagram below illustrates the navigation trap. This can occur when a Pre-or Post-navigation trigger fails and attempts to return the logical cursor to its initial item. However, if the initial item has a Pre-Text-Item trigger that also fails the cursor has nowhere to go, and a fatal error occurs. Note: Be sure to code against navigation trigger failure

Questions 12

View the Exhibit.

You have just created a new object library as shown in the Exhibit. You want the tabs to have descriptive names.

You cannot change the names of the default object library tabs, so you must create new tabs in order to have descriptive names.

A. True

B. False

Buy Now

Correct Answer: B

Questions 13

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

Buy Now

Correct Answer: D

MENU3 and ITEM5_MENU are menus.

Exam Code: 1Z0-151
Exam Name: Oracle Fusion Middleware 11g: Build Applications with Oracle Forms
Last Update: May 30, 2026
Questions: 90

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.