Exam 4: Introduction to PlSQL

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

PL/SQL is a(n)____________________ typed language,which means that you must write a command that explicitly declares each variable and specifies its data type before you use the variable.

(Short Answer)
4.9/5
(41)

To create a reference variable to a database field,use the %FIELD data type.

(True/False)
4.8/5
(40)

What happens if a condition in an IF statement evaluates to NULL?

(Multiple Choice)
4.8/5
(36)

The result of the expression 'Jane' || 'Doe' in PL/SQL would be 'Jane Doe'.

(True/False)
5.0/5
(33)

Every PL/SQL variable must be declared with a data type before it is used.

(True/False)
4.7/5
(28)

What keyword comes first in a PL/SQL program?

(Multiple Choice)
4.9/5
(34)

Why is it important to close an explicit cursor?

(Multiple Choice)
4.8/5
(37)

To remove trailing spaces,use the ____ function.

(Multiple Choice)
4.9/5
(32)

When you declare a variable with data type NUMBER,what is the value before you assign a value?

(Multiple Choice)
4.8/5
(33)

A(n)____________________ is a pointer to a memory location on the database server that the DBMS uses to process a SQL query.

(Short Answer)
4.8/5
(38)

What would be the value of variable str_length after executing the following: str_length := LENGTH('123345');

(Multiple Choice)
4.9/5
(33)

Given the character string 'I am a yellow dog" in variable c_str,what would be the expected value of the c_substr variable after the following commands are executed: yellow_pos := instr(c_str,'yellow'); C_substr := substr(c_str,1,yellow_pos);

(Multiple Choice)
5.0/5
(30)

To capitalize the first letter only of a character string,use the INITCAP function.

(True/False)
4.8/5
(30)

If a = TRUE and b = FALSE,which of the following statements is TRUE?

(Multiple Choice)
4.7/5
(30)

What is an implicit cursor? Be sure to explain how the DBMS processes queries,and what the context area is.

(Essay)
5.0/5
(24)

A(n)____________________ variable directly references a specific database column or row and assumes the data type of the associated column or row.

(Short Answer)
4.8/5
(33)

When you declare a variable in PL/SQL,the variable's default value is always ____________________.

(Short Answer)
4.8/5
(42)

To assign a value to a variable use the = operator.

(True/False)
4.9/5
(36)

The numeric FOR loop executes a predetermined number of times.

(True/False)
4.7/5
(29)

To find the position of one string in another,use the ____________________ function.

(Short Answer)
4.7/5
(36)
Showing 41 - 60 of 100
close modal

Filters

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