Do you want to become an Oracle Certified Associate (OCA)? Want to check how good is your practice level? The quiz below will help you to measure your competency level. So, what are you waiting for? Take this practice test and evaluate how strong your understanding of Oracle technologies is. The Oracle Certification Program provides professional certification to an individual See morewho has successfully passed all the tests offered by Oracle. Play this quiz, and your scores will tell you if you are ready to appear in this test or if you still need to work hard.
1
2
5
6
8
Rate this question:
Server only
System global area
Client applications only
Server and client applications
Rate this question:
The SUBPROGRAM keyword does not exist.
CALC_COMM must be invoked using the EXECUTE command.
CALC_COMM must be declared after all local variable declarations.
CALC_COMM must be declared before all local variable declarations.
Rate this question:
RUN find_seats_sold (v_theater_id => 500);
EXECUTE find_seats_sold (v_movie_id => 34);
EXECUTE find_seats_sold (v_theater_id => 500);
RUN find_seats_sold (v_movie_id => DEFAULT, v_theater_id => 500);
Rate this question:
Precision must be specified for VARCHAR2 arguments.
Each declared argument must have a mode specified.
An IN argument passes a value from a procedure to the calling environment.
Formal arguments allow you to transfer values to and from the calling environment.
Rate this question:
Parameters
Local variables only
Global variables only
Global and local variables
Rate this question:
The statement compiles, and the procedure is created.
The statement complies with errors because there is no exception handling.
The statement complies with errors because the body does not contain a SQL statement.
The statement complies, and the procedure is stored as a data dictionary object in the database.
Rate this question:
IN parameters must be initialized with a default value.
OUT parameters must be initialized with a default value.
IN parameters cannot be initialized with a default value.
IN OUT parameters cannot be initialized with a default value.
Rate this question:
Both timestamps of the local and remote procedures
The timestamp of the local procedure compilation only
The timestamp of the remote procedure compilation only
No timestamps, unless a reference is made to PRAGMA RESTRICT_REFERENCES
Rate this question:
Only direct dependent objects are affected.
Only indirect dependent objects are affected.
Only those dependencies that directly reference a database table are affected.
All direct and indirect dependent objects are affected.
Rate this question:
A procedure that updates a table is a dependent object.
A procedure that calls another procedure is a dependent object.
A table that is modified by a trigger is a dependent object.
A function that is called by another function is a dependent object.
A view that is queried by a procedure is a dependent object.
Rate this question:
Examine this procedure: CREATE OR REPLACE PROCEDURE calculate_budget IS v_budget studio.yearly_budget%TYPE; BEGIN v_budget := get_budget@proddb(11); IF v_budget < 30000000 THEN set_budget@proddb (11, 300000000); END IF; END; The dependency mode is set to TIMESTAMP. The local procedure, CALCULATE_BUDGET, was compiled yesterday at 8:00 a.m., after compiling the GET_BUDGET remote function. The GET_BUDGET remote function was recompiled at 4:00 p.m. today. What can be said about the subsequent executions of CALCULATE_BUDGET?
The first execution attempt will result in a recompilation and, if successful, will re-execute.
Unless the formal arguments of GET_BUDGET have changed, CALCULATE_BUDGET will execute without recompilation.
The first execution attempt will result in a runtime error. The second execution attempt will result in a recompilation and, if successful, will re-execute.
Rate this question:
Local dependent objects are on the same node in the same database.
Remote dependent objects are on the same node in the same database.
Local dependent objects are on different nodes in the same database.
Remote dependent objects are on the same node in different databases.
Rate this question:
The entire package body will be invalidated and will recompile upon the next execution.
The entire package body will be invalidated and must be manually compiled before the next execution.
The entire package specification will be invalidated and will recompile upon the next execution.
The entire package specification will be invalidated and must be manually compiled before the next execution.
Rate this question:
Never, but may be manually recompiled
The next time the SET_BUDGET procedure is analyzed
The second time the GET_BUDGET function is executed
The next time the CALCULATE_BUDGET procedure is executed
Rate this question:
Since the code references %ROWTYPE, no affect will be noticed.
The CALCULATE_BUDGET procedure would be marked valid and would automatically compile successfully upon the next execution.
The CALCULATE_BUDGET procedure would be marked invalid and would automatically compile successfully upon the next execution.
The CALCULATE_BUDGET procedure would be marked invalid and would automatically compile unsuccessfully upon the next execution.
Rate this question:
A direct dependency between SET_BUDGET and STUDIO only
A direct dependency between SET_BUDGET and CALCULATE_BUDGET only
A direct dependency between SET_BUDGET, CALCULATE_BUDGET, and STUDIO
A direct dependency between SET_BUDGET and CALCULATE_BUDGET, a direct dependency between SET_BUDGET and STUDIO, and an indirect dependency between CALCULATE_BUDGET and STUDIO
Rate this question:
Only SET_BUDGET is marked invalid.
Only GET_BUDGET and SET_BUDGET are marked invalid.
Only CALCULATE_BUDGET and SET_BUDGET are marked invalid.
All three are marked invalid.
Rate this question:
Define V_SEATS_SOLD as GROSS_RECEIPT.SEATS_SOLD%TYPE.
Define V_SEATS_SOLD using the PRAGMA EXCEPTION_INIT compiler directive.
Change V_SEATS_SOLD to be a formal argument rather than a local variable.
Define V_SEATS_SOLD using the PRAGMA RESTRICT_REFERENCES compiler directive.
Rate this question:
A change to the code of SET_BUDGET
A change to the code of GET_BUDGET
A change to the arguments of SET_BUDGET or GET_BUDGET
A change to the maximum length of the YEARLY_SALARY column of the STUDIO table
Rate this question:
USER_OBJECTS
USER_DEPTREE
USER_PACKAGES
USER_DEPENDENCIES
Rate this question:
DEPTREE
IDEPTREE
DEPENDENCIES
USER_OBJECTS
USER_DEPENDENCIES
Rate this question:
EXECUTE deptree_fill ('PROD.DEPARTMENT')
EXECUTE deptree_fill ('PROD', 'DEPARTMENT')
EXECUTE deptree_fill ('TABLE', 'PROD.DEPARTMENT')
EXECUTE deptree_fill ('TABLE', 'PROD', 'DEPARTMENT')
EXECUTE deptree_fill ('TABLE', 'PROD', 'DEPARTMENT')
Rate this question:
It will be marked as invalid
It will be recompiled at the next execution.
It will be recompiled at the second execution.
There is no effect.
Rate this question:
USER_OBJECTS
USER_RELATIONS
USER_DEPENDENCIES
USER_RELATIONSHIPS
Rate this question:
Displays all the direct dependencies on the EMPLOYEE table
Displays only the direct dependencies you created on the EMPLOYEE table
Displays the name of the indirect dependencies on the EMPLOYEE table
Displays the OWNER column to indicate the schema of any referenced objects
Rate this question:
DEPTREE
IDEPTREE
USER_IDTREE
USER_OBJECTS
USER_DEPENDENCIES
Rate this question:
All object types
Database triggers only
Tables, procedures, and functions only
Packages, procedures, and functions only
Rate this question:
A dependent procedure only directly references a view, sequence, procedure, or packaged procedure or function.
A dependent procedure only indirectly references a view, sequence, procedure, or packaged procedure or function.
A dependent procedure directly or indirectly references a view, sequence, procedure, or packaged procedure or function.
A dependent procedure neither directly nor indirectly references a view, sequence, procedure, or packaged procedure or function.
Rate this question:
Quiz Review Timeline (Updated): Aug 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.