Exam 6: Functions

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

A(n) ____________________ cannot serve as an entire statement.

Free
(Short Answer)
4.9/5
(34)
Correct Answer:
Verified

Function

Deleting a program unit can be accomplished by issuing a(n) DEL command. _________________________

Free
(True/False)
4.9/5
(29)
Correct Answer:
Verified

False

The term ____ is identified with a set of acronyms that indicate the restrictions on using the function.

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

B

What are the main differences between a function and a procedure?

(Essay)
4.7/5
(34)

It is considered good form to return only one value from a function and to do so using the ____________________ statement.

(Short Answer)
4.8/5
(31)

Which of the following code fragments would not raise an error?

(Multiple Choice)
4.9/5
(33)

The RETURN statement in a function is used to control the flow of execution.

(True/False)
4.8/5
(39)

A(n) procedure is one type of program unit that is used to accomplish one or more tasks, return none or many values, and is used only in PL/SQL statements. _________________________

(True/False)
4.8/5
(29)

Deleting a program unit can be accomplished by issuing a(n) ____________________ command.

(Short Answer)
4.9/5
(31)

____ refer to the parameters that are listed in the program unit.

(Multiple Choice)
4.9/5
(39)

Discuss the techniques available in PL/SQL for passing values between actual parameters and formal parameters.

(Essay)
4.8/5
(30)

A function is quite similar to a procedure in that it is a program unit that achieves a task, can receive input values, and returns values to the calling environment.

(True/False)
4.8/5
(31)

What are formal and actual parameters?

(Essay)
4.7/5
(37)

A good method to handle the size issue when declaring variables that hold values from a database table is to use the ____ attribute to use the size of the database column.

(Multiple Choice)
4.9/5
(37)

The task of the ____________________ function is to use the two arguments provided, a numeric value and the degree of rounding, and return the resulting value.

(Short Answer)
4.8/5
(30)

The ____ purity level does not modify database tables.

(Multiple Choice)
4.8/5
(39)

At least one ____ statement must be included in a function body to instruct which value to return.

(Multiple Choice)
4.8/5
(35)

Which of the following statements is True?

(Multiple Choice)
4.8/5
(32)

You cannot include data type information when declaring a formal parameter. ________________________

(True/False)
5.0/5
(29)

In the code below, which of the following is the parameter variable? CREATE OR REPLACE FUNCTION fct_test1_sf (p_num IN NUMBER) RETURN NUMBER IS BEGIN UPDATE bb_test1 SET col1 = p_num; RETURN p_num; END;

(Multiple Choice)
4.8/5
(24)
Showing 1 - 20 of 51
close modal

Filters

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