Anda di halaman 1dari 3

Test: Quiz: Using Conditional Compilation 1.

Conditional compilation allows you to include extra code to help with d ebugging, which can be removed once errors are resolved. True or False? Mark for Review (1) Points True (*) False

Correct 2. The value of DBMS_DB_VERSION.VER_LE_11 is TRUE when the version of the Oracle database is version 11 or greater. True or False? Mark for Review (1) Points True False (*)

Correct 3. If the version and release of the Oracle database in use is 10.2, what statement will allow syntax available in version 10.2 or later? Mark for Review (1) Points $IF DBMS_DB_VERSION.VER_LE_10_2 $THEN -- some messaage $ELSE -- some action $END $IF DBMS_DB_VERSION.VER_LE_10_2 $THEN -- some messaage $ELSE -- some action $END; $IF DBMS_DB_VERSION.VER_LE_10_1 $THEN -- some messaage $ELSE -- some action $END (*) $IF DBMS_DB_VERSION.VER_LE_10_1 $THEN

-- some messaage $ELSE -- some action $END;

Correct 4. Identify the selection directives used in conditional compilation. Mark for Review (1) Points $IF $THEN $ELSE $END $CCFLAG $$IF $$THEN $$ELSE $$ELSIF $$END $IF $THEN $ELSE $ELSIF $ENDIF $IF $THEN $ELSE $ELSIF $END (*) $$IF $$THEN $$ELSE $$END $$DEBUG

Correct 5. You can choose which code to include in a PL/SQL program based on condi tional compilation directives. True or False? Mark for Review (1) Points True (*)

False

Correct 6. Inquiry directives are used to selectively include or exclude PL/SQL co de based on values of pre-defined variables that are set using the PLSQL_CCFLAGS parameter. True or False? Mark for Review (1) Points True False (*)

Correct

Anda mungkin juga menyukai