Oracle Forms (Forms Builder / D2K) practice questions on triggers and their firing order, blocks, items, canvases, windows, LOVs, record groups, alerts and multi-form navigation. This set has 40 multiple-choice questions, each with a short explanation (set 3 of 3). Click Start quiz to answer one question at a time and get instant feedback, or use Study mode to read every question with its answer.
All 40 questions with answers
- Can one move FMX file from one Operating system to another operating system
- Yes
- No as fmx files are machine dependent files while FMB files are not
- Depends on the Version
- None of the Above
Show answer
Answer: B. No as fmx files are machine dependent files while FMB files are not
An FMX is compiled for a specific platform. Copy the FMB and regenerate the FMX on the target operating system.
- Which Triggers are created when Master-Detail relationship is established.
- on-clear-details(form level) and on-populate-details(master block level)
- on-check-delete-master fires whenever u r deleting the master records
- on-check-delete-master(master block level)
- All the above
Show answer
Answer: D. All the above
Depending on Delete Record Behavior, Forms creates ON-CLEAR-DETAILS, ON-POPULATE-DETAILS and ON-CHECK-DELETE-MASTER triggers.
- How are images stored in database
- long raw datatype
- long
- double
- byte
Show answer
Answer: A. long raw datatype
Older Forms image items were stored in LONG RAW columns. New designs should use BLOB.
- How many times a post query and pre query trigger gets fired in fetching 10 records
- pre -10 post -10
- pre – 1 post -10
- pre – 1 post – 1
- None of the Above
Show answer
Answer: B. pre – 1 post -10
PRE-QUERY fires once for the query and POST-QUERY fires once for each of the 10 records.
- How many times a pre query and post query trigger gets fired for detail block in Master-Detail relationship
- pre -10 post -number of records in details block
- pre – 1 post -number of records in detail block
- post – 1 pre – number of records in detail block
- None of the Above
Show answer
Answer: B. pre – 1 post -number of records in detail block
For each master record the detail block runs PRE-QUERY once and POST-QUERY once per detail row fetched.
- what is the built-in used to show alert at run time
- show_alert
- show.alert
- display_alert
- None of the Above
Show answer
Answer: A. show_alert
SHOW_ALERT displays an alert at runtime.
- system variable :system.effective_date is read-only
- TRUE
- FALSE
Show answer
Answer: B. FALSE
You can set :SYSTEM.EFFECTIVE_DATE to change the date Forms uses, so it is not read-only.
- Which is the predefined exception available in form 6i
- Raise form_failure
- Raise form_error
- Raise form_trigger_failure
- None of the Above
Show answer
Answer: C. Raise form_trigger_failure
RAISE FORM_TRIGGER_FAILURE stops the current trigger and the action that fired it.
- what is the difference between key startup and pre-form triggers
- key startup trigger fires after successful navigation into the form and pre-form trigger fires before enter into the form
- key startup triggers fires after successful navigation into the form and pre-form trigger fires before leaving the form
- key startup triggers fires after successful navigation on the first item of the form and pre-form trigger fires before leaving the form
- None of the Above
Show answer
Answer: A. key startup trigger fires after successful navigation into the form and pre-form trigger fires before enter into the form
PRE-FORM fires before the form is displayed. KEY-STARTUP fires after the form opens and navigation into it succeeds.
- what is the difference between name_in and copy built-ins
- copy is the package procedure and writes values into the field and name_in is a package functions and returns the content of the variable to which it is applied
- copy is the package functions and writes values into the filed and return 0 when success and name_in is a package procedure that write the content of the variable to which it is applied
- copy is the package functions and writes values into the filed and return 1 when success and name_in is a package procedure that write the content of the variable to which it is applied
- None of the Above
Show answer
Answer: A. copy is the package procedure and writes values into the field and name_in is a package functions and returns the content of the variable to which it is applied
COPY is a procedure that writes a value into a field. NAME_IN is a function that returns the value of the named item or variable.
- Can one convert/reverse engineer a FMX back to FMB?
- Yes
- No
- NA
Show answer
Answer: B. No
There is no way to rebuild an FMB from an FMX, so always keep your source files safe.
- Formula fields,summary fields are availble in forms
- Yes
- No
- NA
Show answer
Answer: A. Yes
Forms supports calculated items with Calculation Mode set to Formula or Summary.
- Can an forms FMX move from one OS to another OS?
- Yes
- No
- NA
Show answer
Answer: B. No
FMX files are platform-specific. Move the FMB and recompile on the new OS.
- We can create LOV by using
- Manually
- Wizard
- Both
Show answer
Answer: C. Both
You can create an LOV manually or with the LOV Wizard.
- In the run time if we want to navigate from one record to another record by using_______ statement
- NEXT_FIELD
- NEXT_ITEM
- NEXT_RECORD
- NA
Show answer
Answer: C. NEXT_RECORD
NEXT_RECORD moves to the next record. NEXT_ITEM moves to the next item.
- To minimize and Maximize the window by using ______ property.
- Window_Size
- Window_Max_Min
- SET_WINDOW_PROPERTY
- ALL
Show answer
Answer: C. SET_WINDOW_PROPERTY
SET_WINDOW_PROPERTY(win, WINDOW_STATE, MAXIMIZE or MINIMIZE) changes the window state.
- In CALL_FORM
- start a new form and pass control to it. The parent form will be suspended until the called form is terminated.
- terminate the current form and replace it with the indicated new form. The old form’s resources (like cursors and locks) will be released.
- Opens the indicated new form without suspending or replacing the parent form.
- ALL
Show answer
Answer: A. start a new form and pass control to it. The parent form will be suspended until the called form is terminated.
CALL_FORM opens a new form and suspends the calling form until the called form exits.
- Form Builder supports ___________application partitioning by using stored PL/SQL subprograms
- Drag and drop
- select
- copy
- None of the Above
Show answer
Answer: A. Drag and drop
In Form Builder you can drag program units between the form and the database to move code to the server.
- Can an Forms fmx be moved from one operating system to another?
- Yes
- No
- Can’t say
- Not applicable
Show answer
Answer: B. No
FMX files are compiled for one platform and cannot be moved to another OS.
- Can an Forms fmb be moved from one operating system to another?
- Yes
- No
- Can’t say
- Not applicable
Show answer
Answer: A. Yes
FMB files are portable; recompile them on the target platform.
- Can one bypass the Oracle login screen in Oracle Forms?
- Yes
- No
- Can’t say
- Not applicable
Show answer
Answer: A. Yes
Pass userid on the command line, or write an ON-LOGON trigger, to skip the login screen.
- What is command for forms compile
- f60gen apps/apps <form name>
- form60gen apps/apps <form name>
Show answer
Answer: A. f60gen apps/apps <form name>
Forms 6i used f60gen to compile. Forms 10g and later use frmcmp or frmcmp_batch.
- __________ start a new form and pass control to it.The parent form will be suspended until the called form is terminated.
- Call_form
- New_form
- Open_form
- None of the above
Show answer
Answer: A. Call_form
CALL_FORM starts a new form and suspends the parent until the called form ends.
- _________ terminate the current form and replace it with the indicated new form.The old forms resources like cursors and locks will be released
- Call_form
- New_form
- Open_form
- None of the above
Show answer
Answer: B. New_form
NEW_FORM closes the current form, releasing its resources, and opens the new one.
- _________ opens the indicated new form without suspending or replacing the parent form.
- Call_form
- New_form
- Open_form
- None of the above
Show answer
Answer: C. Open_form
OPEN_FORM opens another form without suspending or replacing the current one.
- Can one execute dynamic SQL from forms?
- Yes
- No
- Not applicable
Show answer
Answer: A. Yes
FORMS_DDL runs dynamic SQL from Forms; EXEC_SQL is another option.
- The mouse pointer in Forms can be changed by __________
- Set_Mouse_Property
- Set_Application_Property
- Set_Custom_Property
- Set_Custom_Item_Property
Show answer
Answer: B. Set_Application_Property
SET_APPLICATION_PROPERTY(CURSOR_STYLE, ‘BUSY’) changes the mouse pointer.
- How can you read/write OS files from forms?
- Tool_IO package
- Text_IO Package
- Read/Write_IO Package
- Tool_IO
Show answer
Answer: B. Text_IO Package
TEXT_IO reads and writes files on the client machine. On the web, use CLIENT_TEXT_IO (WebUtil) or UTL_FILE on the server.
- _________ is an internal Form Builder object that belongs to the form module in which it is defined.
- Record Group
- Data Group
- Query Group
- None of the above
Show answer
Answer: A. Record Group
A record group is an internal Forms object that belongs to the form module where it is defined.
- _________ built-in function can be used to replace the default record group of a LOV
- SET_RECORD_GROUP_PROPERTY
- SET_APPLICATION_PROPERTY
- SET_LOV_PROPERTY
- None of the above
Show answer
Answer: C. SET_LOV_PROPERTY
SET_LOV_PROPERTY(lov, GROUP_NAME, ‘new_rg’) swaps the LOV’s record group.
- Which of the following is not a record group type
- Query record group
- Nonquery record group
- Static record group
- Nonstatic record group
Show answer
Answer: D. Nonstatic record group
Record groups are query, non-query or static. ‘Nonstatic’ is not a type.
- A __________ property is one that has a modified value even though it is inherited from the property class associated with the object.
- Inherited
- Variant
- Default
- Changed
Show answer
Answer: B. Variant
A variant property has been changed on the object even though the object inherits from a property class.
- _______ trigger fire once for each record placed on the block list of records.
- Pre-Query
- On-Query
- Post-Query
- None of the above
Show answer
Answer: C. Post-Query
POST-QUERY fires once for each record placed in the block.
- PL/SQL libraries support ________
- Dynamic Loading
- Static Loading
- Can’t say
- None of the Above
Show answer
Answer: A. Dynamic Loading
Program units in an attached library are loaded at runtime only when first called.
- The _______________ Servlet is a Java servlet that runs in a web servlet equipped with a servlet engine
- Forms Listener
- Forms Client
- Java Applet
- None of the Above
Show answer
Answer: A. Forms Listener
The Forms Listener Servlet runs in the web server’s servlet engine and manages Forms sessions.
- The ____________ is a generic Java Applet
- Forms Listener
- Forms Client
- Java Applet
- None of the Above
Show answer
Answer: B. Forms Client
The Forms client is a generic Java applet that renders any form in the browser.
- At run time, a form can have only ____ menu modules active
- One
- Two
- Three
- Four
Show answer
Answer: A. One
Only one menu module can be active in a form at a time.
- Bind references may not be referenced in _________ clause or in place of reserved words or clauses
- Select
- Is
- From
- Where
Show answer
Answer: C. From
Bind references cannot stand in for table names in a FROM clause or for SQL keywords. In Reports, use lexical references for that.
- The_________ trigger property allows you to code your own PL/SQL functions to perform conditional formatting
- Format Trigger
- When-Button-Pressed
- When-Window-Closed
- None of the Above
Show answer
Answer: A. Format Trigger
A format trigger lets you write PL/SQL to format or hide a layout object conditionally.
- Valid layouts of the block in Oracle forms are
- Tabular
- Form
- A&B
- none
Show answer
Answer: C. A&B
Block layout styles are Form and Tabular.
More Oracle practice questions
- Oracle Forms Practice Questions Set 1
- Oracle Forms Practice Questions Set 2
- All Oracle practice question sets
These questions come from interview and training material collected over years of Oracle EBS project work by Amol Jadhav. They are not copied from Oracle certification exams.
