Oracle Reports Practice Questions Set 1

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

  1. In Oracle Reports, What are the ways by which data can be generated for any parameter’s list of values?
    1. Using static values
    2. Writing select statement.
    3. All of the above
    4. 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.

  2. In Oracle Reports, a bind parameter is used to replace a single value.
    1. True
    2. False
    Show answer

    Answer: A. True

    A bind parameter (:p) replaces a single value in the query.

  3. In Oracle Reports, What type of columns will be used as an empty container to be populated from another object?
    1. Summary Columns
    2. Placeholder Columns
    3. Formula Columns
    4. 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.

  4. Which of the following is not a system variable in Oracle Reports?
    1. Page number
    2. Total pages
    3. Current date
    4. 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.

  5. In Oracle Reports, the between pages trigger fires for which of the following events?
    1. Before First page
    2. After Last page
    3. None
    4. 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.

  6. Which of the following is not an Oracle Reports built-in package?
    1. srw.message
    2. srw.do_sql
    3. go_item
    4. 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.

  7. Which of the following is not a Oracle Reports layout object?
    1. Field
    2. Repeating frame
    3. Group frame
    4. LOV
    Show answer

    Answer: D. LOV

    Fields, repeating frames and group frames are layout objects. An LOV is a Forms object.

  8. Which of the following is not a system parameter in Oracle Reports.
    1. Destype
    2. Desname
    3. Desformat
    4. DesIP_Address
    Show answer

    Answer: D. DesIP_Address

    Report system parameters include DESTYPE, DESNAME, DESFORMAT, COPIES, MODE and ORIENTATION. There is no DesIP_Address.

  9. In oracle report, what type of columns will be used for doing mathematical calculations?
    1. Summary Columns
    2. Placeholder Columns
    3. Formula Columns
    4. None of the above
    Show answer

    Answer: C. Formula Columns

    Formula columns hold PL/SQL calculations, such as tax = salary * 0.1.

  10. In oracle report, If there are 10 pages in the report, then how many times the between pages trigger would fire?
    1. 10
    2. 11
    3. 9
    4. 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.

  11. In Oracle Reports, Queries in are created in
    1. Layout editor
    2. Data model editor
    3. A and B
    4. None of the above
    Show answer

    Answer: B. Data model editor

    Queries are created in the Data Model editor.

  12. In Oracle Reports, The Report layout is created or modified in ______
    1. Data Model
    2. Layout Editor
    3. Parameter Form
    4. None of the above
    Show answer

    Answer: B. Layout Editor

    The report layout is built and changed in the Layout Editor (Paper Layout view).

  13. Report Designer has file extension as _______.
    1. fmb
    2. sql
    3. sh
    4. rdf
    Show answer

    Answer: D. rdf

    RDF is the Reports source file; REP is the compiled runtime file.

  14. In Oracle Reports, _____ determines the hierarchy of the data appearing in a report, and are used primarily to create breaks
    1. Summary Columns
    2. Place holder columns
    3. Formula Columns
    4. Groups
    Show answer

    Answer: D. Groups

    Groups set the hierarchy of the data and are mainly used to create break levels.

  15. In Oracle Reports, ______ are variables for your report that enable you to change the selection criteria at runtime.
    1. Summary Columns
    2. Parameters
    3. Place holder columns
    4. Formula Columns
    Show answer

    Answer: B. Parameters

    Parameters let users change the selection criteria at runtime.

  16. In Oracle Reports, _____ are used to establish parent-child relationships between queries and groups via column-matching
    1. Anchors
    2. Frames
    3. Boiler plate texts
    4. Data Links
    Show answer

    Answer: D. Data Links

    Data links join a parent query or group to a child by matching columns.

  17. In Oracle Reports, Developers can create 2 types of parameters viz: bind and
    1. Unbind
    2. lexical
    3. open
    4. None of the above
    Show answer

    Answer: B. lexical

    Reports has bind parameters and lexical parameters.

  18. In Oracle Reports, Developers can create 2 types of parameters viz: ____ and lexical parameters
    1. bind
    2. static
    3. None of the above
    Show answer

    Answer: A. bind

    Reports has bind parameters and lexical parameters.

  19. In Oracle Reports, Use a ____ parameter, when you want the parameter to substitute any part of the select statement at runtime.
    1. bind
    2. lexical
    3. Unbind
    4. 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.

  20. In Oracle Reports, Precede a bind parameter with a ______ while accessing the parameter in any code
    1. ampersand (&)
    2. Comma(,)
    3. Back quote ()
    4. Colon(:)
    Show answer

    Answer: D. Colon(:)

    Bind parameters are referenced with a colon, for example :p_org_id.

  21. In Oracle Reports, Report Totals at various groups can be created using _______.
    1. Formula columns
    2. Place holder columns
    3. Database columns
    4. Summary Columns
    Show answer

    Answer: D. Summary Columns

    Summary columns compute totals, counts and averages at group or report level.

  22. In Oracle reports, The print direction of a repeating frame can’t be _______
    1. Down
    2. Across
    3. Across/Down
    4. Up
    Show answer

    Answer: D. Up

    A repeating frame can print Down, Across, Across/Down or Down/Across. There is no Up.

  23. In Oracle reports, If you want to display or hide the contents of a Frame conditionally, then _________
    1. Create a between pages trigger
    2. Create a format trigger for the frame
    3. Create a before report trigger
    4. 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.

  24. Which is the report trigger will fire first?
    1. Before Report Trigger
    2. Before Parameter Form Trigger
    3. 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.

  25. Is it possible calling a report from a report?
    1. Yes
    2. No
    Show answer

    Answer: A. Yes

    A report can call another report, for example with SRW.RUN_REPORT or a drill-down hyperlink.

  26. Is it possible to change the table name of report query at run time?
    1. Yes
    2. No
    Show answer

    Answer: A. Yes

    Use a lexical parameter, for example FROM &p_table, to change the table name at runtime.

  27. How many report triggers are there in a Report?
    1. 4
    2. 5
    3. 3
    Show answer

    Answer: B. 5

    Reports has five report triggers: Before Parameter Form, After Parameter Form, Before Report, Between Pages and After Report.

  28. Can we write format trigger in a repeating frame?
    1. Yes
    2. No
    Show answer

    Answer: A. Yes

    Repeating frames, like most layout objects, can have a format trigger.

  29. How can you change the select statement of a query at run time?
    1. Using bind parameter
    2. Using system parameter
    3. Using lexical parameter
    4. Using user parameter
    Show answer

    Answer: C. Using lexical parameter

    A lexical parameter can replace part of or the whole SELECT at runtime.

  30. What is fnd.srwinit ?
    1. It allows oracle AOL user exits to detect that they have been called by oracle reports. Called from before report trigger
    2. Used to release all the memory allocated by oracle AOL, used in after report trigger
    3. 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.

  31. What is fnd.srwexit ?
    1. It allows oracle AOL user exits to detect that they have been called by oracle reports. Called from before report trigger.
    2. Used to release all the memory allocated by oracle AOL, used in after report trigger.
    3. 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.

  32. , Before report trigger will fire before the query will parse
    1. True
    2. 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.

  33. which of them are valid report triggers
    1. between pages
    2. pre report
    3. post report
    4. 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.