Oracle Reports practice questions on the data model, bind and lexical parameters, formula, summary and placeholder columns, report triggers, frames and layout. This set has 33 multiple-choice questions, each with a short explanation (set 2 of 2). 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 33 questions with answers
- How is relative positioning in Oracle reports achieved?
- using groups
- using triggers
- using anchors
- None
Show answer
Answer: C. using anchors
Anchors tie one layout object to another so their positions stay relative.
- Which of the following are valid layout formats in Oracle reports
- mailing label
- Form
- Tabular
- all the above
Show answer
Answer: D. all the above
Report layout styles include tabular, form, mailing label, form letter, group left, group above and matrix.
- How to change the format of frame or item programmatically in oracle reports
- set_item_property
- set_property
- format trigger
- none
Show answer
Answer: C. format trigger
A format trigger can change or hide a frame or field at runtime.
- Valid printing direction in Oracle reports are?
- zigzag
- down
- across
- B & C
Show answer
Answer: D. B & C
Repeating frames print Down or Across (or a combination). Zigzag is not an option.
- which of the following is not a valid oracle reports object?
- LOV
- Group
- anchor
- repeating frame
Show answer
Answer: A. LOV
An LOV is a Forms object. Groups, anchors and repeating frames are Reports objects.
- How is debugging message displayed in oracle reports
- srw.message
- message
- show_message
- show_Text
Show answer
Answer: A. srw.message
SRW.MESSAGE shows a message while the report runs, which is handy for debugging.
- what are valid program units in Oracle Reports?
- triggers
- Procedure
- functions
- all the above
Show answer
Answer: D. all the above
Reports program units include report triggers, procedures and functions.
- Can a PL/SQL library be attached to a form as well as report?
- true
- FALSE
Show answer
Answer: A. true
A PL/SQL library (.pll) can be attached to both forms and reports.
- Can you call a database procedure from trigger in Oracle reports?
- Yes
- No
Show answer
Answer: A. Yes
Report triggers can call stored procedures in the database.
- Can you call a Oracle report from an Oracle form?
- Yes
- No
Show answer
Answer: A. Yes
Forms can run a report with RUN_PRODUCT (6i) or RUN_REPORT_OBJECT (9i and later).
- Can you call a stored procedure from a formula column in oracle reports?
- Yes
- No
Show answer
Answer: A. Yes
A formula column can call a stored function or procedure.
- A _______ is an argument to pass parameters from oracle reports to oracle applications
- Parameter
- Profile
- Token
- None of the above
Show answer
Answer: C. Token
In the concurrent program definition, the Token field maps each parameter to the matching report parameter name.
- _______ determines the horizontal and vertical position of an object
- Anchor
- OLE2 Object
- Data Link
- Frame
Show answer
Answer: A. Anchor
An anchor fixes the horizontal and vertical position of one object relative to another.
- Is it possible to use User Exits in Report builder?
- Yes
- No
- Not applicable
Show answer
Answer: A. Yes
Report Builder supports user exits, such as the FND user exits used in Oracle Apps reports.
- Which parameter cannot be used in FROM clause?
- Bind Parameter
- Data Parameter
- Lexical Parameter
- All the above
Show answer
Answer: A. Bind Parameter
Bind parameters supply values only, so they cannot name a table in the FROM clause. Use a lexical parameter for that.
- How can we execute the query in the report trigger?
- SRW.EXEC_SQL
- SRW.EXECUTE_SQL
- SRW.DO_SQL
- All the above
Show answer
Answer: C. SRW.DO_SQL
SRW.DO_SQL runs DDL or DML from a report trigger or program unit.
- What is the correct Firing sequence of report triggers?
- BEFORE PARAMETER FORM BEFORE REPORT TRIGGER AFTER PARAMETER FORM BETWEEN PAGES AFTER REPORT TRIGGER
- BEFORE REPORT TRIGGER BEFORE PARAMETER FORM AFTER PARAMETER FORM BETWEEN PAGES AFTER REPORT TRIGGER
- BEFORE REPORT TRIGGER BEFORE PARAMETER FORM BETWEEN PAGES AFTER PARAMETER FORM AFTER REPORT TRIGGER
- BEFORE PARAMETER FORM AFTER PARAMETER FORM BEFORE REPORT TRIGGER BETWEEN PAGES AFTER REPORT TRIGGER
Show answer
Answer: D. BEFORE PARAMETER FORM AFTER PARAMETER FORM BEFORE REPORT TRIGGER BETWEEN PAGES AFTER REPORT TRIGGER
The firing order is Before Parameter Form, After Parameter Form, Before Report, Between Pages and After Report.
- How many minimum groups are required for a matrix report
- 2
- 1
- 3
- 4
Show answer
Answer: D. 4
A matrix report needs at least four groups: two dimension groups, a cross-product group and a cell group.
- What are placeholders used for in oracle reports
- holding values
- holding values at run time
- for doing calculations
- None of the Above
Show answer
Answer: B. holding values at run time
A placeholder holds a value that is set at runtime by PL/SQL elsewhere in the report.
- Which of the following is not used to change the printed value of a field at runtime?
- SRW.set_field_char
- SRW.set_field_num
- SRW.set_field_int
- SRW.set_field_date
Show answer
Answer: C. SRW.set_field_int
SRW has SET_FIELD_CHAR, SET_FIELD_NUM and SET_FIELD_DATE (plus SET_FIELD). SET_FIELD_INT does not exist.
- If a parameter is used as a lexical reference in a query, its data type must be________
- Character
- Number
- Date
- None of the Above
Show answer
Answer: A. Character
A lexical parameter is substituted as text, so its data type must be Character.
- _______ is a form of representation which can visibly show all the information in a compact version
- Form
- Table
- Graph
- None of the Above
Show answer
Answer: C. Graph
A graph shows a lot of information in a compact visual form.
- ___________ is used to compare the ratios or percentage of parts of a whole
- Pie Chart
- Bar chart
- Line
- None of the Above
Show answer
Answer: A. Pie Chart
A pie chart shows how parts make up a whole, as ratios or percentages.
- A ______ define common characteristics and objects that you want to apply to multiple reports.
- Template
- Query Builder
- Wizard
- None of the Above
Show answer
Answer: A. Template
A template defines common objects and formatting you can apply to many reports.
- Use a pre-defined template to create a report and modify the report in the ____________
- Live Previewer
- Data Previewer
- Data Model
- None of the Above
Show answer
Answer: A. Live Previewer
The Live Previewer shows the report with real data and lets you edit the layout there.
- _________has its value set from another object at run time
- aSummary Columns
- Formula Columns
- Placeholder Columns
- None of the above
Show answer
Answer: C. Placeholder Columns
A placeholder column gets its value from another object at runtime.
- _____________report is used when you want the repeating values for the columns to be printed only once.
- Tabular Report
- Master-Detail report
- Break Report
- None of the Above
Show answer
Answer: C. Break Report
A break report prints repeating values of the break column only once per group.
- A query can be based on ref cursor when you want to___________________
- Decrease the control and security
- Avoid the use of the lexical parameters in your reports.
- Revealing the logic within a subprogram
- None of the above
Show answer
Answer: B. Avoid the use of the lexical parameters in your reports.
A REF CURSOR query moves the SQL into a package, cutting the need for lexical parameters and keeping logic in the database.
- The ___________________ dialog box allows you to specify multiple conditions and formatting attributes for a selected layout object.
- Format Trigger
- Report Wizard
- Conditional Formatting
- None of the Above
Show answer
Answer: C. Conditional Formatting
The Conditional Formatting dialog lets you set several conditions and formats for a layout object.
- A _____________report contains database values embedded into any text that is entered or imported into the Report Builder.
- Form-Letter
- Tabular
- Mailing Label
- None of the above
Show answer
Answer: A. Form-Letter
A form-letter report embeds database values in free text, like a mail merge.
- __________ triggers on most paper layout objects fire as the layout object is processed.
- Format Triggers
- Layout Triggers
- Data Model Triggers
- None of the Above
Show answer
Answer: A. Format Triggers
Format triggers fire as each layout object is formatted.
- ________ triggers affect the way in which objects are formatted.
- Format Triggers
- Layout Triggers
- Data Model Triggers
- None of the Above
Show answer
Answer: B. Layout Triggers
Layout triggers work on layout objects and control how they are formatted and printed.
- ________ triggers can affect which records are processed and how they are processed
- Format Triggers
- Layout Triggers
- Data Model Triggers
- None of the Above
Show answer
Answer: C. Data Model Triggers
Data model triggers, such as group filters and formula columns, decide which records are processed and how.
More Oracle practice questions
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.
