Exam 6: Functions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

How many input values does the following code require? CREATE OR REPLACE FUNCTION memfmt1_sf (p_id IN NUMBER, P_first IN VARCHAR2, P_last IN VARCHAR2) RETURN VARCHAR2 IS Lv_mem_txt VARCHAR2(35); BEGIN Lv_mem_txt := 'Member ' ||p_id|| ' - ' ||p_first|| ' ' ||p_last; RETURN lv_mem_txt; END;

(Multiple Choice)
4.8/5
(74)

____ refer to the arguments that are used when calling or invoking the program unit.

(Multiple Choice)
4.8/5
(67)

The following is a correct example of the use of the DROP command. DROP function_name;

(True/False)
4.8/5
(78)

A(n) procedure is part of an expression and cannot serve an entire statement. ____________________

(True/False)
4.8/5
(84)

It is possible to reference a data dictionary to determine what code is contained in a program unit.

(True/False)
4.9/5
(85)

The following code is an example of a(n) ____. DECLARE Lv_name_txt VARCHAR2(35); Lv_id_num NUMBER(4) := 25; Lv_first_txt VARCHAR2(15) := 'Scott'; Lv_last_txt VARCHAR2(20) := 'David'; BEGIN Lv_name_txt := memfmt1_sf(lv_id_num,lv_first_txt, lv_last_txt); DBMS_OUTPUT.PUT_LINE(lv_name_txt); END;

(Multiple Choice)
4.8/5
(74)

Formal parameters including the RETURN data type cannot include size information.

(True/False)
4.8/5
(84)

The term "passed by value" means that a pointer to the value in the actual parameter is created instead of copying the value from the actual parameter to the formal parameter.

(True/False)
4.9/5
(90)

The term passed by value implies that a pointer to the value in the actual parameter is created instead of copying the value from the actual parameter to the formal parameter. _________________________

(True/False)
4.8/5
(83)

Procedures can be used in SQL statements.

(True/False)
4.8/5
(90)

All of the following are purity level acronyms, except ____.

(Multiple Choice)
4.9/5
(65)

The main difference between functions and procedures is that a function is part of an expression.

(True/False)
4.8/5
(86)

Functions cannot be used in a(n) CHECK constraint or as a default value of a table column. _________________________

(True/False)
4.8/5
(74)

The RETURN statement can return constant values, such as a text string.

(True/False)
4.7/5
(69)

The term "actual parameters" refers to the parameters that are listed in the program unit.

(True/False)
4.9/5
(72)

A(n) procedure cannot be invoked in a standalone fashion. _________________________

(True/False)
4.8/5
(66)

The term "formal parameters" refers to the arguments that are used when calling or invoking the program unit.

(True/False)
4.9/5
(81)

A(n) ____ is a request a programmer includes within his or her code that asks Oracle to modify the default processing in some manner.

(Multiple Choice)
4.8/5
(75)

Which of the following statements is incorrect?

(Multiple Choice)
4.9/5
(79)

All of the following represent restrictions on functions, except ____.

(Multiple Choice)
4.7/5
(88)
Showing 21 - 40 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)