Oracle Forms Development

Test your knowledge of Oracle Forms development, including triggers, built-ins, canvas types, alerts, validation, and system properties.

19 Questions Published

Questions

Question 1 True/False

Can :SYSTEM.CURRENT_BLOCK value be changed ?

  1. True
  2. False
Question 2 Multiple Choice (Single Answer)

What is the default level at which validation occurs in the Forms Runtime program?

  1. Item
  2. Form
  3. Block
  4. Record
Question 3 Multiple Choice (Single Answer)

You have created an alert with three buttons. What value will be returned if the user selects the second button?

  1. BUTTON2
  2. DIALOG_BUTTON2
  3. ALERT_BUTTON2
  4. It depends on the choice being offered by the button.
Question 4 Multiple Choice (Single Answer)

What is the purpose of the KEY-OTHERS trigger?

  1. Provides code to execute if a key's own trigger fails
  2. Provides code to execute if user presses a key that has no trigger attached
  3. Provides code to execute if user presses wrong key
  4. Provides code that accesses another key's trigger and executes the code it contains
Question 5 Multiple Choice (Single Answer)

Which built-in causes an LOV to display for a text item that has one defined?

  1. WHEN-NEW-ITEM-INSTANCE
  2. WHEN-NEW-LOV
  3. GO_ITEM
  4. SHOW_LOV
Question 6 Multiple Choice (Single Answer)

Which canvas type is most dissimilar to the others?

  1. Content
  2. Stacked
  3. Tab
  4. Toolbar
Question 7 Multiple Choice (Single Answer)

What is the primary difference between tab and stacked canvases?

  1. A stacked canvas can contain push buttons.
  2. A stacked canvas obscures what is beneath it.
  3. A tab canvas can contain multiple pages.
  4. A tab canvas looks much cooler.
Question 8 Multiple Choice (Single Answer)

You would like to create a trigger that fires each time a window is closed by the user. You will most likely place the trigger at which of the following levels:

  1. Canvas level
  2. Window level
  3. Data block level
  4. Item level
  5. Form level
Question 9 Multiple Choice (Single Answer)

Which of these built-ins can you use in a PRE-UPDATE trigger?

  1. DOWN
  2. COMMIT_FORM
  3. No Answer is Correct.
  4. All Answers are Correct.
  5. GO_ITEM
Question 10 Multiple Choice (Single Answer)

You would like to keep the user from seeing the Forms Runtime program's "nn records applied and saved" messages. What would you put in the form's WHEN-NEW-FORM-INSTANCE trigger?

  1. :system.message_level := 0;
  2. :system.suppress_working := 'TRUE';
  3. :system.suppress_working := 'FALSE';
  4. :system.message_level := 5;
Question 11 Multiple Choice (Single Answer)

You want to add a delete-confirmation dialog to your application. You can do so by creating which type of object?

  1. Alert
  2. Message
  3. Editor
  4. Message Box
Question 12 Multiple Choice (Single Answer)

You would like to modify your form so it uses array processing to send DML statements to the server in batches of 50. How would you do this?

  1. Set the canvas's DML Array Size property to 50.
  2. Set the data block's DML Array Size property to 50.
  3. Set the window's DML Array Size property to 50.
  4. Array processing is limited to 25 records per batch.
Question 13 Multiple Choice (Single Answer)

Your form module's Validation Unit property is set to Form. The module includes a data block that has a PRE-TEXT-ITEM trigger. At what point will the trigger fire?

  1. Never
  2. When data is committed
  3. Before the form is validated
  4. After the form is validated
Question 14 Multiple Choice (Single Answer)

You wish to have certain values in a form initialized when the form is first opened. What trigger will you use?

  1. WHEN-NEW-CANVAS-INSTANCE
  2. WHEN-NEW-FORM-INSTANCE
  3. WHEN-NEW-FORM
  4. WHEN-FORM-OPENED
  5. WHEN-NEW-CANVAS
Question 15 Multiple Choice (Single Answer)

The default value the lpad function takes is

  1. a space
  2. an asterisk
  3. The default value is not optional
  4. None of the above
Question 16 Multiple Choice (Single Answer)

Which of the following is true about add_months

  1. we can pass a numerical value in first parameter
  2. we can pass a negative value in second parameter
  3. Both a & b
  4. None of the above
Question 17 Multiple Choice (Single Answer)

What does OFA stands for ?

  1. Oracle Flexible Architecture
  2. Oracle Financials Applications
  3. Optimal Flexible Architecture
  4. None of the above
Question 18 Multiple Choice (Single Answer)

Which of the following is true for delete?

  1. Delete statement can be given without writing where clause.
  2. We can delete two tables simultaneously
  3. Both a & b
  4. None of the above
Question 19 Multiple Choice (Single Answer)

How do you rename a table ?

  1. alter table table_name rename to new_table_name;
  2. RENAME table_name new_table_name;
  3. Dropping the table and creating once again
  4. None of the above.