Download Oracle Fusion Middleware 11g: Build Applications with Oracle Forms.1z0-151.PracticeTest.2018-08-19.48q.vcex

Vendor: Oracle
Exam Code: 1z0-151
Exam Name: Oracle Fusion Middleware 11g: Build Applications with Oracle Forms
Date: Aug 19, 2018
File Size: 2 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Purchase
Coupon: EXAM_HUB

Discount: 20%

Demo Questions

Question 1
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.
  1. True
  2. False
Correct answer: A
Question 2
The Orders form is sometimes run automatically and sometimes run from the Customers form, when it is run from the Customers form, any queries should be restricted to the customer that is currently selected. The Customers form button that runs the Orders form sets a global variable to the current customer ID. 
The Orders form has a button labeled Execute Query with the following When-Button Pressed trigger:
DEFAULT_VALUE (NULL, 'GLOBAL.Customer_id'); 
IF: GLOBAL.customer_id IS NOT NULL
THEN 
SET_BLOCK_PROPERTY ('orders', DEFAULT_WHERE, 'orders.customer_id = 
' | | :GLOBAL.CUSTOMER_id);
END IF; 
EXECUTE_QUERY 
You want to duplicate that functionality in a menu item for the Summit menu that is attached To the Orders form. 
What changes must you make to the code so that the menu code functions as it does in the form?
  1. Change both occurrence of :GLOBAL.customer_id to 'GLOBAL.customer_id'.
  2. Change 'GLOBAL.customer_id' in line 1 to :GLOBAL.customer_id.
  3. Change both occurrence of :GLOBAL.customer_id to NAME_IN ('GLOBAL.customer_id').
  4. You do not need to change anything; the code compiles and functions correctly in the menu item.
  5. You cannot add this type of code in the menu because it refers to the items on the form that cannot be referenced from a menu.
Correct answer: D
Question 3
You are planning the alerts that are needed for your Human Resources application. You wish to display the following in alerts:
  • A message to inform the user about being at the just record 
  • A warning about a potential conflict with the data just entered 
  • A message to display a validation error to the user 
  • A warning that the salary is out of range and that asks whether the user wants to correct it 
You want the note symbol () to appear on alerts that display only informative messages, the warning symbol to appear on messages where you will allow the user to continue despite some data problem, and the alarm boll symbol to appear where the user will not be allowed to continue without correcting the situation that caused the alert to be displayed. 
You want to define the minimum number of alerts possible and customize them at run time. 
Which alerts should you define?
  1. One Note style alert and caution style alert
  2. One Note style alert and one Stop style alert
  3. On Caution style alert and one stop style alert
  4. On Note style alert, one Caution style alert, and one Stop style alert
  5. Two Caution style alerts and one Stop style alert
Correct answer: D
Explanation:
In this scenario we need three different kind of alerts. How to Create an Alert Like other objects you create at design-time, alerts are created from the Object Navigator. Select the Alerts node in the Navigator, and then select Create. Define the properties of the alert in the Property Palette. Here are the properties that are specific to an alert. This is an abridged list.     Note: Alerts are an alternative method for communicating with the operator. Because they display in a modal window, alerts provide an effective way of drawing attention and forcing the operator to answer the message before processing can continue.Note 2: Potentially, you can create an alert for every separate alert message that you need to display, but this is usually unnecessary.You can define a message for an alert at run time, before it is displayed to the operator. This means that a single alert can be used for displaying many messages, providing that the available buttons are suitable for responding to each of these messages. Create an alert for each combination of:Alert style required Set of available buttons (and labels) for operator response For example, an application might require one Note-style alert with a single button (OK) for acknowledgment, one Caution alert with a similar button, and two Stop alerts that each provide a different combination of buttons for a reply. You can then assign a message to the appropriate alert before its display, through the SET_ ALERT_PROPERTY built-in procedure. Reference: Oracle Forms Student Guide, How to Create an Alert
In this scenario we need three different kind of alerts. 
How to Create an Alert 
Like other objects you create at design-time, alerts are created from the Object Navigator. 
  1. Select the Alerts node in the Navigator, and then select Create. 
  2. Define the properties of the alert in the Property Palette. 
Here are the properties that are specific to an alert. This is an abridged list. 
 
 
Note: Alerts are an alternative method for communicating with the operator. Because they display in a modal window, alerts provide an effective way of drawing attention and forcing the operator to answer the message before processing can continue.
Note 2: Potentially, you can create an alert for every separate alert message that you need to display, but this is usually unnecessary.
You can define a message for an alert at run time, before it is displayed to the operator. 
This means that a single alert can be used for displaying many messages, providing that the available buttons are suitable for responding to each of these messages. 
Create an alert for each combination of:
  • Alert style required 
  • Set of available buttons (and labels) for operator response 
For example, an application might require one Note-style alert with a single button (OK) for acknowledgment, one Caution alert with a similar button, and two Stop alerts that each provide a different combination of buttons for a reply. You can then assign a message to the appropriate alert before its display, through the SET_ ALERT_PROPERTY built-in procedure. 
Reference: Oracle Forms Student Guide, How to Create an Alert
Question 4
You have installed WebLogic and Forms with a default configuration, which has been tested and determined to be correct. 
After creating a basic form in the Forms Builder, you click Run Form to test it. Forms Builder displays an error dialog box with the following message:
FRM-10142: The HTTP Listener is not running on <host> at port 9001.
Please start the listener or check your runtime preferences. 
What is one action that you can take to resolve this error?
  1. Start the Web Logic Administration server.
  2. Start the WLS_FORMS managed server.
  3. Change the server URL parameter in formsweb.cfg
  4. Start the Oracle HTTP server.
  5. Start WebCache.
Correct answer: B
Explanation:
The WLS managed server WLS_FORMS must be started.
The WLS managed server WLS_FORMS must be started.
Question 5
Which statement is always true about using OPEN_FORM to open multiple forms in an application?
  1. Database transactions are always continued across forms.
  2. Code is always shared among forms.
  3. A calling form must pass data to a called form.
  4. A global record group is always created.
  5. Only A and B are true.
  6. Only B and C are true.
  7. Only C and D are true.
  8. None of the statements above are true.
Correct answer: H
Explanation:
OPEN_FORM Opens the indicated form. Use OPEN_FORM to create multiple-form applications, that is, applications that open more than one form at the same time. OPEN_FORM can be instructed for the two forms to share the same database session and/or library data. Note:CALL_FORM Runs an indicated form while keeping the parent form active. Oracle Forms runs the called form with the same Run form preferences as the parent form. When the called form is exited Oracle Forms processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.CALL_FORM can be instructed to hide or not hide the calling form, replace or not replace the menu, open the new form in query only mode, share or not share library data. NEW_FORM Exits the current form and enters the indicated form. The calling form is terminated as the parent form. If the calling form had been called by a higher form, Oracle Forms keeps the higher call active and treats it as a call to the new form. Incorrect answers:A: session_mode:NO_SESSION (The default.): Specifies that the opened form should share the same database session as the current form.SESSION: Specifies that a new, separate database session should be created for the opened form.C: data_modeNO_SHARE_LIBRARY_DATA (The default.):At runtime, Oracle Forms will not share data between forms that have identical libraries attached (at design time).SHARE_LIBRARY_DATA: At runtime, Oracle Forms will share data between forms that have identical libraries attached (at design time).Reference: Difference between call_form, new_form and open_form
OPEN_FORM 
Opens the indicated form. Use OPEN_FORM to create multiple-form applications, that is, applications that open more than one form at the same time. OPEN_FORM can be instructed for the two forms to share the same database session and/or library data. 
Note:
CALL_FORM 
Runs an indicated form while keeping the parent form active. Oracle Forms runs the called form with the same Run form preferences as the parent form. When the called form is exited Oracle Forms processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.CALL_FORM can be instructed to hide or not hide the calling form, replace or not replace the menu, open the new form in query only mode, share or not share library data. 
NEW_FORM 
Exits the current form and enters the indicated form. The calling form is terminated as the parent form. If the calling form had been called by a higher form, Oracle Forms keeps the higher call active and treats it as a call to the new form. 
Incorrect answers:
A: session_mode:
NO_SESSION (The default.): Specifies that the opened form should share the same database session as the current form.
SESSION: Specifies that a new, separate database session should be created for the opened form.
C: data_mode
NO_SHARE_LIBRARY_DATA (The default.):At runtime, Oracle Forms will not share data between forms that have identical libraries attached (at design time).
SHARE_LIBRARY_DATA: At runtime, Oracle Forms will share data between forms that have identical libraries attached (at design time).
Reference: Difference between call_form, new_form and open_form
Question 6
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?
  1. 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.
  2. No. It is too late to perform a rollback at this stage because the update has already been applied.
  3. 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.
Correct answer: A
Question 7
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?
  1. The code should be in Pre_insert trigger instead
  2. The code should be in a database trigger instead
  3. You should change the code to select the sequence number from SUMMIT.dual instead.
  4. You should create the sequence in the database, because the runtime error is an indication that is does not exist.
  5. You should assign a temporary value to the Order_Id item before saving the form.
Correct answer: A
Question 8
You are coding a When-Checkbox-Changed trigger. 
Which statements are available for use in your code?
  1. unrestricted built-ins only
  2. restricted and unrestricted built-ins only
  3. PL/SQL statements and unrestricted built-ins only
  4. PL/SQL statement-, and any built-ins
Correct answer: D
Explanation:
When-Checkbox-Changed trigger Description Fires when an operator changes the state of a check box, either by clicking with the mouse, or using the keyboard. Definition Level: form, block, or itemLegal Commands:SELECT statements, unrestricted built-ins, restricted built-ins Reference: Oracle Forms Developer, When-Checkbox-Changed trigger
When-Checkbox-Changed trigger 
Description 
Fires when an operator changes the state of a check box, either by clicking with the mouse, or using the keyboard. 
Definition Level: form, block, or item
Legal Commands:
SELECT statements, unrestricted built-ins, restricted built-ins 
Reference: Oracle Forms Developer, When-Checkbox-Changed trigger
Question 9
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?
  1. You receive a compilation error.
  2. The form starts to run, but immediately closes. So If an error message Is displayed, you are unable to see it.
  3. The form runs, but as soon as it appears, you receive a runtime error.
  4. The form runs, but as soon as you perform any navigation, a runtime error occurs.
  5. The form runs with no problem.
Correct answer: C
Question 10
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?
  1. Add a blank line to the list item when you define the static values.
  2. Set Mapping of other Values for the Credit_Rating Item to NULL.
  3. Set the Required property of the Credit_Rating item to No.
  4. Delete the NOT NULL constraint for the Credit_Rating Column in the database.
  5. 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.
Correct answer: A
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!