Oracle Content - Oracle Forms and Reports Interview Questions Part 1
Oracle Content - Oracle Forms and Reports Interview Questions Part 1
1 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
21-12-2015 17:38
2 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
reference the parameters value' Example name_in ('capital parameter my param'), Copy
('SURESH','Parameter my_param')
What is a timer?
Timer is an "internal time clock" that you can programmatically create to perform an action each
time the times.
What are the two phases of block coordination?
There are two phases of block coordination: the clear phase and the population phase. During,
the clear phase, Oracle Forms navigates internally to the detail block and lushes the obsolete
detail records. During the population phase, Oracle Forms issues a SELECT statement to
repopulate the detail block with detail records associated with the new master record. These
operations are accomplished through the execution of triggers.
What are Most Common types of Complex master-detail relationships?
There are three most common types of complex master-detail relationships:
master with dependent details
master with independent details
detail with two masters
What is a text list?
The text list style list item appears as a rectangular box which displays the ixed number of
values. When the text list contains values that can not be displayed, a vertical scroll bar appears,
allowing the operator to view and select undisplayed values.
What is term?
The term is terminal deinition ile that describes the terminal form which you are using r20run.
What is use of term?
The term ile which key is correspond to which oracle report functions.
What is pop list?
The pop list style list item appears initially as a single ield (similar to a text item ield). When
the operator selects the list icon, a list of available choices appears.
What is the maximum no of chars the parameter can store?
The maximum no of chars the parameter can store is only valid for char parameters, which can
be upto 64K. No parameters default to 23Bytes and Date parameter default to 7Bytes.
What are the default extensions of the iles created by library module?
The default ile extensions indicate the library module type and storage format .pll - pl/sql
library module binary
What are the Coordination Properties in a Master-Detail relationship?
The coordination properties are
Deferred
Auto-Query
These Properties determine when the population phase of block
coordination should occur.
How do you display console on a window ?
The console includes the status line and message line, and is displayed at the bottom of the
window to which it is assigned.To specify that the console should be displayed, set the console
window form property to the name of any window in the form. To include the console, set
console window to Null.
What are the different Parameter types?
Text ParametersData Parameters
State any three mouse events system variables?
System.mouse_button_pressedSystem.mouse_button_shift
What are the types of calculated columns available?
Summary, Formula, Placeholder column.
Explain about stacked canvas views?
Stacked canvas view is displayed in a window on top of, or "stacked" on the content canvas view
assigned to that same window. Stacked canvas views obscure some part of the underlying
content canvas view, and or often shown and hidden programmatically.
What is the difference between SHOW_EDITOR and EDIT_TEXTITEM?
Show editor is the generic built-in which accepts any editor name and takes some input string
and returns modiied output string. Whereas the edit_textitem built-in needs the input focus to
be in the text item before the built-in is executed.
What are the built-ins that are used to Attach an LOV programmatically to an item?
set_item_property
get_item_property
(by setting the LOV_NAME property)
What are the different ile extensions that are created by oracle reports?
Rep ile and Rdf ile.
What is strip sources generate options?
Removes the source code from the library ile and generates a library iles that contains only
pcode. The resulting ile can be used for inal deployment, but can not be subsequently edited in
the designer.ex. f45gen module=old_lib.pll userid=scott/tiger strip_source YES output_ile
What is the Maximum allowed length of Record group Column?
Record group column names cannot exceed 30 characters.
Which parameter can be used to set read level consistency across multiple queries?
Read only
What are the different types of Record Groups?
Query Record Groups
NonQuery Record Groups
State Record Groups
From which designation is it preferred to send the output to the printed?
Previewer
What are difference between post database commit and post-form commit?
Post-form commit ires once during the post and commit transactions process, after the
database commit occurs. The post-form-commit trigger ires after inserts, updates and deletes
21-12-2015 17:38
3 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
Previewer
What are difference between post database commit and post-form commit?
Post-form commit ires once during the post and commit transactions process, after the
database commit occurs. The post-form-commit trigger ires after inserts, updates and deletes
have been posted to the database but before the transactions have been inalized in the issuing
the command. The post-database-commit trigger ires after oracle forms issues the commit to
inalized transactions.
What are the different display styles of list items?
Pop_listText_listCombo box
Which of the above methods is the faster method?
performing the calculation in the query is faster.
With which function of summary item is the compute at options required?
percentage of total functions.
What are parameters?
Parameters provide a simple mechanism for deining and setting the valuesof inputs that are
required by a form at startup. Form parameters are variables of type char,number,date that you
deine at design time.
What are the three types of user exits available ?
Oracle Precompiler exits, Oracle call interface, NonOracle user exits.
How many windows in a form can have console?
Only one window in a form can display the console, and you cannot change the console
assignment at runtime.
What are the two repeating frame always associated with matrix object?
One down repeating frame below one across repeating frame.
What are the master-detail triggers?
On-Check_delete_masterOn_clear_detailsOn_populate_details
Can you pass data parameters to forms?
No
Is it possible to link two groups inside a cross products after the cross products group has
been created?
no
What are the different modals of windows?
Modalless windows
Modal windows
What are modal windows?
Modal windows are usually used as dialogs, and have restricted functionality compared to
modelless windows. On some platforms for example operators cannot resize, scroll or iconify a
modal window.
What are the different default triggers created when Master Deletes Property is set to
Non-isolated?
Master Deletes Property Resulting Triggers
---------------------------------------------------Non-Isolated(the default) On-Check-Delete-Master
On-Clear-Details
On-Populate-Details
What are the different default triggers created when Master Deletes Property is set to
isolated?
Master Deletes Property Resulting Triggers
--------------------------------------------------Isolated On-Clear-Details
On-Populate-Details
What are the different default triggers created when Master Deletes Property is set to
Cascade?
Master Deletes Property Resulting Triggers
--------------------------------------------------Cascading On-Clear-Details
On-Populate-Details
Pre-delete
What are the difference between lov & list item?
Lov is a property where as list item is an item. A list item can have only one column, lov can have
one or more columns.
What is the advantage of the library?
Libraries provide a convenient means of storing client-side program units and sharing them
among multiple applications. Once you create a library, you can attach it to any other form,
menu, or library modules. When you can call library program units from triggers menu items
commands and user named routine, you write in the modules to which you have attach the
library. When a library attaches another library, program units in the irst library can reference
program units in the attached library. Library support dynamic loading-that is library program
units are loaded into an application only when needed. This can signiicantly reduce the
run-time memory requirements of applications.
What is lexical reference? How can it be created?
Lexical reference is place_holder for text that can be embedded in a sql statements. A lexical
reference can be created using & before the column or parameter name.
What is system.coordination_operation?
It represents the coordination causing event that occur on the master block in master-detail
relation.
What is synchronize?
It is a terminal screen with the internal state of the form. It updates the screen display to relect
the information that oracle forms has in its internal representation of the screen.
What use of command line parameter cmd ile?
It is a command line argument that allows you to specify a ile that contain a set of arguments for
21-12-2015 17:38
4 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
It is a terminal screen with the internal state of the form. It updates the screen display to relect
the information that oracle forms has in its internal representation of the screen.
What use of command line parameter cmd ile?
It is a command line argument that allows you to specify a ile that contain a set of arguments for
r20run.
What is a Text_io Package?
It allows you to read and write information to a ile in the ile system.
What is forms_DDL?
Issues dynamic Sql statements at run time, including server side pl/SQl and DDL
What are the different styles of activation of ole Objects?
In place activationExternal activation
How do you reference a Parameter?
In Pl/Sql, You can reference and set the values of form parameters using bind variables syntax.
Ex. PARAMETER name = '' or :block.item = PARAMETER Parameter name
What is the difference between object embedding & linking in Oracle forms?
In Oracle forms, Embedded objects become part of the form module, and linked objects are
references from a form module to a linked source ile.
Name of the functions used to get/set canvas properties?
Get_view_property, Set_view_property
What are the built-ins that are used for setting the LOV properties at runtime?
get_lov_property
set_lov_property
What are the built-ins used for processing rows?
Get_group_row_count(function)
Get_group_selection_count(function)
Get_group_selection(function)
Reset_group_selection(procedure)
Set_group_selection(procedure)
Unset_group_selection(procedure)
What are built-ins used for Processing rows?
GET_GROUP_ROW_COUNT(function)
GET_GROUP_SELECTION_COUNT(function)
GET_GROUP_SELECTION(function)
RESET_GROUP_SELECTION(procedure)
SET_GROUP_SELECTION(procedure)
UNSET_GROUP_SELECTION(procedure)
What are the built-in used for getting cell values?
Get_group_char_cell(function)
Get_groupcell(function)
Get_group_number_cell(function)
What are the built-ins used for Getting cell values?
GET_GROUP_CHAR_CELL (function)
GET_GROUPCELL(function)
GET_GROUP_NUMBET_CELL(function)
Atleast how many set of data must a data model have before a data model can be base on
it?
Four
To execute row from being displayed that still use column in the row which property can be
used?
Format trigger.
What are different types of modules available in oracle form?
Form module - a collection of objects and code routines Menu modules - a collection of menus
and menu item commands that together make up an application menu library module - a
collection of user named procedures, functions and packages that can be called from other
modules in the application
What is the remove on exit property?
For a modelless window, it determines whether oracle forms hides the window automatically
when the operators navigates to an item in the another window.
What is WHEN-Database-record trigger?
Fires when oracle forms irst marks a record as an insert or an update. The trigger ires as soon
as oracle forms determines through validation that the record should be processed by the next
post or commit as an insert or update. c generally occurs only when the operators modiies the
irst item in the record, and after the operator attempts to navigate out of the item.
What is a difference between pre-select and pre-query?
Fires during the execute query and count query processing after oracle forms constructs the
select statement to be issued, but before the statement is actually issued. The pre-query trigger
ires just before oracle forms issues the select statement to the database after the operator as
deine the example records by entering the query criteria in enter query mode.Pre-query trigger
ires before pre-select trigger.
What are built-ins associated with timers?
ind_timercreate_timerdelete_timer
What are the built-ins used for inding object ID functions?
Find_group(function)
Find_column(function)
What are the built-ins used for inding Object ID function?
FIND_GROUP(function)
FIND_COLUMN(function)
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
False
Use the Add_group_row procedure to add a row to a static record group 1. true or false?
21-12-2015 17:38
5 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
21-12-2015 17:38
6 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
2. interpreter pane.
3. Navigator pane.
What are the two panes that Appear in the design time pl/sql interpreter?
1. Source pane.
2. Interpreter pane
What are the two ways by which data can be generated for a parameters list of values?
1. Using static values.
2. Writing select statement.
What are the various methods of performing a calculation in a report ?
1. Perform the calculation in the SQL statements itself.
2. Use a calculated / summary column in the data model.
What are the default extensions of the iles created by menu module?
.mmb,
.mmx
What are the default extensions of the iles created by forms modules?
.fmb - form module binary
.fmx - form module executable
To display the page no. for each page on a report what would be the source & logical page
no. or & of physical page no.?
& physical page no.
What is the difference between ON-VALIDATE-FIELD trigger and a POST-CHANGE trigger ?
When you changes the Existing value to null, the On-validate ield trigger will ire post change
trigger will not ire. At the time of execute-query post-change trigger will ire, on-validate ield
trigger will not ire.
When is PRE-QUERY trigger executed ?
When Execute-query or count-query Package procedures are invoked.
How do you trap the error in forms 3.0 ?
using On-Message or On-Error triggers.
How many pages you can in a single form ?
Unlimited
While specifying master/detail relationship between two blocks specifying the join
condition is a must ?
True or False. ?
True
EXIT_FORM is a restricted package procedure ?
a. True b. False
True
What is the usage of an ON-INSERT,ON-DELETE and ON-UPDATE TRIGGERS ?
These triggers are executes when inserting, deleting and updating operations are performed and
can be used to change the default function of insert, delete or update respectively. For Eg, instead
of inserting a row in a table an existing row can be updated in the same table.
What are the types of Pop-up window ?
the pop-up ield editor
pop-up list of values
pop-up pages.
Alert :
What is an SQL *FORMS ?
SQL *forms is 4GL tool for developing and executing; Oracle based interactive application.
How do you control the constraints in forms ?
Select the use constraint property is ON Block deinition screen.
BLOCK
What is the difference between restricted and unrestricted package procedure ?
Restricted package procedure that affects the basic functions of SQL * Forms. It cannot used in
all triggers except key triggers. Unrestricted package procedure that does not interfere with the
basic functions of SQL * Forms it can be used in any triggers.
A query fetched 10 records How many times does a PRE-QUERY Trigger and POST-QUERY
Trigger will get executed ?
PRE-QUERY ires once.
POST-QUERY ires 10 times.
Give the sequence in which triggers ired during insert operations, when the following 3
triggers are deined at the same block level ?
a. ON-INSERT b. POST-INSERT c. PRE-INSERT
State the order in which these triggers are executed ?
POST-FIELD,ON-VALIDATE-FIELD,POST-CHANGE and KEY-NEXTFLD. KEY-NEXTFLD,POSTCHANGE, ON-VALIDATE-FIELD, POST-FIELD. g.
What the PAUSE package procedure does ?
Pause suspends processing until the operator presses a function key
What do you mean by a page ?
Pages are collection of display information, such as constant text and graphics
What are the type of User Exits ?
ORACLE Precompliers user exits
OCI (ORACLE Call Interface)
Non-ORACEL user exits.
Page :
What is the difference between an ON-VALIDATE-FIELD trigger and a trigger ?
On-validate-ield trigger ires, when the ield Validation status New or changed. Post-ieldtrigger whenever the control leaving form the ield, it will ire.
Can we use a restricted package procedure in ON-VALIDATE-FIELD Trigger ?
No
Is a Key startup trigger ires as result of a operator pressing a key explicitly ?
21-12-2015 17:38
7 of 7
http://learnoracleeasy.blogspot.in/2012/11/oracle-forms-and-reports-int...
trigger whenever the control leaving form the ield, it will ire.
Can we use a restricted package procedure in ON-VALIDATE-FIELD Trigger ?
No
Is a Key startup trigger ires as result of a operator pressing a key explicitly ?
No
Can we use GO-BLOCK package in a pre-ield trigger ?
No
Can we create two blocks with the same name in form 3.0 ?
No
What does an on-clear-block Trigger ire?
It ires just before SQL * forms the current block.
Name the two iles that are created when you generate the form give the ilex extension ?
INP (Source File)
FRM (Executable File)
What package procedure used for invoke sql *plus from sql *forms ?
Host (E.g. Host (sqlplus))
What are the different types of key triggers ?
Function Key
Key-function
Key-others
Key-startup
What is the difference between a Function Key Trigger and Key Function Trigger ?
Function key triggers are associated with individual SQL*FORMS function keys You can attach
Key function triggers to 10 keys or key sequences that normally do not perform any SQL *
FORMS operations. These keys referred as key F0 through key F9.
Committed block sometimes refer to a BASE TABLE ?
False
Error_Code is a package proecdure ?
a. True b. false
False
21-12-2015 17:38