Search Header Logo

DBMS_B1_18032020

Authored by Narasimha Reddy Soora

Other

University

DBMS_B1_18032020
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

which of the following is true about implicit cursors?

Implicit cursors are used for SQL statements that are not named.

developers should use implicit cursors with great care

implicit cursors are used in cursor for loop for data processing

Implicit cursors are no longer a feature of ORACLE

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

which of the following is not a feature of cursor for loop?

ROWTYPE type declaration

opening and parsing of SQL statments

Fetching of records from cursor

requires exit condition to be defined.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A developer would like to use referential datatype declaration on a variable. The variable name is EMPLOYEE_LASTNAME, and the corresponding table and column is EMPLOYEE, and LNAME, respectively. How would the developer define this variable using referential datatypes?

Use EMPLOYEE.LNAME%TYPE.

Use EMPLOYEE.LNAME%ROWTYPE.

Look up datatype for EMPLOYEE column on LASTNAME table and use that.

Declare it to be type LONG.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The command used to open a CURSOR FOR loop is

open

fetch

parse

None, cursor for loops handle cursor opening implicitly.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

As a procedural language by definition, PL/SQL provides several iteration constructs, including basic LOOP statements, WHILE loops, ________, and Cursor FOR loops.

Imperative programming

Programming language

Control flow

For loop

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Find the ODD one out of the following

OPEN

CLOSE

INSERT

FETCH

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the Result of the following 'VIK'||NULL||'RAM' ?

Error

VIK RAM

VIKRAM

NULL

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?