0% found this document useful (0 votes)
47 views

Oc PLSQL MCQ3 Se Ad

Oracle dumps

Uploaded by

VARDHINI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Oc PLSQL MCQ3 Se Ad

Oracle dumps

Uploaded by

VARDHINI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 88

Pre-request every one again to join in every following groups to

get further updates and if you leave groups after your TFA and
stream tests you will miss your further updates for sure so just
stay connected.

Dm - https://t.me/angelnndevil

Main group link - https://t.me/ad2group

Get more dumps here

Materials/Channel/dumps -
https://t.me/adaccenturematerial
1. In oracle reports, which of the following components of data model is used to determine
the hierarchy of data appearing in the report.
Ans: Data columns

2. Choose YES or NO
Can we add a computed column in the report after the report is created? Ans:
YES

3. Which of the following is not a report module component.


Ans: Templets.

4. In oracle Reports which of the following acts as placeholders for column values? Ans: Fields

5. In oracle reports, which of the following surround the layout object which enable control of
multiple object simultaneously?
Ans: Frames

6. In oracle reports which of the following procedure is used to specify the fill pattern of an
object?
Ans: SRW.SET_FILL_PATTERN.

7. Which of following processes the client request, including user authentication, scheduling,
caching and report distribution.
Ans: Reports server

8. On which hardware the oracle Autonomous database is built?


Ans: oracle Exadata Database machine

9. In which of the following type of database expected response time of and data intensive
operation will be in second.
Ans: OLTP

10. Which migrating to OADB, Nang realised that there is no need for any installation as
OADB comes pre installed on the EXADATA?
Ans: TRUE

11. Which of following can be consider as best fit scenario were OLTP systems can be consider?
Ans: ALL (online banking, online air ticket booking, online train booking)

12. The services offering from oracle Autonomous database, ATP and ADB make use of the
same OCI setup in the back end?
Ans: TRUE

13. In which of the following data warehouse type loading data to target is done before
transformation?
Ans: ETL
14. Which of the following is considered as one of the characteristics of data warehouse? Ans:
ALL (Subject oriented, time variant integrated)

15. Which of the following is used as a repository for creating various reports and analytical
solutions?
Ans: Data warehouse

16. Which of the following can be created from data model view of a oracle report? Ans: ALL
(summery clm, data link, formula clm)

17. While creating computed columns in oracle reports which property is the property
inspector needs to be consider to choose a column?
Ans: Source

18. Which one of these is not a standard reports builder report type?
Ans: Tabbed Report

19. Which of the following component of oracle 10g reports is used to deploy and manage all
applications that are developed using oracle 10g developer suite?
Ans: Oracle 10g application server

20. Which of the following component of oracle reports is treated as web server incorporating
and open SSL module to provide support for secure socket layers SSL and HTTP secure
socket layers HTTPs ?
Ans: Oracle HTTP server

21. Which of the following is not an object paper layout?


Ans: Repeating value

22. In Oracle reports which of the following component of data model is used to hold the data
value of a report?
Ans:

23. Which of the following is considered as an advantage of data warehouse? Ans: ALL

24. In Oracle reports, a data module can be shared be both paper and web layout? Ans: TRUE

25. In Oracle reports, Which of the following consists of text and graphics that appear in a
report each time it is run?
Ans: Repeating frames.

26. In oracle reports which of the following is a user defined column that gets data from PL/SQL
functions or expression?
Ans: Formula column.
27. In oracle reports which one of these is a valid reports builder file format? Ans: .RDF

28. Clarke assumes that based on the nature of work he is doing in the oracle autonomous
database OCI will automatically configure the database to ether autonomous data
warehouse ADW or autonomous transaction processing .
Ans: TRUE

29. Nang's company is working on oracle database for past 7 years with their own premise
license. They have decided to migrate to cloud services and use OADB. What type of
license options will oracle provide to Nang's company?
Ans: Here customer can apply there existing

30. Which of the following operations are generally performed on OLAP systems? Ans: ALL

31. Which of the following trigger type would be a best fit for validating the user input in
oracle reports?
Ans: Validation trigger

32. Nang's company is working on oracle database for past 7 years. Their on pre mice had
migrated to cloud services and use OADB should they move all the front end application
to the cloud as well.
Ans:

33. Below are the option which defined the three design principal autonomous database
1. Self recurring
2. Self driving
3. Self reparing
4. Self securing
Which three are correct option
Ans: 2,3 and 4

34. Which of the following is one of the type of oracle report editors view.
Ans: ALL (Web source, paper design and paper layout )

35. Which of the following is true about format triggers in oracle reports. Ans: A format
trigger ------ pl/sql-------(2 line ans)

36. Which of following option is invalid to Preview a reports in report builder? Ans:

37. While creating computed columns in oracle reports which property is the property
inspector needs to be consider to choose a aggregate function?
Ans: Source

38. Which of the following built-in is used to call a oracle report from the oracle form? Ans:
Web.Show_Document()
39. Which of the following is the return type of format triggers in oracle report?
Ans: Boolean

40. In oracle reports formula column names are prefixed by default which one of the
following?
Ans: CF_

41. Which of the following is a hierarchical browsing and editing interface that enables user
to locate and manipulate application objects quickly and easily?
Ans: Object navigatior

42. In oracle reports which of the following is not a data module component.
Ans: B___plate

43. Which of the following reports style is a valid option that can be considered with ______
Report using oracle reports builders Ans:

44. Which of the following is not oracle report builder component?


Ans: Property pallet

45. In oracle reports Which of the following is act as placeholder for column values?
Ans: Fields

46. In oracle reports Which of the following will allow programmer to create a routines like
procedures, functions and package.
Ans: Program units

47. Which of the following type of database is used to perform analysis on multi-
dimensional data from various sources?
Ans: OLAP

48. Which of the following component to process custom (JSP) report tags and delivery
information between HTTP sever and report server.
Ans: report server and JSP

49. Which one these is a component of report builder?


Ans: ALL

50. In oracle reports Which of the following is not a valid data source type?
Ans: HTML query

51. In oracle reports module all objects have certain properties which of the following is
the place where we can view and edit the properties?
Ans: Property inspector.
1. Which creating computed columns in oracle reports which property now property
inspector needs to be considered to choose aggregate function A) function
2. Which of the following is not a report modue component A) Templates
3. Which of the following triggers are available in oracle reports ? choose most appropriate

A)all of the above

4. Using PLSQL in Oracle reports Rohit wants to create a format trigger. which of the SRW
procedure could he use the global text color of the CHAR, DATE, or NUMBER held? Choose
most appropriate option A) SRW.SET_TEXT_COLOR

5)In Oracle reports which of the following will allow programmer to create routines like
procedures functions and packages A) program units

6)State true or false .

The service is offering from miracle autonomous database. ATP and ADP make use of the
same OCI set up in the back end A) true

7. Which of the following builtin is used to call Oracle report from the Oracle form?

A) Web show Document()

8. Nang’s Company is working on Oracle database for past 7 years please stop there on
premise database had migrated to cloud services and use OADB should they move all
the front end applications to the cloud as well A)yes

9. In which hardware the Oracle autonomous database is built?

A) Oracle Exdata database machine

10) Which of the following type of database is used to storing data to day transactions ?

A) OLTP

11. Which of the following is a return type of format triggers in Oracle report? A)Boolean

12. Nang’s company is working on Oracle database for past 7 years with their own premise
license. They have decided migrated to cloud services and use OADB what type of license
options will Oracle provide to Nang’s company? A) Bring Your own License

13. In which of the following type of database expected response times of an data intensive
operation will be in seconds ? A) OLTP

14. In report which of the following procedure is used to specify the fill pattern of an object ?

A) SRW.SET FILL PATTERN

15) Which of the following data warehouse type transformation process is done before
loading the data to target A) ETL
16) Which of the following is not a report module component A) templates

17) Which component of reports services 10g is responsible for bill actions

1. fetches data from the data source

2. format the report

3. sends output to cache

A) Reports services and jsp

18) which of the following report style is a valid option that can be considered while
creating a report using Oracle report builder A) All

19) Which of the following components of oracle 10g reports is used to display and
manage all applications that are used 10g developer suit? A) Oracle 10g Application Server.

20) State true or false data warehouse systems store both current and historical data a)

true

21) In Oracle reports which of the following component of data model is used to create
computed columns a) formula columns

22) Which of the following options is invalid to preview a report in report builder ? A) Run

preview.

23) Following features data from the data source formats the report sends output to
specifies the reports server that the job is ready ? A) Reports servlet and JSP

24) Oracle reports which of the following procedure is used to specify the foreground fill
color of object?

A) SRW.SET FOREGROUND FILL COLOR

25) In report which of the following procedure is used to specify the font size for a
CHAR, NUMBER field? A) SRW.SET_FONT_SIZE

26) Which of the following is a typical function of ETL based warehouse? A) All 27)

which of the following type of view will let the user to view report in HTML format a) web

source

28) Which of the following component of Oracle reports is used to store the completed jobs ?

A) Reports cache

29) In Oracle reports which of the following is a user defined column that gets data from
PLSQL function or expression a) Formula column
30) Which of the following components process custom (jSP) report tags and deliver
information between HTTP server and report server? A) Reports servlet and jSP

31) Oracle reports which of the following component of data model is used to create
aggregate or summary information a) summary columns

32)Which of the following is a set of processes which converts raw data into information that
guides decision making a) warehouse

32. In Oracle reports which of the following acts as placeholders for column values a)fields

33. Which of the following is true about format triggers in Oracle reports ?

A) a format trigger is a user-Written PLSQL function that executes each time before the
object containing the trigger is formatted

34. State true or false

Clarke assumes that based on the nature of work he is doing in the Oracle autonomous
database the OCI will automatically configure the database two other autonomous data
warehouse(ADW) Autonomous transaction crossing (ATP) a) true

35. Which of the following is considered as one of the characteristic of Data warehouse? A) all

36. Which of the following is not a Oracle reports builder component a) property palette

37. In Oracle reports which of the following is not a valid data source type a)HTML Query

38. which of the following component of Oracle reports is treated as web server
incorporating and open SSL module to provide support for secure socket players (SSL) and
HTTP secure socket layers (HTTPS) a) Oracle HTTP server

39. Which one of these is not a standard reports builders report type ? a) Tabbed Report

40. In Oracle reports module, all objects have certain properties. Which of the following gives
a place where we can view and edit the properties? a) Property inspector

41. Choose yes/no can we add a computed column in the report after the report is created

a)yes

42. Stay true or false

the services offerings from Oracle autonomous database. ATP and ADP make use of the same
OCI set up in the back end a) true

43. In Oracle reports which one of these is a valid reports builder the format? A) .rdf

44. in oracle reports which of the following surround the layer objects which enables control
of multiple objects simultaneously a) frames

45. Below are the options which define the three design principles of autonomous database
1. self recurring

2.self driving

3. self repairing 4. self securing which

three are correct options a)1,2,4

45. Using Oracle Reports builder, one can publish the report in which the following format? a)

All

46. Nang’s company is working on Oracle database for past 7 years. Their on-premise
database had migrated to cloud services and use OADB.

Should they move all the frontend applications to the cloud as well? A) Yes

47. Which of thr following fetches data from the data source. Formats the report sends output
to cache, and notifies the Reports Server that the job is ready? A) Reports server

48. Which of the following trigger will fire before each page of the report is formatted, except
the first page?

Choose most appropriate option. A)Between Pages

49. In Oracle Reports. Which of the following is not a Data Model component? A) Boilerplate

50. Which of the following type of database is used for solving past or historical data? A) OLAP

51. Which of the following is a valid Oracle Report Template’s color? A) all

52. In oracle Reports. Which of the following option will let user check for the list of all
parameters created in a report? A) paper Parameter Form

53. In Oracle Reports, which of the following procedure is used to specify the font face for a
CHAR, DATE and Number field? A) SRW.SET FONT FACE

54. Which of the following tool is considered as ELT based data warehouse tool?

A) Informatica

55) Which one of these are not components of reports Builder?

Choose most appropriate option. A) property palette

56) In Oracle Reports, jump the following component of data model’s used to determine the
hierarchy of data appearing in the report? A)Groups

57) Which of the following processes the client requests, including user authentication
scheduling caching and report distribution? A) Reports server.

58) State true or false


which migrating to OADB. Nang realized that there is no need for any installation as OADB
comes pre installed on the EXADATA A) True

59) Which of the following can be considered as a best fit scenario where OLTP systems can
be considered a)all

60)In which of the following data warehouse type loading data to target is done before
transformation ?

a) ELT

61)Which of the following is used as a repository for creating various reports and analytical
solutions a) data warehouse

62)Which of the following can be created from data model view of a Oracle report a) all

63) While creating computed columns in Oracle reports , which property in the property
inspector needs to be considered to choose a column? A) Source

64. Which of the following component of Oracle 10g reports is used to deploy and manage all
applications that are developed using Oracle 10G developer suite?

A) Oracle 10g application server

65. Which of the following is not an object off paper layout? A) Repeating value

66. In Oracle reports which of the following components of data model is used to hold the
data value of the report a)groups

67. Which of the following is considered as an advantage of data warehouse a)all 68. State

true or false in Oracle reports a data model can be shared by both paper and web layout?

a) true

69. In Oracle reports which of the following consist of text and graphics that appear in a
report each time it is run

a) Repeating Frames.

70. In Oracle reports, which of the following component of a model is used to hold the data
value of a report? A) Formula Columns

71. Which of the following trigger type would be a best fit for validating the user input in
Oracle reports ? a)validation trigger

72. Which of the following operations are generally performed on OLAP Systems? A)All

73. Which of the following is one of the type of Oracle report editor’s view? A) all

74. In Oracle reports, formula column names are prefixed by default which one of the
following? A) CF_
75.Which of the following is a hierarchical browsing and editing interface that enables user to
locate and manipulate application objects quickly and easily? a) Object navigator

76.Which of the following type of database is used to perform analysis on multidimensional


data from various sources ? A) OLAP

77.Which one of these is a component of reports builder? A) all

78.OLTP stands for Online transactional processing

79. of the following function is valid to be considered while creating a summary column in
Oracle reports? ALL

80.Which of the following technologies are pre-requisites for oracle reports? Both

81.Which of the following is a valid report trigger? All

82.OLAP stands for Online analytical processing

83.Whenever a user creates a bind parameter in oracle reports, under which category of
report Module we can view the parameter in object navigator? User parameters

84.Which of the following tools are used to get the data from any source and then load it
to any Target? ETL

85. reports are used for performing one of the following tasks? ALL

86. many bind parameters a user can create for a single query in oracle reports? Any

87.Which of the following can be used to do conditional formatting in oracle reports?


Format Triggers

88. of the following trigger can be used to validate the values entered for a parameter in a
report? Validation trigger

89. one of these is a standard reports builder report type? Break report

90. of the following is true about format triggers in oracle reports? Option c
MCQ-4
1]In Oracle Report, which of the following surrounded the layout objects which
enable control of multiple objects simultaneously?
ANS: Frames
2]In Oracle Reports, which of the following procedure is used to specify the fill
pattern of an object?
ANS: SRW.SET_FILL_PATTERN
3]Which of the following processes the client requests, including user
authentication, scheduling caching and report distribution?
ANS: Reports Server
4]Which one of these is not a standard Reports Builder report type?
ANS: Break Report
5]On which hardware the Oracle Autonomous Database is built?
ANS: Oracle Exadata
6]In Oracle Reports,which of the following component of Data Model is used to
create computed columns?
ANS: Formula Clumns
7]Which of the following is one of the type of Oracle Report editor’s view?
ANS: Web Source
Paper Design View
Paper Layout View
(ALL)
8]In Oracle Reports,a Data Model can be shared by both paper and Web
Layout?
ANS: True
9]Which of the following is true about Format Triggers in Oracle Reports?
ANS: A Format Trigger is a c….. PLSQL.
10]Nang’s company is working on Oracle Database for Past 7years with their
own premise license.They have decided to migrate to cloud services and use
OADB.What type of license options will oracle provide to Nang’s company?
ANS:
11] State True or False.
While migrating to OADB, Nang realized that there is no need for any
installation as OADB comes pre installed on the EXADATA.
ANS:
12] In which of the following type of database, expected response time of an
data intensive operation will be in seconds?
ANS: OLTP
13]State True or False.
The services offering from Oracle Autonomous Database, ATP and ADB
make use of the same OCI setup in the back end.
ANS:
14]Which of the following can be considered as a best fit scenario where OLTP
systems can be considered?
ANS: Online Banking
Online Air Ticket Booking
Online Train Booking
(All)
15]In which of the following data warehouse type,loading data to target is done
before transformation?
ANS: ELT
16]Which of the following is considered as one of the characteristics of Data
Warehouse?
ANS: Subject Oriented
Time Variant
Integrated
(All)
17] Which of the following option is invalid to preview a report in reports
button?
ANS: Run Print Preview

18]Which of the following is used as a repository for creating various reports


and analytical solutions?
ANS: Data Warehouse

19]Which of the following option is invalid to preview a report in reports


button?
ANS: Run Print Preview

20]While creating computed columns in Oracle Reports,which property in the


property inspector needs to be considered to choose a Aggregate Function?
ANS: Function

21Which of the following can be created from Data Model view of a Oracle
Report?
ANS: Summary Column
Formula Column
Data Links
(ALL)
22]Which of the following component of Oracle 10g reports is used to deploy
and managed at applications that are developed using Oracle 10g Developer
Suite?
ANS: Oracle 10g Application Server.
23]Which of the following is not a component of report?
Ans: Frame
Repeating Frame
Field
Repeating Value 
24]Which of the following component of Oracle Report is treated as Web
Server incorporating an OpenSSL module to provide support for Secure Socket
Layers(SSL) and HTTP Secure Socket Layer(HTTPs)?
ANS: Oracle HTTP Server

25]While creating computed columns in Oracle Reports, which property in the


property inspector needs to be considered to choose a column?
ANS: Source

26]Which of the following is considered as an advantage of data warehouse?


ANS:
27]Which of the following is not an object of paper layout?
ANS:
28]Choose Yes/No.
Can we add a computed coloumn in the report after the report is created?
ANS: Yes.
29]In Oracle Reports,Which of the following consists of text and graphics that
Appear in a report each time it is run?
ANS: BoilerPlate
30]In Oracle reports, which of the following is a user defined column that gets
data from PL/SQL function or expression?
ANS: Formula Column
31] Which of the following is not a report module component?
ANS: Templates
32]In Oracle Reports,which one of these is a valid report builder file format?
ANS: .rdf
33]State: True or False.
Clarke assume’s that based on the nature of work he is doing in the Oracle
Autonomous Database,the OCI will automatically configure the database to
either Autonomous Data Warehouse(ADW) or Autonomous Transaction
Processing(ATP).
ANS: True
False

34]Which of the following operations are generally performed on OLAP


systems?
ANS: Roll-up
Drill-Down
Dice
(ALL)

35]Which of the following trigger type would be best fit for validating the user
input in oracle reports?
ANS: Validation Trigger

36]Nang’s company is working on oracle database for past 7 years.Their on-


premise database had migrated to cloud services and use OADB.Should they
move all the frontend application to the cloud as well?
ANS: Yes
No

37]Below are the options which define the three Design Principles of
Autonomous Database.
1.Self Recurring 2. Self Driving
3.Self Reparing 4. Self Securing
Which three are correct options
ANS: 2,3,4.
38]Which of the following bulletin is used to call a oracle report from the oracle
form?
ANS: Web.Show_Document()

39]Which of the following is the return type of format triggers in oracle report?
ANS: Boolean

40]In Oracle Reports, formula column names are prefixed by default with one
of the following?
ANS: CF_

41]In Oracle Reports,which of the following surround the layout objects which
enable control of multiple objects simultaneously?
ANS: Frames

42]Which of the following is a hierarchical browsing and eating interface that


enables user to locate and manipulate application objects quickly and easily?
ANS: Object Navigator.

43]Which of the following can be created from data model view of oracle
report?
ANS: Queries, Groups, Formula Columns, Summary Columns,
Placeholder Columns, System and User Parameters, and Data Links.

44]In Oracle Reports,which of the following is not a Data Model component?


ANS: BoilerPlate

45]Which of the following report style is a valid option that can be considered
while creating a report using oracle reports builder?
ANS:
46]Which of the following is not a Oracle Reports builder component?
ANS: Property pallette

47]In Oracle Reports, which of the following acts as placeholder for column
values?
ANS: Fields

48]In Oracle Reports, which of the following will allow programmer to create
routines like procedure, functions and packages?
ANS: Program Units

49]Which of the following type of database is used to perform analysis on


multi-dimensional data from various sources?
ANS: OLAP

50]Which of the following component process custom(JSP) report tags and


deliver information between HTTP server and report server?
ANS: Reports Servlet and JSP.

51]Which one of these is a component of Reports Builder?


ANS: Report Editor
Program Units
Templates
(ALL)

52]In Oracle Reports, which of the following is not a valid data source type?
ANS: HTML Query
53]In Oracle Reports module, all objects have certain properties. Which of the
following is the place where we can view and edit the properties?
ANS: Property Inspector

54]Which of the following is not a Report Module component?


ANS: Templates

55]Which component of reports services 10g is responsible for below actions?


1.Fetches data from the data source
2.Formats the report
3.Sends output to cache.
ANS: Reports Engine

56]which of the following triggers are available in Oracle Reports?Choose most


appropriate option. Choose most appropriate option.
ANS: Before Parameter Form
After Parameter Form
Before Report
(All of the above)

57]Which triggers are used dynamically to change the formatting attributes like
font and font style of any object on the report? Choose the most appropriate
option.
ANS: Format Triggers

58]Identify the report trigger that will fire first. Choose most appropriate option.
ANS: Before Parameter Form Trigger
59]Identify the report trigger that will be fired last.Choose most appropriate
option.
ANS: After Report Trigger

60]Which one of these are not components of Reports Builder?


Choose most appropriate option.
ANS: Object Navigator, Data Model, Layout Editor, Report Editor,
Property Inspector, Program Units, PL/SQL Editor, Templates, PL/SQL
Libraries.

61]Which of the following option in a Report Module can be used to view the
HTML content of a report?
ANS: Web Source

62]Reports Architecture includes


ANS: 1]Oracle 10g Products
2]Oracle Report Services
3]Reports Services Architecture

63]Oracle 10g Products consists


ANS: 1]Oracle 10g Database
2]Oracle 10g Application Server (Oracle10g AS)
3]Oracle 10g Developer Suite(Oracle 10g DS)

64]Oracle 10g Database


ANS: 1]This manages all information and creates integrity constraints.
2]These constraints can be automatically reused by Oracle 10g
Developer Suite tools.
3]This reduces the amount of manual coding.

65]Oracle 10g Application Server (Oracle 10g AS)


ANS: 1] This is used to deploy and manage all applications that are
developed using Oracle 10g Developer Suite.
2]It contains Oracle 10g Forms Services that is used to deploy form
applications.

66]Oracle 10g Developer Suite (Oracle 10g DS)


ANS: 1] This uses the features of Oracle 10g Database and Application
Server to quickly build scalable, secure, and reliable e-business
applications.
2]The Suite provides complete and highly productive development
environment for building applications.
3]The Suite includes Oracle 10g Forms Developer that is used to
build Forms applications and Oracle 10g Reports Developer that is
used to create customized reports.

67]Oracle Report Services


ANS: 1] It is a component of Oracle 10g Application Server.
2]This component is used to deploy Oracle Reports Developer
applications on the internet.

68]Report Services Architecture


ANS: The Report Services Architecture consists of five major components.
1]Oracle 10g as HTTP Server: i]This is the Web Server
incorporating an OpenSSL module to provide support for Secure
Socket Layers (SSL) and HTTP Secure Sockets Layers (HTTPS).
ii]It also provides a servlet engine to support the running of Java
Servlet applications.
2]Reports Servlet and JSP: These components process custom (JSP)
report tags and deliver information between HTTP server and
Report server.
3]Reports Server: It processes client requests, including user
authentication, scheduling, caching, and report distribution.
4]Reports Engine: The Reports Engine fetches data from the data
source, formats the report, sends output to cache, and notifies the
Reports Server that the job is ready.
5]Reports Cache: The Reports cache stores the completed jobs.

69] Benefits of Oracle 10g Developer Suite


ANS: 1] Oracle 10g Developer Suite is optimized for the Oracle 10g
Database and Oracle 10g Application Server.
2]It provides flexible and scalable solutions for Data Warehousing
and Business Intelligence.
3]It provides a standard Java and XML Integrated Development
Environment (IDE) and supports the full application development
lifecycle.
4]It combines the power of Oracle Application Development tools
and Oracle Business Intelligence tools.
70]Oracle Reports Developer
ANS: 1] Oracle 10g Reports Developer is an enterprise reporting tool. This
enables businesses to give immediate access to information to all levels
within and outside of the organization in a scalable and secure
environment.
2]Oracle Reports Builder is one of the components of Oracle 10g
Reports Developer.
3]Oracle 10g Reports Developer is the solution for Web and paper
publishing that enables you to publish any data in any format (PDF,
HTML, printed, XML) to any destination (Web, Portal, e-mail, file)
in an efficient manner.
4]Oracle9i Reports Developer delivers high quality information to
users with only an Internet browser in open Internet document
standards.
5]The goal of Oracle9i Reports Developer is to be the universal
publishing solution of choice for any publishing need within an
organization.

71]Components of Oracle Report Builder


ANS: i]Reports Builder interface enables you to create several different types of
modules.
ii]It provides a Report Editor in which the structure and objects can be viewed
in the Report Module.
iii]Oracle Reports Builder consists of the following:
1]Object Navigator - It is a hierarchical browsing and editing interface that
enables user to locate and manipulate application objects quickly and easily.
2]Data Model - A data model should be defined to specify the data for the
report.
3]Layout Editor - It is used to create the structure and format of the report.
4]Report Editor - It contains different views to handle the data objects and
layout objects for Web and Paper objects.
5]Property Inspector - All objects in the module have certain properties. These
properties are viewed in the Property Inspector.
6]Program Units - It enables you to create program units like procedures,
functions, and packages.
7]PLSQL Editor - It enables you to write the implementation logic and
compile the program units within the Program Unit.
8]Templates - It contains the predefined common style, standards, and
graphics. It provides a standard format to enable quick and easy development of
professional standard look and feel reports.
9]PLSQL Libraries - It is a stand-alone library that contains PL/SQL program
units that can be called from multiple reports.

72]Types of Reports
ANS: The report style closely resembles the report that needs to be created.
There are eight default layout styles provided:
1]Tabular - This report structure contains a single group, where the headings or
labels appear once above each field.
2]Group Left - In this report style, the output is displayed as columns across
the page with the groups next to each other.
3]Group Above - In this report style, the output is displayed with the groups
below each other nested within the parent group.
4]Matrix - It displays a group of Master records down the page and across the
page, with the group of detail summary calculations.
5]Matrix with Group - It consists of data grouped on a single value. A matrix
is created for each group.
6]Form - It displays data with the labels on the left of the report, with the
values on the right.
7]Form Letter - It displays the data with the outline in letter format.
8]Mailing Label - It allows users to create mailing labels containing the address
information.
73]Steps to create report
ANS: The following three steps are involved in creating a report:
1.Creating a new report definition: A new report can be created in two ways:
— Using the Report Wizard
— Creating the report manually
2. Defining the Data Model: A Data Model should be defined to specify data
for the report.
3. Specifying the layout of the report: A report layout must be defined after
defining the Data Model.

74]Report Layout contains


ANS: 1] Frames - The frames surround the layout objects, which enable
control of multiple objects simultaneously. It ensures that the layout objects
maintain their positions relative to each other in the output.
2]Repeating Frames - The repeating frames act as a placeholder for
groups.They act as repeating group and present rows of data retrieved
from the database. Repeating frames repeat as often as the number of
rows retrieved.
3]Fields - The fields act as placeholders for column values. They define
the formatting attributes for all the columns displayed in the report. A
field can be placed inside the frame or repeating frames.
4]BoilerPlate - Boilerplate consists of text and graphics that appear in a
report each time it is run. For example, a label appearing above a column
of data is boilerplate text. The graphics drawn in the layout as well as text
added to the layout are called boilerplates.
75]Report Editor
ANS: Report Editor is a work area in which the objects can be
manipulated in the report directly or by changing properties in the
Property Inspector.
The Report Editor window allows user to navigate between different views
of the report.
The views are:
• Web Source view
• Paper Design view
• Paper Layout view
• Data Model view
• Paper Parameter Form view

76]Web Source View


ANS: The Report Editor's Web Source view displays the source code for
the JSP-based Web report, including HTML, JSP, and XML tags.

77]Paper Design View


ANS: The Report Editor's Paper Design view is a work area, in which
paper report can be previewed and manipulate the actual, or live, data at
the same time.

78]Paper Layout View


ANS: The Report Editor's Paper Layout view is a work area in which the
format of the paper report can be modified.

77]Data Model View


ANS: The Report Editor's Data Model view is a work area in which data
model objects (queries, groups, formula columns, summary columns,
placeholder columns, system and user parameters, and data links) can be
created, defined, and modified to be used in the report.
78]Paper Parameter Form View
ANS: The Report Editor's Paper Parameter Form view displays the layout
of the Parameter Form that, at runtime, allows user input of parameter
values in the Runtime Parameter Form.

79]Components of Data Model


ANS: 1]Queries
2]Groups
3]Data Columns
4]Formula Columns
5]Summary Columns
6]Data Links

80]Queries
ANS: Queries are SQL SELECT statements that fetch data from the
Oracle database. These statements are fired each time the report is run.

81]Groups
ANS: Groups determine the hierarchy of data appearing in the report.
They are primarily used to group columns selected in the query. Oracle
report automatically creates groups for each query.

82]Data Columns
ANS: Data columns contain the data value for the report. Oracle reports
automatically creates the data columns that correspond to the table
columns included in the query's SELECT list.
83]Formula Columns
ANS: Formulas are entered in the formula columns to create computed
columns. Formulas are written using the PL/SQL syntax. To distinguish
the formula columns from the data columns, the formula column names
are generally preceded by CF_.

84]Summary Columns
ANS: Formulas are entered in the formula columns to create computed
columns. Formulas are written using the PL/SQL syntax. To distinguish
the formula columns from the data columns, the formula column names
are generally preceded by CF_.

85]Data Links
ANS: Data links are used to establish parent-child relationships between
queries and groups via column matching.

86]Tabular Report Steps


ANS: Perform the following steps to create a tabular report:
1)Create a new report definition
2)Specify the default report layout
3)Connect to the database and select the data columns
4)Save and run the report
5)View the report output

87]Starting the OC4J Instance


ANS: Steps for starting the OC4J Instance:
Click Start → Programs → Oracle Developer Suite → Reports
Developer → Start OC4J Instance
88]Starting the report Builder Tool
ANS: Oracle Developer Suite: DevSuiteHome1 → Reports Developer →
Reports Builder

89]Master-Detail Report
ANS: Master-Detail reports are like break reports in the way the data is
fetched.
For every master related detail records are fetched.
This report contains two groups of data i.e.,
Master Group and Detail Group.
For each master record fetched, only the related detail records are
fetched.

88]Report Layout
ANS: The Report Wizard prompts to choose a layout for the report. The
options are:
1]Web and Paper Layout (Default Option)
2]Web Layout only
3]Paper Layout only

89]Report Style
ANS: Tabular is default option

90]Data Source
ANS: SQL Query is default option.
Other Option → Express Server Query, JDBC Query, OLAP Query,
Text Query, XML Query.
91]Connecting to the Database
ANS: Click the Query Builder button. It displays the connection setting
dialog box.

92] Template for the Report (Predefined Template)


ANS: Beige, Blue, Gray, Green, Peach, Wine.

93]Break Report
ANS: Break Report is created when repeating values for a column have to
be printed only once.
Break Reports are effective only when the select statement includes a
column called as a break column containing at least one value which
repeats over multiple records.

94]Matrix Report
ANS: A Matrix Report is a Summary Report, that presents the desired
data with heading across the top and the left side.
Matrix Report data is displayed at the intersection of the top and left
heading.
The totals are displayed across the bottom and right side.
A Matrix Report is also referred as Cross-Tab Report.

95]Parameterized Reports
ANS: Parameters are variables for the reports that accept input from the
user at runtime
These parameter values can then be used in the SQL statement to
retrieve data conditionally
There are two types of Parameters:
1]System Parameter: Which Oracle Reports automatically creates at runtime.
2]User-Defined Parameters: Are created by the users to accept user-input.
96] Press “F5” to display the Object Navigator.

97]Press “F4” to display the Object Inspector.

98]Computed Columns
ANS: Computed columns calculate values based on either PL/SQL
expressions or on the data provided by database columns.
The following two types of computed columns can be added to the report:

99]Formula Columns
ANS: They compute the values using PL/SQL expressions. They can
operate on multiple values per record (Example: sal + comm).

100]Summary Columns
ANS: They compute the values using built-in functions of Oracle Reports.
They operate on one value over multiple records (Example: sum of sal).

101]Purpose of PL/SQL Triggers in a Report


ANS: Oracle Reports Builder enables the use of PL/SQL code blocks.
If conditional logic is required in a report, PL/SQL code constructs are
added in the report.

102]Types of Triggers
ANS: ✓ Formula Triggers

✓ Format Triggers

✓ Validation Triggers
✓ Report Triggers
103]Formula Triggers
ANS: They are PL/SQL functions that populate columns of the type
Formula.
• A PL/SQL function is required for any column of the type Formula.
• The data type of the Formula column determines the return data
type for the Formula trigger.

104]Format Triggers
ANS: They are PL/SQL functions that populate columns of the type
Formula.
• A PL/SQL function is required for any column of the type Formula.
• The data type of the Formula column determines the return data
type for the Formula trigger.

105]Validation Triggers
ANS: They are PL/SQL functions that are executed when a parameter
value is entered, and the cursor moves to the next parameter.
• These triggers are used to validate parameter values.

106]Reports Trigger
ANS: They enable execution of PL/SQL functions at specific times during the
execution and formatting of a report.
• Oracle reports have following five global Report triggers.
The trigger name indicates at which point the trigger fires:
✓ Before Parameter Form
✓ After Parameter Form

✓ Before Report
✓ Between Pages
✓ After Report
107]Before Parameter Form
ANS: It is fired before the Runtime Parameter Form is displayed.
From this trigger, the values of parameters, PL/SQL global variables
and report-level columns are accessed and manipulated, if required.
This trigger fires irrespective of whether the Runtime Parameter
Form is displayed or not.

108]After Parameter Form


ANS: It is fired after the Runtime Parameter Form is displayed.
From this trigger, parameter values are accessed and their values are
validated.
This trigger fires irrespective of whether the Runtime Parameter
Form is displayed or not.
Columns of the Data Model are not accessible from this trigger.

109]Before Report
ANS: It is fired before the report is executed, but after the queries are
passed and data is fetched.

110]Between Pages
ANS: It is fired before each page of the report is formatted except the very
first page.
It is used for customized page formatting.
In the previewer, this trigger only fires the first time the page is
formatted.
If the user subsequently returns to the page, the trigger does not fire
again.
111]After Report
ANS: It is fired after the Report Previewer is exited or after report output
is sent to a specified destination like file or printer.
This trigger always fires whether or not the report completed
successfully.

112]The Formula Trigger is created with the name of the Formula Column
followed by the reserve word formula.

113]Enter the formula in the PL/SQL code as return: sal + NVL(Comm,0);

114]SRW Package
ANS: The SRW built—in package consists of a collection of procedures,
exceptions, and functions that can be used for various purposes.
One of the important purposes of this is formatting.

115] SRW.SET_FONT_FACE
ANS: This procedure specifies font face for a CHAR, DATE, or NUMBER
field. SRW.SET FONT FACE
• Syntax: SRW.SET_FONT_FACE('face');
• Where face is the name of the font.

116]SRW.SET_FONT_SIZE
ANS: • This procedure specifies the font size for a CHAR, DATE, or
NUMBER field. SRW.SET FONT SIZE
• Syntax: SRW.SET_FONT_SIZE(size);
• Where size is the size of the font.
117]SRW.SET_FILL_PATTERN
ANS:• This procedure specifies the fill pattern of the object. SRW.SET
FILL_PATTERN
• Syntax: SRW.SET_FILL_PATTERN('pattern');
• Where pattern is solid or transparent.

118]SRW.SET_FOREGROUND_FILL_COLOR
ANS: •This procedure specifies the foreground fill color of the object.
• This procedure has to be used after SRW.SET_FILL_PATTERN has
been set to 'solid' else the color will not be displayed in the report.
• Syntax: SRW.SET_FOREGROUND_FILL_COLOR('color');
where color is the name of the color to be applied.

119]SRW.SET_TEXT_COLOR
ANS: • This procedure specifies the global text color of the CHAR, DATE,
or NUMBER field.
• Syntax: SRW.SET_TEXT_COLOR(‘color’);
where color is the name of the color to be applied.

120]To create a Validation Trigger, first create a Parameterized Report.

121]Create a Report Trigger


ANS: Create a Report Trigger that shows the name of the user who executed the
report and the date on which the report was executed.
TO create a Report Trigger, first create a Tabular Report.
122]What is Business Intelligence
ANS:

123]What is Data Warehouse


ANS:

124]ETL
ANS: The typical functions of ETL based data warehouse.
1]Staging
2]Data Integration
3]Access Layers

125]ELT
ANS: 1]Whereas in ELT based data warehouse, it does not use a separate ETL
tool for doing transformation.
2]In ELT, Loading will be done before transformation.
126]ETL Based Architecture
ANS:

127]ELT Based Architecture


ANS:

128]Data Warehouse Characteristics


ANS: 1]Subject-Oriented
2]Integrated
3]Time-Variant
4]Nonvolatile
129]OLTP
ANS:

130]OLAP
ANS:
131]OLTP vs OLAP
ANS:

132]Database vs Data Warehouse


ANS:
133]Data Mart vs Data Warehouse
ANS:

134]Data Lake vs Data Warehouse


ANS:
135]Advantages of Data Warehouse
ANS:

136]What is Oracle Data Integrator?


ANS:
137]ETL vs ELT
ANS:

138]ODI Components
ANS:
139]Repository and its types
ANS:

140]Object Studio Navigator


ANS:
141]Runtime Components:Agent
ANS:

142]ODI Features
ANS:
143]ODI Benefits
ANS:

Data and Database (its management)

Load on Database Administrators


Challenges that Enterprises are facing today

Manual Intervention in Managing the Data


Reduce Manual Intervention and Increasing Innovation
What is an Autonomous Database
The foundation for OADB includes
One Autonomous Database – Two Editions Based on Workload
ADW(Autonomous Data Warehouse)

ADW - Benefits
ATP – Autonomous Transaction Processing

ATP - Benefits
Autonomous Database 2 Deployment Options
Shared Exadata Infrastructure

Dedicated Exadata Infrastructure


The Three Design Principles of Autonomous Database

Self-Driving
Self-Securing

Self -Repairing
Oracle Cloud Infrastructure -OCI

Features -Oracle Cloud Infrastructure- OCI


Automating Database Technology
Step for getting in to OADB – Migration to OADB - Workflow

Determine Workload Type for the Database


Provision the Database
Loading / Maintaining Data to ADB

Autonomous Database Application Migration


1)You can overload subprograms if their formal parameters differ only in numeric data type.PL/SQL looks for matc
hing numeric parameters in which order?
A) 1.PLS_INTEGER 2.NUMBER 3.BINARY_FLOAT 4.BINARY_4.DOUBLE
B) 1.BINARY_DOUBLE 2.BINARY_FLOAT 3.PLS_INTEGER 4.NUMBER
C) 1.NUMBER 2.PLS_INTEGER 3.BINARY_FLOAT 4.BINARY_DOUBLE
D) THere is no such ordernin which it looks
ANS-A
2)PL?SQL Exception message consists of which of the following parts?A. Type of Exception B.Error Code C.Error
Message
A)Only A
B)Only B
C)Only A and C
D)A,B and C
ANS-D
3)How many IN arguments procedure DBMS_LOCK.SLEEP has?
A)0
B)1
C)2
D)It can have any number of arguments
ANS-B
4)What will be the output of the following code snippet?
DECLARE
Time TIMESTAMP(3);
BEGIN
Time:='15-SEP-2013 07:48:53.275';
DBMS_OUTPUT.PUT_LINE(TO_CHAR(Time));
End;
A)15-SEP-13 07.48.53.275 AM
B)15-SEP-2013 07.48.53.275 AM
C)15-SEP-.
13 07.48.53.275
D)15-SEP-13 07.48.53.275 PM
ANS-A
5)Which of the following is considered as the best practice whiledesigning trigger?
a)Use triggers to ensure that whenever a specific event occurs,any necessary actions are done(regardless of which us
er or application issues the triggering statement).
b)Do not create triggers that duplicate database features.
c)Do not create triggers that depend on the order in which a SQL statement processes rows(which can vary).
d)Use BEFORE row triggers to modify the row before writing the row data to risk.
e)Use AFTER row triggers to obtain the row ID and use it in operations.
f)Do not create recursive triggers.
g)Use DATABASE triggers judiciously.They fire every time any databases user initiates a triggering event.
A)a,b,c,d,e,f
B)a,b,c,d,e,f,g
C)a,c,d,e,f,g
D)c,d,e,f,g
E)a,b,c,d,f,g
ANS-B
6)Which of the following is false about parameterized cursors.
A)Parameters allow values to be passed to a cursor when it is opened and used within the query when it executes
B)These can be opened more than once in a block,by passing different sets of values each time
C)The datatype of the parameters are same as those for scalar variables,but are not given sizes and scales
D)The parameters are treated like PL/SQL,variables within the cursor's query expression
E)None of the above
ANS-
7)Oracle error after installing or upgrading to a new databses that occurs when attempting to connect before Orcale h
as been started.This error states "Oracle not available".
A)ORA-01034
B)ORA-01555
C)ORA-04031
D)ORA-12154
E)ORA-29516
ANS-A
8)Which of the functions are used in WHEN OTHERS exception handler
A)SQLCODE
B)SQLERRM
C)SQLERRNUM
D)ROWNUM
E)None of these
ANS-A and B
9)What is the output of the following code snippet?
DECLARE
SUBTYPE p_integer IS PLS_INTEGER RANGE-11..11;
y_axis p_integer;
PROCEDURE test(x_var IN p_integer)IS
BEGIN
DBMS_OUTPUT.PUT_LINE(x_var);
END test;
BEGIN
y_axis:=13;
test(12);
END
A)Program executes successfully and prints MORE THAN TEN CHARACTERs
B)ORA-06501: PL/SQL:numeric or value error
C)program fails as NULL can be assigned to VARCHAR2
D)Program fails as NULL v_letter cannot be recognised inside procedure
ANS-B
10)Which of these is not a predefined PL/SQL Character Data Types?
A)NCHAR
B)NRAW
C)RAW
D)NVARCHAR
ANS-B
11)YOu have two triggers on the table.When you drop the table:A.ALLtriggers on a dropped table will remain in the
system but would return an error when used. B.All triggers on a dropped
table have been dropped as well.C Dropping a Trigger totally depends on whether the Trigger is on the statement or
a row level.
A)Only A
B)Only B
C)Both A and c
D)Both B and C
ANS-option B(Only B)
12)User-defined functions can be used in:A.Check constraints B.Indexes C.Virtual colums
A)only B
B)only C
C)Both B and C
D)BOth A and C
ANS-option C(Both B and C)
13)Ram developed the following code:What will be the output of above code?DECLARE
l_variable SIMPLE_DOUBLE:
BEGIN
l_variable:=NULL;
dbms_output.put_line('Result is'||l_result);
END;
A)Program Executes Successful and displays Resukt is.....
B)Program fails as ther is a syntax error while assigning NULL
C)Program fails as there is no datatype like SIMPLE_DOUBLE
D)Program fails as SIMPLE_DOUBLE cannot hold NULL values
ANS-D
14)Which of following auditing types can be used as the simplest way to audit procedure Execution?A. Schema obje
ct auditing B.Priviledge auditing C.Statement auditing
A)Only A
B)Only B
C)Only C
D)Both B and C
ANS-Option C
15)To define independent block,you use which of the following Compiler directive pragma?
A)AUTONOMOUS_BLOCK
B)AUTONOMOUS_TRANSACTION
C)INDEPENDENT_BLOCK
D)AUTONOMOUS_STRING
ANS-B
16)Which system privilege enables someone to execute anyusers's function in database?A.Execute any procedure B
>Execute any function C.Execute any unit
A)only A
B)only B
C)both B and C
D)Both A and B
ANS-option D
17)You have been asked to look employee table using LOCK TABLR statement in a specified lock mode so that to
allow concurrent access to a table;they prevent other users
from locking the entire table for exclusive use.Which type of lock you will use here?
A)LOCK TABLE employee IN ALLOW SHARE MODE NOWAIT;
B)LOCK TABLE employee IN TABLE SHARE MODE NOWAIT;
C)LOCK TABLE employee IN ROW SHARE MODE NOWAIT;
D)There is not such lock
ANS-C
18)What are database triggers?Please select all the correct answers
A)Set of PLSQL package
B)Set of PLSQL function
C)Set of code fires automatically after DDL operations performed
D)Set of code fires automatically after DML operations performed
E)Set of code fires automaticalyy before DML operations performed
ANS-B,C,D,E
19)Native Dynamic SQL has been integrated into the PL/SQL language by adding one new statement ___________
_,which executes a specified SQL statement immediately by enhancing
the OPEN FOR statements
A)Open For
B)Execute Immediate
C)Execute Immediate and Open for
D)None of the above
E)All of the above
ANS-B
20)Which of the following is true about bind variables
A)Bind variables are also called non-PL/SQL variables
B)Bind variables are also calles PL/SQL variables
C)These variables are declared in the host environment such as SQL Plus
D)They can be referenced in PL/SQL statements,by prefixing the colon(:)before the variable name
E)They can be referenced in PL/SQL statements,by suffixing the colon(:)after the variable name
ANS-A,C,D
21)Which of the following is true about LOBs.A LOB can be
Ans-A,B and C
A)An attribute of a user-defined type
B)A column in a table
C)A bind or host variable
22)When you normalize a relation by breaking it into two similar relations,what must you do to maintain data integri
ty?
ANS-*Link the relations by a common field
*Create a primary key(s) for the new relation
23)In which of the following scenarios,you cannot overload subprograms
ANS-*You cannot overload two subprograms if thier formal parameters differ only in subtype and the different subt
ypes are based on types in the same family(...)
*Two functions that differ only in return type,even if the types are in different families
24)Which of these is a procedure(PL/SQL block) that contains the SQL statements and PL/SQL code to be executed
?
ANS-Trigger Action
25)What will be the outcome of the following code?
DECLARE
BEGIN
NULL;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT>PUT_LINE
(Here is the code);
END;
ANS-COde will fail due to un-handled exception
26)TO handle error comditions(typically ORA messages)that have no predefined name,you must use which of the fo
llowing?
ANS-EXCEPTION_INT
27)What will be the outcome?
DECLARE
marks NUMBER;
Subject NUMBER;
BEGIN
Marks:=100;
Subject:=4;
IF marks>30 THEN
marks:+35;
ELSIF subject<5 THEN
marks:=marks-2;
END IF;
CASE marks
WHEN 100 THEN DBMS_OUTPUT_LINE('EXCELLENT');
WHEN 90 THEN DBMS_OUTPUT_LINE('Very Good');
WHEN 80 THEN DBMS_OUTPUT_LINE('Good');
WHEN 33 THEN DBMS_OUTPUT_LINE('Fair');
WHEN 30 THEN DBMS_OUTPUT_LINE('Poor');
END CASE;
ANS-Code fails due to exception RAISE CASE_NOT_FOUND
28)You have written a code which fails due system failure with disk storage or memory which has no relation......
ANS:- Handle named exceptions whenever possible, instead of using when others in exception handlers.
29)What can cause a high value for recursive calls?
ANS:- 1)A high value for recursive calls is cause by improper cursor usage
2)Due to excessive dynamic space management actions
3)Due to excessive statement re-parses.
30)The technology applies the resources of many computers in a network to a single problem at the same time-ususa
lly to scientific or technical problem.....
ANS:-Grid computing
31)What type of index is recommended for a materialzed view containing only joins...
ANS:-An index on the Rowid's of each of the tables used in the join.
32)Gaps in sequence values can occur when?
ANS:-1)A rollback occurs
2)The system crashes
3)A Sequence is used in another table
33)Complete the following and choose the correct option
PACKAGE pich_pkgu
iS
my_flag BOOLEAN = TRUE
END;
which of the following will display true
ANS;- "BEGIN
DBMS_OUTPUT_LINE(case WHEN pich_pkg.my_flag THEN 'TRUE' END);
END;"
34)Which of the following is true about functions when called from SQL statements
ANS:-1)When called from INSERT,UPDATE or DELETE statement function cannot query or modify any databas
e tables modified by that statement
2)When called from a SELECT,INSERT,UPDATE or DELETE statement the function cannot execute SQL tra
nsaction control statements..................
35)Which of the following data dictionary views can you use to get dynamic statastical information about queues?
ANS:-ALL_QUEUES
36)Explain Plan help developers which of the following ways
ANS:-1)Ensure that the the tables are joined in optimal order
2)Determine the most restrictive indexes to fetch the rows
3)Determine the Best internal join method
4)Determine that the SQL is executing the steps in the optimal order.
37)Which of the following is a restriction or cursor variable
ANS :- a)you cannot declare cursor variables in apackage specification
b)You cannot use comparison operators to test cursor variables for equality,inequality,nullity.
38)When the database detects an event the Trigger mechanism executes the action specified in the trigger.The action
can include publishing the event to a queue.........
ANS:-DBMS_AQ_package
39)By default an anonymus block in which type of unit in terms of AUTHID Clauses?
Ans;-IR Unit (invoker)
40)Which of these Triggers can be defined only on views and not on table ?
ANS;-INSTEAD of
41)ACE's are evaluated in the order they appear in the ACL.which of the following is the outcome of evaluating in a
ccess control entry
ANS:- 1)The application privilege is granted
2)The application privelege is denied
42)When should you use oracle external tables VS Oracle SQL "Loader
ANS:-1)To transfer the data as it is being loaded into the database
2)To Load very larger files with large quantities of data
43)Which of the following is true about Real Apllication Security?
ANS:-1)Supports declaritive security policies
2)Enables end-to-end security for multitier applications resources
3)Provides an integrated solution to secure database and application resources
4)Advances the security architecture of oracle database to meet existing and emerging demands........
44)What are all the parameters recquired to execute DBMS_MVIEWESTIMATE_MVIEW_SIZE?
ANS;-1)stmt_id and select_clause in VARCHAR@ data type
2)NUM_rows and num_bytes as number data type
3)stmt_id and select_clause will be IN clause
45)which of the following is true about Pl SQL exceptions
ANS;-1)you cannot declare an exception twice in the same block
2) you can declare the same exception in two different blocks
3)exceptions declared in a block are considered local to the block and global to all it's sub blocks
Q. package can be altered using A.ALTER B.CREATE C.SYS built-in packages

Ans. Both A AND B

Q.Which of the following Can be used to replace in following procedure to enable successful
execution?
create procedure my_new_proc(cRES OUT varhar2) is begin execute immediate
A.select * from dual into cRES B. select * into cREs from dual C.begin Select* into value from
dual;end,using out cRES

Ans. Both A AND C

Q.Inside subprograms,which of the following parameters act like a constant

Ans. IN

Q.______ clause is used to specify a trigger to be a row level Trigger?

Ans. FOR EACH ROW

Q. The EXISTS operator tests for existence of rows in the results set of the subqurey. what happens
when a subqurey row value is found

Ans. THE CONDITION IS FLAGGED TRUE


THE SEARCH CONTINUES IN THE INNER QUREY

Q .Which of the following are used in WHEN OTHERS exception handler

A. SQLCODE
SQLERRM

Q.Evaluate the SQl statement How many roles will user scott have access to? CREATE ROLE clerk;

Ans. 1

Q. Which of these is not a predefined PL/SQL character Data Types?


Ans.NRAW

Q. Procedure debug info can be find in : A. ALL_OBJECTS B.ALL_PROCEDURES


C.ALL_PROBE_OBJECTS
Ans. A,B, and C

Q. Which is the default value of cursor_sharing?


Ans. Exact

Q. which of these is a type of trigger (Both A and B)


A. Application Trigger
B. Database Trigger
C. Package Trigger
Ans. Both A and B

Q. which of these require less storage space as compared to other datatypes?


A. PLS_INTEGER

Q. You have been asked to lock employee table using the LOCK TABLE… which type of lock you will
use here?

Ans. LOCK TABLE employee IN ROW SHARE MODE MOWAIT;

Q. User-defined functions can be used in: A. Check Constraint B. Indexes C. Virtual columns
Ans. Both A and C
Q. How you can reduce or minimize network traffic when passing Host Cursor Variables to PL/SQl?
Ans. You can reduce network traffic by grouping OPEN_FOR statements

Q. Which of the following statements are allowed to be executed by Dynamic SQL


Ans. CREATE,DROP
ALTER
RETURNING INTO Clause

Q. which of the following is true about LOBs. A LOB can be


Ans. An attribute of user defined data type
A coloumn in a table
A bind or host variable

Q. Which of the following is true about bind variables ?


Ans. These Variables are declared in the host environment, such as SQL Plus
They can be referenced in PL/SQL statements, by prefixing the colon(:) before the variable
name
Q. When you normalized a relation by breaking it into two smaller relations, what must you do to
maintain data integrity?

Ans. Link the relations by common field


Create a primary key(s) for the new relation

Q. In which of the following scenarios, you cannot overload subprograms


Ans. 1.You cannot overload two subprograms if their formal parameters differ only in subtype
The different subtypes are based on types in the same family (Varchar and String)
Two functions that differ only in return type, even if the types are in different families.

Q. Which interface allow the DBA to administer that part …shared pool that is used SQL result cache
and PL/SQL function result cache?
Ans. DBMS_RESULT_CACHE package

Q. What is the out put of the following code snipper?


Ans. The sum of products equals: 166

Q. What impact does the below statement has on the rows in the table employee,department?
Ans. No Row is locked by this statement.

Q. When you retrieve into a ROWID variable, you can use which built-in function?
Ans. ROWIDTOCHAR

Q. you have been asked to use the dynamic SQL Statement that is a DMl statement with a
RETURNING INTO clause. What will you do with the bind variables?
Ans. Put in-bind arguments in the USING clause and out-bind arguments in the RETURNING INTO
clause.

Q. Which will be the outcome of the following code?


Ans. Code will fail due to un-handled exception.

Q. You have written a code which fails due system failure with disk storage or memory which has no
relation how you will handle these type of situations?
Ans. Handle named exceptions whenever possible, instead of using WHEN OTHERS in exception
handlers.

Q. Compile the following package and chose the correct option


Ans. BEGIN DBMS_OUTPUT.PUT_LINE (plch_pkg.my_flag);

Q. Which of the following is true about functions when called from SQL statements.
Ans. When called from INSERT,UPDATE, or DELETE statement, function cannot query or modify any
database tables modified by that statement
When called from SELECT, INSERT ,UPDATE OR DELETE ……….ALTER SYSTEM

Q. Which of the following is true about the WHERE CURRENT OF clasue is CURSORS
Ans. IF A CURSOR IS DECLARED…
THIS ALLOWS UPDATES….
THIS CLAUSE EVALUATES TO THE ROW…….

Q. oracle generates Bytes code for PLSQL Program unit when:


Ans. PLSQL_CODE_TYPE is set to INTERPRETED

Q. Which features are a part of the procedures in the DBMS_STATS package that are not used by the
ANALYZE command?

Ans. Parrlel,external,storing execution,forcing

Q. SYS PACKAGE UTL_RECOMP IS USED…….A.RECOMPILE CAN… B.Package must be… C. package do


not support..
Ans. BOTH A AND B
Q. Which of the packages are used for correcting blocks corrupted in the database?
Ans. DBMS_REPAIR

Q. Procedure compile_schema is a part of which SYS Package?


Ans. DBMS_UTILITY

Q. which of the following are the advantages of Application sessions


A. Application session encapsulate
They enable applications…
An application session can be………
They are accessible by all nodes……..

Q. Which of the following is true about Real Application security


Ans. Supports declarative security …………
Enables end-to-end security…………
Provides an integrated….
Advances the security……..

Q. Which of the following is true about principals in real application security


Ans. Principals are users..
Principal I an..
Principal is a……

Q.Which of the following are the techniques for data masking


Ans. Condition-based Masking
Compound Masking
Deterministic Masking

Q.which of the following is true about plsql exceptions


Ans. You cannot…….
You can declare……..
You can raise………
Exceptions declared……….
You are looping through the result set and running another query or
a DML statement for each result row. You can probably find a more
efficient technique for DML statements. What will be that?
For DML, including sub-queries or EXISTS or NOT EXISTS clauses in
the original query.
Which of the following exception will be raised by Oracle PL SQL,
when you try to open a cursor inside the FOR loop?
CURSOR_ALREADY_OPEN
A table is being modified by an UPDATE, DELETE, or INSERT
statement, or a table that might be updated by the effects of a
DELETE CASCADE constraint is called?
Mutating table
Stored Procedure: A. must have at least one parameter B. can have
IN, OUT and IN OUT parameters together C. If has OUT parameter
must have IN parameter.
A, B and C
What is table level trigger?
Will not fire for each row
Will fire for only DDL command
Will not have old and new values
Which of the following is false about parameterized cursors?
Can be passed as a parameter to a procedure or function
You cannot remove a row if the view contains the following
Group functions
A group by clause
The DISTINCT keyword
The pseudocolumn ROWNUM keyword

Which of the functions are used in WHEN OTHERS exception handler?


SQL CODE
SQLERRM
Varrays are good choice when
Both 1 and 2
User-defined functions can be used in A. Check constraints B. indexes
C. Virtual columns
Both A and C
Which of these are the possible values which can be
enabled/disabled to alter the type of warnings that are produced?
A, B and C
Which of the following is not a subtype of PLS_INTEGER?
None of the given options
While running programs, it was found that a Triggering event was not
fired. On investigation, you found that Trigger is in invalid status.
Which of the following option you will use to make that valid?
COMPILE
Evaluate the SQL statement. How many roles will user Scott have
access to? CREATE ROLE clerk;
1
Where you can examine the dependencies of a Trigger?
ALL_DEPENDENCIES_View
Which of the following option helps the optimizer to avoid redundant
function calls?
DETERMINISTIC
Which of the database event uses attribute function
ora_server_error?
SERVERERROR
What is the difference between table level trigger and row level
trigger?
Row level trigger are fired for each row
Table level trigger are fired t one time
Which clause can be used in dynamic SQL if you want to query a
database in which data definitions of tables are constantly changing.
“EXECUTE IMMEDIATE Clause”
“USING Clause”
“RETURNING INTO Clause”
Which of the following is true for VARRAY?
Be indexed by non-integer
Preserve element order
Have elements selected individually in database
At this level of normalization, each column in a table that is not a
determiner of the contents of another column must itself be a
function of the other columns in the table.
2NF
When you normalize a relation by breaking it into two smaller
relations, what must you want to do maintain data integrity?
Link the relations by a common field
Create a primary key for the new relation
In which of the following scenarios, you cannot overload
Subprograms
You cannot overload two subprograms if their formal parameters
differ only in subtype and the different subtypes are based on
types are in the same family (VARCHAR and STRING)
Two functions that differ only in return type, even if the types are in
Different families.
When you retrieve a rowed into a ROWID variable, you can use
which built – in – function?
ROWIDTOCHAR
What will be the output of following code snippet? DECLARE
startdate TIMESTAMP(3) WITH LOCAL TIME ZONE;
BEGIN
Startdate:=’10-OCT-2013 09:42:37.114 AM +02:00’,
10-OCT-13 11.42.37.114 AM
Which interface allow the DBA to administer that part of the
Shared pool that is used by the SQL result cache and the PL/SQL
function result cache?
DBMS_RESULT_CACHE package
You have written a code which fails due system failure with disk
Storage or memory which has no relation with your code. You
want to still take corrective action.
Handle named exceptions whenever possible, instead of using
WHEN OTHERS in exception handlers
DECLARE
Marks NUMBER;
Subject NUMBER;
BEGIN
MARKS:=100
Subject : 4;
Code fails due to exception RAISE CASE_NOT_FOUND
The bounds of a loop range can be either literals, variables, or
expressions, but they must evaluate to numbers. Otherwise,
PL/SQL raises which predefined exception?
VALUE_ERROR
To handle error conditions (typically ORA- messages ) that have no
predefined name, you must use which of the following?
EXCEPTION_INIT
What will be the outcome of below code? DECLARE
Huge EXCEPTION;
Salary NUMBER : =20000;
Max_salary NUMBER : = 10000
Invalid_salary NUMBER;
Prints Salary is too huge.
What are all the restrictions in UPDATEBALE materialized view
Do not use column aliases when you are creating an updatable
Materialized view
Column aliases cause an error when you attempt to add the
materialized view to a materialized view group
An updatable materialized view based on a master table or master
materialized view that has defined column default values does not
A DELETE CASCADE constraint used with an updatable materialized
Which of the following conditions must exist for a materialized
view to be used in a query rewrite?
All of the above
What are all the previliges required to create the materialized view
As “CREATOR” when the creator owns the materialized view
CREATE MATERIALIZED VIEW, CREATE TABLE, CREATE VIEW
CREATE ANY MATERIALIZED VIEW, CREATE ANY TABLE, CREATE
SELECT previlege on the master
SELECT ANY TABLE on the master
What is complex materialized view
CONNECT BY clause is included in the statement
An INTERSECT, MINUS, or UNION ALL set operation is included
The DISTINCT or UNIQUE keyword, is included in the statement
An aggregate function is included in the statement
“Compile the following package and chose the correct option
PACKAGE plch_pkg
IS
My_flag BOOLEAN: = TRUE:
END;
Which of the choices will display “”TRUE”” after execution?”
“BEGIN DBMS_OUTPUT.PUT_LINE(plch_pkg.my_flag);
END;”
Which of the following is true about functions when called from
SQL statements
When called from INSERT, UPDATE, or DELETE statement, function
Cannot query or modify any database
When called from a SELECT, INSERT, UPDATE, OR DELETE
statement, the function cannot execute SQL transaction
Which of the following is true about the WHERE CURRENT OF
Clause in CURSORS
If a cursor is declared FOR UPDATE and includes UPDATE and
DELETE statements that we can make use of WHERE CURRENT

This allows updates or deletes to be applied on the single row,


Which is currently being addressed
This clause evaluates to the row
In a PL/SQL code, while searching an exception is raised and does not
Find any handler for it in the current block or package. Now, what will
Happen in this case?
Exception is handled and resolved by application then next statement
Which features are a part of the procedures in the DBMS_STATS
Package that are not used by the ANALYZE command?
Parallel gathering of statistics, where possible
External storage of statistics
Storing execution plan in an outline
Forcing the use of the rule-based optimizer
Consider the following Table structure:
PRODUCT_ID NOT NULL NUMBER(6)
LANGUAGE_ID NOT NULL VARCHAR2(3)
TRANSLATED_NAME NOT NULL NVARCHAR2(50)
TRANSLATED_DESCRIPTION NOT NULL NVARCHAR2(2000)
Translate Granularity
Which of these Triggers can be defined only on views and not on
table?
A. BEFORE
B. AFTER
C. INSTEAD OF
ONLY C
In which of the following situations, LOGON Trigger will not fail?
Both A and B
Which of the following type of Cursor runs faster?
Implicit
You can create a data security policy that can be used for master_detail
related tables.
Multiple detail tables can inherit policies from one master table
Detail tables can inherit policies from other detail tables
One detail table can inherit policies from multiple master tables
This is the lookup table for determining where the RMAN backups reside
and when they were taken
Control File
Which is used to describe databases occupying magnetic storage in the
terabyte range and containing billions of table rows.
Very Large Database(VLDB)
Which of the following is true about Database roles?
A database role is traditionally thought
They are granted privileges just as database users
They serve as intermediaries for mapping databases privileges to
Which of the following is true about PLSQL exceptions?
You cannot declare an exception twice in the same block
You can declare the same exception in two different blocks
You can raise the same exception in two different blocks
Exceptions declared in a block are considered local to that block and
What is Mutating in the trigger? Please select all the correct answers
Same trigger is referred in more than one tables
A trigger is called by another trigger with same table name
A trigger is called by another trigger with different table name

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy