
PL/SQL Programming
Authored by Rondi Hidayat
Computers
Professional Development
Used 34+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
which valid identifier?
today
last_name
today's date
Number_of_days_in_February_this_year
Isleap$year
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which valid variable declaration and initialization?
number_of_copies PLS_INTEGER;
PRINTER_NAME constant VARCHAR2(10);
deliver_to VARCHAR2(10):=Johnson;
by_when DATE:= CURRENT_DATE+1;
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
The %TYPE attribute:
Is used to declare a variable according to a database column definition
Is used to declare a variable according to a collection of columns in a database table or view
Is used to declare a variable according to the definition of another declared variable
Is prefixed with the database table and column name or the name of the declared variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can use most SQL single-row functions such as number, character, conversion, and date single-row functions in PL/SQL expressions.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using the SELECT statement in PL/SQL, the INTO clause is required and queries can return one or more row.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
There are three types of loops: basic, FOR, and WHILE.
True
False
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Identify situations in which you can use the %ROWTYPE attribute
When you are not sure about the structure of the underlying database table
When you want to retrieve an entire row from a table
When you want to declare a variable according to another previously declared variable or database column
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?