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

Buy Now

Correct Answer: D

Note: GET_CANVAS_PROPERTY built-in Description Returns the given canvas property for the given canvas. . Syntax FUNCTION GET_CANVAS_PROPERTY( canvas_id Canvas ,property NUMBER);FUNCTION GET_CANVAS_PROPERTY( canvas_name VARCHAR2 ,property NUMBER)

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

Yon have created a list item for the Credit__Rating field in the Customers form, the Finance department usually determines a range of scores that pertain to the customer, the values in the list are Excellent, Good, Fair, and Poor, corresponding to the ranges provided by Finance. The default value Fair, because that is the range that applies to most customers.

Sometimes, Finance can provide an exact credit score; so users must be able to enter the exact numerical value if it is known. Often clerks enter the customer data before the performance of a credit check, so they must be able to enter a blank value if the credit rating is not yet determined.

Users want to be able to select a blank value from the list, but the list does not display a blank line for them to select. How can you meet this requirement without changing the default value of the list item?

A. Add a blank line to the list item when you define the static values.

B. Set Mapping of other Values for the Credit_Rating Item to NULL.

C. Set the Required property of the Credit_Rating item to No.

D. Delete the NOT NULL constraint for the Credit_Rating Column in the database.

E. You cannot change this type of list item to display a blank value; users must delete the default value records if the credit rating is not known.

Buy Now

Correct Answer: A

Questions 7

The Employees database table contains more columns than can be displayed at one time in a form. You create a data block that uses all the columns. How can you enable users to interact with all the items and switch between them without scrolling or closing anything?

A. Define multiple content canvases and display them in multiple modeless windows.

B. Define multiple content canvases and display them in the same modeless window.

C. Define multiple content canvases and display them in multiple modal windows.

D. Define multiple content canvases; display one in a modeless window and the others in modal windows.

E. This is not possible because items from a single block must be displayed on the same canvas and window.

Buy Now

Correct Answer: D

Note 1:

The most common canvas type is the content canvas (the default type). A content canvas is the "base"

view that occupies the entire content pane of the window in which it is displayed. You must define at least

one content canvas for each window you create.

Note 2:

Modal and Modeless Windows in Oracle Forms

A window in oracle forms is a container for all visual objects that make up a Forms application. You can

create two different type of windows in oracle forms. Lets have a brief comparisons between these two

types of windows.

*

Modal Window: A modal window is a restricted window that the user must respond to before moving the input focus to another window. Modal windows: Must be dismissed before control can be returned to a modeless window Become active as soon as they display Require a means of exit or dismissal

*

Modeless Window: A modeless window is an unrestricted window that the user can exit freely. Modeless windows: Can display many at once Are not necessarily active when displayed Are the default window type

Questions 8

View the Exhibit.

You are attempting to drag the Control and CV_Order objects to an object group as shown in the Exhibit, but you are unable to release them in the Object Group Children node of the object group.

What is the reason for this?

A. You cannot drag a canvas to an object group.

B. You cannot drag a block to an object group.

C. You need separate object groups for different types of objects.

D. You cannot drag multiple types of objects to an object group at the same time.

E. You should drag them to the ObjectGroup96 node, not to its Object Group Children node.

Buy Now

Correct Answer: C

See 5) below.

Note: Object Groups An object group is a logical container for a set of Forms Builder objects. You need to define an object group when you want to package related objects for copying or subclassing in another module or if you want to bundle numerous objects into higher-level building blocks that you can use again in another application. You can package the various objects in an object group and copy the entire bundle in one operation. Steps to create an object group

1.

Select the Object Group node in the Object Navigator.

2.

Select the Create icon.

3.

Rename the new object group that is displayed.

4.

Click the form module and expand all the nodes.

5.

Select all the objects of one type that you want to include in the object group.

6.

Drag the selected objects into the new object group entry.

Key notes about object groups

Including a block in an object group also includes its items, the item-level triggers, the block-level triggers

and the relations. You cannot use any of these objects in an object group without the block.

It is not possible to include another object group.

Deleting an object from a module automatically deletes the object from the object group.

Deleting an object group from a module does not delete the objects it contains from the module.

Questions 9

You add a display item named Quantity to the Order items block of your Orders form to display the quantity on hand for each product. Quantity is a non-base table item that should reflect the count of an ordered product from the inventories table.

What is the best way to populate the Order_Iterns.Quantity item?

A. Post-Query trigger

B. Pre Query trigger

C. When-New-Form-instance trigger

D. When New-Item-instance trigger

E. You need to define a master-detail relation so that the item is populated automatically.

Buy Now

Correct Answer: E

This should be implemented as a master-detail form.

Questions 10

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

Buy Now

Correct Answer: A

Questions 11

View the Exhibits.

The hierarchical tree shown at run time in Exhibit 1 is populated programmatically. Default hierarchical tree properties are shown in Exhibit?

Which properties of the hierarchical tree shown in Exhibit 1 have been changed from the default?

A. Allow Empty Branches and Multi Selection only

B. Allow Empty Branches and Show Symbols only

C. Multi Selection and Show Symbols only

D. Allow Empty Branches, Multi Selection, and Show Symbols

Buy Now

Correct Answer: A

Both Chen and Popp are selected, so Multi-selection is set to Yes (not B). + and symbols are displayed, so Show Symbols is yes (not B, C, D). Allow Empty Branches is set to Yes (so A is ok), see note below.

Note: Setting Hierarchical Tree Item Properties Hierarchical Tree properties include the following:

*

Item Type: Must be set to Hierarchical Tree

*

Allow Empty Branches: Yes / No. No is the default.

If set to Yes, all leaf nodes will initially display in the tree with the plus sign (+) next to it, indicating that expansion is possible, even when there is nothing to expand. If set to Yes, the Show Symbols property must also be set to Yes.

If set to No, leaf nodes will not have an expand/collapse symbol

*

Multi Selection: Whether multiple nodes may be selected at one time No is the default.

*

Show Lines: Whether a hierarchical tree displays lines leading up to each node Yes is the default.

*

Show Symbols: Whether a hierarchical tree should display + or - symbols in front of each branch node

*

Record Group: Name of the record group from which the hierarchical tree derives its values

*

Data Query: Specifies the query-based data source

Questions 12

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.

Buy Now

Correct Answer: A

ow to create LOV in Oracle forms?

List of Values(LOV) are used either when a selected list is too long and hence would not be appropriate for a drop down, but needs a search form to select the value.

Steps to create LOV functionality:

*

Click on the LOV icon in the object navigator and choose a manual/automatic wizard. This will create a record group.

*

Open a search form in the Dialog Page

*

Select values inside this form.

*

Return selected values to the original page.

Questions 13

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.

Buy Now

Correct Answer: BCDG

B: Order_Items is a detail block.

C (not F): A master block record cannot be deleted if there are corresponding detail block records.

D: To delete an order, all the corresponding order items must be deleted, for example through an ONCHECK-DELETE-MASTER trigger.

G: The Orders block is a master block.

Incorrect answers:

E: Order_items can very well be deleted without deleting the corresponding order.

J: There are no triggers for INVENTORIES.

Either Master or Detail Triggers would have been created if it was either a Master or Detail block.

Note: Master/Detail Triggers: Oracle Forms generates master/detail triggers automatically when a master/detail relation is defined between blocks. The default master/detail triggers enforce coordination between records in a detail block and the master record in a master block. Unless developing custom block- coordination schemes, you do not need to define these triggers.

*

On-Check-Delete-Master Fires when Oracle Forms attempts to delete a record in a block that is a master block in a master/detail relation.

*

On-Clear-Details Fires when Oracle Forms needs to clear records in a block that is a detail block in a master/detail relation because those records no longer correspond to the current record in the master block.

*

On-Populate-Details Fires when Oracle Forms needs to fetch records into a block that is the detail block in a master/detail relation so that detail records are synchronized with the current record in the master block.

Exam Code: 1Z0-151
Exam Name: Oracle Fusion Middleware 11g: Build Applications with Oracle Forms
Last Update: Jun 13, 2025
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

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