Deck 8: Program Unit Dependencies
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/61
العب
ملء الشاشة (f)
Deck 8: Program Unit Dependencies
1
The %TYPE declaration instructs the system to assign the variable data type based on the underlying table column data type at runtime. _________________________
True
2
If granted appropriate rights, it is possible to call database objects from other schemas.
True
3
If modifications are made to the code in a package body, the status of dependent objects is changed to INVALID. _________________________
False
is not
isn't
is not
isn't
4
The USER_DEPENDENCIES data dictionary view provides information on direct object dependencies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
5
The user source utility is a mechanism available in the Oracle system to provide a map to visualize both direct and indirect dependencies within the database. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
6
Compiler directives are instructions used at run time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
7
When a procedure is compiled, it stores the datestamp of any referenced objects. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
8
When a program unit includes references to database objects that in turn reference other database objects, it is said to contain direct dependencies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
9
Remote database connections are used to link to another database and to call objects that exist on that database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
10
The timestamp model is not the default method and, if desired, needs to be set in the system using one of several commands available.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
11
A column named TIMESTAMP is maintained in the data dictionary and is included in the USER_DEPENDENCIES view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
12
The signature model cannot resolve the time issues of using the timestamp model.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
13
Only program unit header modifications require a recompilation of dependent objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
14
The dependency tree utility allows the user to review direct and indirect dependencies of an object in either numeric order or indented format.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
15
Compiler variables are used to enable compiler warning messages and conditional compilation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
16
Three classes of compiler warnings exist: info, performance and critical.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
17
The PLSQL_CCFLAGS parameter allows using onject-level flags in conditional compilation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
18
You can use the USER_OBJECT data dictionary view to review the source code of a procedure, function, or package.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
19
When a program unit refers to other database objects, the program unit is considered dependent on that object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
20
When you have successfully saved or compiled a procedure, the status is marked as VALID. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following statements is correct?
A) Data dictionaries are used to track remote dependencies.
B) Remote dependencies are checked at compile time.
C) Data dictionaries do not track remote dependencies.
D) If an object on one database is changed, any remote program units that use or depend on that object is immediately changed to an INVALID status.
A) Data dictionaries are used to track remote dependencies.
B) Remote dependencies are checked at compile time.
C) Data dictionaries do not track remote dependencies.
D) If an object on one database is changed, any remote program units that use or depend on that object is immediately changed to an INVALID status.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
22
____ allows a user to modify program units in any schema.
A) CREATE PROCEDURE
B) CREATE ANY PROCEDURE
C) DROP ANY PROCEDURE
D) ALTER ANY PROCEDURE
A) CREATE PROCEDURE
B) CREATE ANY PROCEDURE
C) DROP ANY PROCEDURE
D) ALTER ANY PROCEDURE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
23
The ____ view shows only the direct privileges of the current schema.
A) SESSION_PRIVS
B) SESSION_ROLES
C) USER_OBJECTS
D) USER_SYS_PRIVS
A) SESSION_PRIVS
B) SESSION_ROLES
C) USER_OBJECTS
D) USER_SYS_PRIVS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
24
The ____ system privilege allows users to create, modify, and drop program units within their own schema.
A) CREATE ANY PROCEDURE
B) ALTER ANY PROCEDURE
C) CREATE PROCEDURE
D) DROP ANY PROCEDURE
A) CREATE ANY PROCEDURE
B) ALTER ANY PROCEDURE
C) CREATE PROCEDURE
D) DROP ANY PROCEDURE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
25
Only modifications to the ____ can raise the INVALID status of dependent objects.
A) reference objects
B) package specification
C) package body
D) package dependencies
A) reference objects
B) package specification
C) package body
D) package dependencies
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
26
The SELECT * statement should be used when querying data from the database rather than a named column list. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which of the following commands correctly modifies Scott's rights on the bb_basket table?
A) GRANT SELECT, INSERT, UPDATE bb_basket TO scott;
B) GRANT SELECT, INSERT, ON bb_basket TO scott
C) GRANT SELECT, INSERT, UPDATE ON bb_basket;
D) GRANT SELECT, INSERT, UPDATE ON bb_basket TO scott;
A) GRANT SELECT, INSERT, UPDATE bb_basket TO scott;
B) GRANT SELECT, INSERT, ON bb_basket TO scott
C) GRANT SELECT, INSERT, UPDATE ON bb_basket;
D) GRANT SELECT, INSERT, UPDATE ON bb_basket TO scott;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____ is considered the default method of remote dependent objects.
A) signature model
B) datestamp model
C) timestamp model
D) record model
A) signature model
B) datestamp model
C) timestamp model
D) record model
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
29
If a dependent object has an older ____ than the referenced object when called, the dependent object is flagged as INVALID and needs to be recompiled.
A) signature
B) record
C) timestamp
D) datestamp
A) signature
B) record
C) timestamp
D) datestamp
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
30
____ instructs the system to assign the variable data type based on the underlying table column data type at runtime.
A) %SELECT
B) %ROWTYPE
C) %INSERT
D) %DATATYPE
A) %SELECT
B) %ROWTYPE
C) %INSERT
D) %DATATYPE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following is used by Oracle to determine invalidation of remote dependent objects at runtime?
A) datestamp model
B) record model
C) USER_OBJECT model
D) signature model
A) datestamp model
B) record model
C) USER_OBJECT model
D) signature model
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
32
____ allows users to create program units in any schema and does not allow the modification or dropping of program units.
A) CREATE PROCEDURE
B) CREATE ANY PROCEDURE
C) ALTER PROCEDURE
D) EXECUTE ANY PROCEDURE
A) CREATE PROCEDURE
B) CREATE ANY PROCEDURE
C) ALTER PROCEDURE
D) EXECUTE ANY PROCEDURE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
33
____ can be used to check the status of database objects.
A) USER_OBJECTS
B) USER_REFERENCE
C) USER_CHECK
D) USER_SOURCE
A) USER_OBJECTS
B) USER_REFERENCE
C) USER_CHECK
D) USER_SOURCE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
34
The utldtree.sql file is provided by Oracle and is run to set up the necessary tables, views, and procedures to use the dependency tree. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
35
A program unit is said to contain ____ when it includes references to database objects that in turn references other database objects.
A) remote dependencies
B) user_dependencies
C) direct dependencies
D) indirect dependencies
A) remote dependencies
B) user_dependencies
C) direct dependencies
D) indirect dependencies
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
36
____ shows only direct roles granted to the current schema.
A) SESSION_PRIVS
B) SESSION_ROLES
C) USER_SYS_PRIVS
D) USER_ROLE_PRIVS
A) SESSION_PRIVS
B) SESSION_ROLES
C) USER_SYS_PRIVS
D) USER_ROLE_PRIVS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
37
The ____ view can be used to review the source code of a procedure, function, or package.
A) USER_SOURCE
B) USER_OBJECT
C) USER_REVIEW
D) USER_DEPENDENCY
A) USER_SOURCE
B) USER_OBJECT
C) USER_REVIEW
D) USER_DEPENDENCY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
38
____ can be used to manually recompile invalid program units.
A) COMPILE
B) ALTER RECOMPILE
C) ALTER COMPILE
D) RECOMPILE
A) COMPILE
B) ALTER RECOMPILE
C) ALTER COMPILE
D) RECOMPILE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
39
When a procedure is compiled, it stores the ____ of any referenced objects.
A) datestamp
B) signature
C) timestamp
D) recordstamp
A) datestamp
B) signature
C) timestamp
D) recordstamp
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
40
The data dictionary contains information regarding ____.
A) timestamp information
B) signatures
C) datestamp information
D) user privileges
A) timestamp information
B) signatures
C) datestamp information
D) user privileges
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
41
Which of the following statements is True?
A) Modifications to a package body changes the status of dependent objects.
B) Modifications to a package body does not change the status of independent objects.
C) Modifications to a package header does not change the status of dependent objects.
D) Modifications to a package body does not change the status of dependent objects.
A) Modifications to a package body changes the status of dependent objects.
B) Modifications to a package body does not change the status of independent objects.
C) Modifications to a package header does not change the status of dependent objects.
D) Modifications to a package body does not change the status of dependent objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
42
Only modifications to the package specification or the program unit header section can raise the ____________________________ status of dependent objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
43
The ____________________________ compares the last modification date and time of objects to determine if invalidation occurs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
44
The ____________________________ is a mechanism available in the Oracle system to provide a map to visualize both direct and indirect dependencies within the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
45
The ____________________________ compares the mode, data type, and the order of parameters and the RETURN data type (for functions) when a remote object call is accomplished in order to determine invalidation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ____________________________ data dictionary view reveals all the privileges of the current schema.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
47
What can be used to conditionally raise a compile error and associate a custome error number with the error?
A) Selective error
B) Selection directive
C) Error directive
D) Error condition
A) Selective error
B) Selection directive
C) Error directive
D) Error condition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which compile statement option forces a program unit to retain the compilation settings from the previous compile action?
A) REUSE SETTINGS
B) RESET SETTINGS
C) REUSE PARAMETERS
D) REUSE COMPILER
A) REUSE SETTINGS
B) RESET SETTINGS
C) REUSE PARAMETERS
D) REUSE COMPILER
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
49
Which of the following compiler parameter will determine the code optimization techniques used?
A) PLSQL_OPTIMIZE_LEVEL
B) PLSQL_OPTIMIZER
C) PLSQL_CODE_TYPE
D) PLSQL_CCFLAGS
A) PLSQL_OPTIMIZE_LEVEL
B) PLSQL_OPTIMIZER
C) PLSQL_CODE_TYPE
D) PLSQL_CCFLAGS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
50
Oracle offers two models or methods to determine invalidation of remote dependent objects at runtime: timestamp and ____________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which item below is the name for an IF THEN structure used to accomplish conditional compilation?
A) Selection instruction
B) Selection directive
C) Selective statement
D) Selective option
A) Selection instruction
B) Selection directive
C) Selective statement
D) Selective option
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
52
A(n) ____________________________ occurs when one database object directly references other objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
53
Discuss two situations in which parameter modifications are not viewed as signature modifications and, therefore, do not prompt recompilation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
54
What is the difference between the timestamp model and the signature model?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
55
The term ____________________________ refers to connections to other Oracle
database servers.
database servers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
56
The ____ procedure is used to populate the dependency data for the object of interest.
A) USER_DEPENDENCY
B) DEPTREE_FILL
C) DEPTREE
D) DEPTREE.FILL
A) USER_DEPENDENCY
B) DEPTREE_FILL
C) DEPTREE
D) DEPTREE.FILL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
57
Which of the following data dictionarty view can verify compiler parameter settings for an object?
A) PARAMETER_SETTINGS
B) PLSQL_OBJECT_SETTINGS
C) USER_OBJECT_SETTINGS
D) USER_PLSQL_OBJECT_SETTINGS
A) PARAMETER_SETTINGS
B) PLSQL_OBJECT_SETTINGS
C) USER_OBJECT_SETTINGS
D) USER_PLSQL_OBJECT_SETTINGS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
58
Compiler ____________________________ are settings that affect code optimization and availability of warning messages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
59
If a dependent object is flagged as INVALID, this means that the program unit should be ____________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
60
The ____________________________ data dictionary view allows users to review object status and referenced objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck
61
What is the purpose of the %TYPE and %ROWTYPE attributes?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 61 في هذه المجموعة.
فتح الحزمة
k this deck