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 1 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
- In Oracle Reports, What are the ways by which data can be generated for any parameter’s list of values?
- Using static values
- Writing select statement.
- All of the above
- None of the above
Show answer
Answer: C. All of the above
A parameter’s list of values can come from static values you type in or from a SELECT statement.
- In Oracle Reports, a bind parameter is used to replace a single value.
- True
- False
Show answer
Answer: A. True
A bind parameter (:p) replaces a single value in the query.
- In Oracle Reports, What type of columns will be used as an empty container to be populated from another object?
- Summary Columns
- Placeholder Columns
- Formula Columns
- None of the above
Show answer
Answer: B. Placeholder Columns
A placeholder column is an empty container whose value is set by PL/SQL in another object, such as a formula or a trigger.
- Which of the following is not a system variable in Oracle Reports?
- Page number
- Total pages
- Current date
- user name
Show answer
Answer: D. user name
Report system variables include page number, total pages, physical page number and current date. User name is not one of them.
- In Oracle Reports, the between pages trigger fires for which of the following events?
- Before First page
- After Last page
- None
- A & B both
Show answer
Answer: C. None
Between Pages fires between pages. It does not fire before the first page or after the last page.
- Which of the following is not an Oracle Reports built-in package?
- srw.message
- srw.do_sql
- go_item
- srw.do_sql
Show answer
Answer: C. go_item
GO_ITEM is an Oracle Forms built-in. SRW.MESSAGE and SRW.DO_SQL are Oracle Reports built-ins.
- Which of the following is not a Oracle Reports layout object?
- Field
- Repeating frame
- Group frame
- LOV
Show answer
Answer: D. LOV
Fields, repeating frames and group frames are layout objects. An LOV is a Forms object.
- Which of the following is not a system parameter in Oracle Reports.
- Destype
- Desname
- Desformat
- DesIP_Address
Show answer
Answer: D. DesIP_Address
Report system parameters include DESTYPE, DESNAME, DESFORMAT, COPIES, MODE and ORIENTATION. There is no DesIP_Address.
- In oracle report, what type of columns will be used for doing mathematical calculations?
- Summary Columns
- Placeholder Columns
- Formula Columns
- None of the above
Show answer
Answer: C. Formula Columns
Formula columns hold PL/SQL calculations, such as tax = salary * 0.1.
- In oracle report, If there are 10 pages in the report, then how many times the between pages trigger would fire?
- 10
- 11
- 9
- Cannot be predicted.
Show answer
Answer: C. 9
Between Pages fires before every page except the first, so a 10-page report fires it 9 times.
- In Oracle Reports, Queries in are created in
- Layout editor
- Data model editor
- A and B
- None of the above
Show answer
Answer: B. Data model editor
Queries are created in the Data Model editor.
- In Oracle Reports, The Report layout is created or modified in ______
- Data Model
- Layout Editor
- Parameter Form
- None of the above
Show answer
Answer: B. Layout Editor
The report layout is built and changed in the Layout Editor (Paper Layout view).
- Report Designer has file extension as _______.
- fmb
- sql
- sh
- rdf
Show answer
Answer: D. rdf
RDF is the Reports source file; REP is the compiled runtime file.
- In Oracle Reports, _____ determines the hierarchy of the data appearing in a report, and are used primarily to create breaks
- Summary Columns
- Place holder columns
- Formula Columns
- Groups
Show answer
Answer: D. Groups
Groups set the hierarchy of the data and are mainly used to create break levels.
- In Oracle Reports, ______ are variables for your report that enable you to change the selection criteria at runtime.
- Summary Columns
- Parameters
- Place holder columns
- Formula Columns
Show answer
Answer: B. Parameters
Parameters let users change the selection criteria at runtime.
- In Oracle Reports, _____ are used to establish parent-child relationships between queries and groups via column-matching
- Anchors
- Frames
- Boiler plate texts
- Data Links
Show answer
Answer: D. Data Links
Data links join a parent query or group to a child by matching columns.
- In Oracle Reports, Developers can create 2 types of parameters viz: bind and
- Unbind
- lexical
- open
- None of the above
Show answer
Answer: B. lexical
Reports has bind parameters and lexical parameters.
- In Oracle Reports, Developers can create 2 types of parameters viz: ____ and lexical parameters
- bind
- static
- None of the above
Show answer
Answer: A. bind
Reports has bind parameters and lexical parameters.
- In Oracle Reports, Use a ____ parameter, when you want the parameter to substitute any part of the select statement at runtime.
- bind
- lexical
- Unbind
- None of the above
Show answer
Answer: B. lexical
A lexical parameter (&p) replaces any part of the SELECT, such as a WHERE clause, ORDER BY or column list.
- In Oracle Reports, Precede a bind parameter with a ______ while accessing the parameter in any code
- ampersand (&)
- Comma(,)
- Back quote ()
- Colon(:)
Show answer
Answer: D. Colon(:)
Bind parameters are referenced with a colon, for example :p_org_id.
- In Oracle Reports, Report Totals at various groups can be created using _______.
- Formula columns
- Place holder columns
- Database columns
- Summary Columns
Show answer
Answer: D. Summary Columns
Summary columns compute totals, counts and averages at group or report level.
- In Oracle reports, The print direction of a repeating frame can’t be _______
- Down
- Across
- Across/Down
- Up
Show answer
Answer: D. Up
A repeating frame can print Down, Across, Across/Down or Down/Across. There is no Up.
- In Oracle reports, If you want to display or hide the contents of a Frame conditionally, then _________
- Create a between pages trigger
- Create a format trigger for the frame
- Create a before report trigger
- Create an After report trigger
Show answer
Answer: B. Create a format trigger for the frame
A format trigger that returns FALSE hides the object, so it controls display conditionally.
- Which is the report trigger will fire first?
- Before Report Trigger
- Before Parameter Form Trigger
- Before Parameter Trigger
Show answer
Answer: B. Before Parameter Form Trigger
The order is Before Parameter Form, After Parameter Form, Before Report, Between Pages and After Report.
- Is it possible calling a report from a report?
- Yes
- No
Show answer
Answer: A. Yes
A report can call another report, for example with SRW.RUN_REPORT or a drill-down hyperlink.
- Is it possible to change the table name of report query at run time?
- Yes
- No
Show answer
Answer: A. Yes
Use a lexical parameter, for example FROM &p_table, to change the table name at runtime.
- How many report triggers are there in a Report?
- 4
- 5
- 3
Show answer
Answer: B. 5
Reports has five report triggers: Before Parameter Form, After Parameter Form, Before Report, Between Pages and After Report.
- Can we write format trigger in a repeating frame?
- Yes
- No
Show answer
Answer: A. Yes
Repeating frames, like most layout objects, can have a format trigger.
- How can you change the select statement of a query at run time?
- Using bind parameter
- Using system parameter
- Using lexical parameter
- Using user parameter
Show answer
Answer: C. Using lexical parameter
A lexical parameter can replace part of or the whole SELECT at runtime.
- What is fnd.srwinit ?
- It allows oracle AOL user exits to detect that they have been called by oracle reports. Called from before report trigger
- Used to release all the memory allocated by oracle AOL, used in after report trigger
- None of the above
Show answer
Answer: A. It allows oracle AOL user exits to detect that they have been called by oracle reports. Called from before report trigger
FND SRWINIT, called from the Before Report trigger, sets up the Apps context and lets AOL user exits work in the report.
- What is fnd.srwexit ?
- It allows oracle AOL user exits to detect that they have been called by oracle reports. Called from before report trigger.
- Used to release all the memory allocated by oracle AOL, used in after report trigger.
- None of the above
Show answer
Answer: B. Used to release all the memory allocated by oracle AOL, used in after report trigger.
FND SRWEXIT, called from the After Report trigger, frees the memory used by AOL user exits.
- , Before report trigger will fire before the query will parse
- True
- False
Show answer
Answer: A. True
Before Report fires before the queries are parsed and run, so lexical values set there are used in the query.
- which of them are valid report triggers
- between pages
- pre report
- post report
- None
Show answer
Answer: A. between pages
Between Pages is a real report trigger. Pre report and post report are not trigger names in Oracle Reports.
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.
