Updated March 2, 2023
Introduction to Oracle Forms Interview Questions and Answers
Oracle forms are usually used for developing screens which interact with the database. It was developed in order to run server-side in character mode terminal sessions. It also has an IDE which includes object navigator code editor and property sheet which make it easy to use as PL/SQL is also included. The main focus of having Oracle forms is to have data entry of systems that access the Oracle database. Interviews for Oracle have questions related to Oracle Forms. Below are a few questions which can be asked in an interview and will help you clear it.
Now, if you are looking for a job which is related to Oracle Forms then you need to prepare for the 2023 Oracle Forms Interview Questions. It is true that every interview is different as per the different job profiles. Here, we have prepared the important Oracle Forms Interview Questions and Answers which will help you get success in your interview.
In this 2023 Oracle Forms Interview Questions article, we shall present 10 most important and frequently asked Oracle Forms interview questions. These questions are divided into two parts are as follows:
Part 1 – Oracle Forms Interview Questions (Basic)
This first part covers basic Interview Questions and Answers
Q1. What are OPEN_FORM, CALL_FORM, NEW_FORM? Explain the difference between them?
Answer:
There are three different forms in Oracle. They are as below:
- CALL_FORM: This form is used to call other form but here the parent remains active. When the form that is being called completes its operation it releases a lock that is applied and the control goes back to the calling function. When you call a form Oracle form issues a save point for the form that is called. When CLEAR_FORM is called then it rollbacks to uncommitted changes to this save point.
- OPEN_FORM: When a form is called a save point is issued for the called form. When using this form, if CLEAR_FORM function causes a rollback then the called function becomes the current one. Once this is done Oracle forms rolls back to the uncommitted changes to the last save point.
- NEW_FORM: This form exits the current form and enters the form that is indicated. The form which is calling is terminated as this is the parent form. Oracle forms tend to keep all higher call active and treat them as a call to a new form when a form is being called by a higher form. These forms release memory that the terminated form was using. Also if parent form was the form which was called then the new form also has the same options as the parent form.
Q2. Explain the difference between Window, Canvas, and ViewPort
Answer:
A window is supposed to contain all visual objects that form an application. This window is supposed to perform various functionalities like scrolling, moving and resizing. A single form can include many windows. Every window that is created must have one content canvas. All new form modules have a predefined window which is called Window1 and is a modeless window.
Canvas: Canvas acts to be surface inside a window on which visual objects can be placed. A canvas is assigned to a particular window. Each item in a form should refer to not more than one canvas.
Viewport: Port is a visual portion of the canvas.
Q3. Explain the different levels at which Oracle form services interact.
Answer:
Oracle form service is a three-tier application which interacts at the below three levels:
- Client level
- Server level
- Database level
HTTP requests are sent by a client to the system when the application works at the client level. This request will be received by forms listener servlet at a server and it will initiate the forms runtime process. After this process, the request is sent to the database so that information is retrieved and this information is sent back to the client. This is the complete workflow of user interaction through Oracle forms services which help in easy interaction.
Q4. What is the sequence in which triggers are fired by Oracle Forms?
Answer:
This is the basic Oracle Forms Interview Question asked in an interview. Oracle forms follow the below sequence for triggers execution:
- Pre-form
- Pre-block
- Pre-record
- Pre-text item
- When-new-form-instance
- When-new-block-instance
- When-new-record-instance
- When-new-item-instance
- Post-text_item
- Post-Record
- Post-Block
- Post-Form
Q5. Name the different triggers which are associated with Oracle forms having a master-detail relationship.
Answer:
Below triggers are created when the master-detail block is created:
- ON-CHECK-DELETE-MASTER
- ON-CLEAR-DETAILS
- ON-POPULATE-DETAILS
Part 2 – Oracle Forms Interview Questions (Advanced)
Let us now have a look at the advanced Interview Questions.
Q6. What do you understand by record group in Oracle Forms?
Answer:
A framework that has rows and columns within Oracle forms which are similar to a table in a database is known as a record group.
Record groups have the below types:
- Query Record group
- Non-query record group
- Static Record group
A query record group is associated with a Select statement can it is created or updated during the design phase or execution phase. When it comes to non-query record group it is not associated with any query and therefore it can be created or updated only when this group is in the execution phase. The static record group, unlike a non-query record group, is not associated with any query and it can be created or updated only during the design phase.
Q7. Explain the difference between ON ERROR and ON MESSAGE trigger.
Answer:
ON-ERROR Trigger: This trigger is fired when Oracle form encounters an error and displays an error message to display. This trigger is used to replace default error messages which are customized. The default built-in functions are used to determine the error messages which are: ERROR_CODE, ERROR_TEXT, ERROR_TYPE (FRM, ORA)
ON MESSAGE Trigger: This trigger is fired when Oracle forms are caused to display ON MESSAGE trigger. It is used to replace default messages with a customized message. The built-in functions are: MESSAGE_CODE, MESSAGE_TEXT, MESSAGE_TYPE (FRM, ORA, NULL)
Q8. What are the benefits of multiple form applications?
Answer:
The advantages of multiple form applications are as below:
- Easier to debug small form.
- Flexibility between forms.
- Easy to maintain.
- Data can be exchanged between forms.
Q9. Explain the two phases of block coordination?
Answer:
This is the most asked Oracle Forms Interview Questions in an interview. The two phases of block co-ordination are:
Clear Phase: During this phase, the Oracle forms navigate internally to detail block and fetches the records.
Population Phase: During this phase, Oracle forms has a select statement to repopulate the detail records associated with the new master record that is created.
Q10. What are the editors? What are the different types of editors?
Answer:
Editors are used for requirements like editing larger windows, search, replace, etc.
Their types are:
- Default Editor
- System Editor
- User Named Editor
Recommended Article
This has been a guide to list Of Oracle Forms Interview Questions and Answers so that the candidate can crackdown these Interview Questions easily. Here in this post, we have studied top Oracle Forms Interview Questions which are often asked in interviews. You may also look at the following articles to learn more –