Вы находитесь на странице: 1из 15

Section 1 Quiz

(Answer all questions in this section)

1. Which of the following can be done using PL/SQL?


Mark for Review
(1) Points

Develop Web applications using the Web Application Toolkit

All of these can be done (*)

Manage database security

Update data (DML)

Create customized reports

Correct

2. Procedural constructs give you better control of your SQL statements and their
execution. True or False? Mark for Review
(1) Points

True (*)

False

Correct

3. Comparing PL/SQL with other languages such as C and Java, which of the
following statements is true? Mark for Review
(1) Points

PL/SQL is harder to learn

PL/SQL is easier to learn and more efficient (*)

PL/SQL is easier to learn but less efficient

PL/SQL is easier to learn and does not require an Oracle database or tool

Correct

4. Which of the following statements about exception handling in PL/SQL is false?


Mark for Review
(1) Points

You can prepare for application exceptions by creating exception handlers.

None of these are false (*)


All of these are false

You can prepare for database exceptions by creating exception handlers.

Exception handling code tells your program what to do when an error is


encountered.

Correct

5. Which of the following can be compiled as a standalone program outside the


database? Mark for Review
(1) Points

A program developed in PL/SQL or C

A program developed in PL/SQL or Java

Programs developed in Java or C, but not in PL/SQL (*)

A program developed in PL/SQL

None of these can be compiled outside of a database

Correct
6. Which
lines of Mark for Review
code will
(1) Points
correctly
display
the
message
"The cat
sat on
the
mat"?
(Choose
two.)

(Choose all correct answers)

DBMS_OUTPUT.PUT_LINE(The cat sat on the mat);

DBMS_OUTPUT.PUT_LINE('The cat sat on the mat'); (*)

DBMS_OUTPUT.PUT_LINE('The cat sat ' || 'on the mat'); (*)

DBMS_OUTPUT.PUT_LINE('The cat' || 'sat on the mat');

Correct

7. What are the characteristics of an anonymous block? (Choose two.)


Mark for Review
(1) Points

(Choose all correct answers)


Unnamed (*)

Can be declared as procedures or as functions

Stored in the database

Compiled each time the code is executed (*)

Incorrect. Refer to Section 1 Lesson 3.

8. Which PL/SQL block type must return a value?


Mark for Review
(1) Points

Anonymous

Package

Procedure

Function (*)

Correct

9. What kind of block is defined by the following PL/SQL code?


Mark for Review
BEGIN (1) Points
DBMS_OUTPUT.PUT_LINE('My first quiz');
END;

procedure

subroutine

function

anonymous (*)

Correct

10. Which statements are mandatory in a PL/SQL block? (Choose two.)


Mark for Review
(1) Points

(Choose all correct answers)

END; (*)

EXCEPTION

BEGIN (*)

DECLARE
Correct
11. The P
in Mark for Review
PL/SQL
(1) Points
stands
for:

Primary

Procedural (*)

Processing

Proprietary

Correct

12. SQL is a common access language for many types of databases, including
Oracle. True or False? Mark for Review
(1) Points

True (*)

False

Correct

13. Nonprocedural languages allow the programmer to produce a result when a


series of steps are followed. True or False? Mark for Review
(1) Points

True

False (*)

Correct

14. Which of the following statements is true?


Mark for Review
(1) Points

(Choose all correct answers)

PL/SQL is an Oracle proprietary, procedural, third-generation


programming language. (*)
PL/SQL is an Oracle proprietary, procedural, fourth-generation
programming language.
PL/SQL is an ANSI-compliant, procedural programming language.

SQL is an ANSI-compliant, nonprocedural, fourth-generation


programming language. (*)

Correct
15. PL/SQL is an Oracle proprietary, procedural, fourth-generation programming
language. True or False? Mark for Review
(1) Points

True

False (*)

Correct

Section 1 Quiz

(Answer all questions in this section)

1. What are the characteristics of an anonymous block? (Choose two.)


Mark for Review

(1) Points

(Choose all correct answers)

Stored in the database

Compiled each time the code is executed (*)

Unnamed (*)

Can be declared as procedures or as functions


Correct Correct

2. Which PL/SQL block type must return a value? Mark for Review

(1) Points

Procedure

Function (*)

Anonymous

Package

Correct Correct

3. In which part of the PL/SQL block are declarations of variables defined?


Mark for Review

(1) Points

Exception
Executable

Definition

Declarative (*)

Correct Correct

4. In a PL/SQL block, which of the following should not be followed by a


semicolon? Mark for Review

(1) Points

DECLARE (*)

All SQL statements

All PL/SQL statements

END
Correct Correct

5. Which lines of code will correctly display the message "Hello World" ?
(Choose two.) Mark for Review

(1) Points

(Choose all correct answers)

DBMS_OUTPUT.PUT_LINE('Hello' || ' ' || 'World'); (*)

DBMS_OUTPUT.PUT_LINE('Hello World'); (*)

DBMS_OUTPUT('Hello World');

DBMS_OUTPUT.PUT_LINE('Hello' || 'World');

Correct Correct

6. The P in PL/SQL stands for: Mark for Review

(1) Points

Proprietary
Processing

Procedural (*)

Primary

Correct Correct

7. A program which specifies a list of operations to be performed sequentially


to achieve the desired result can be called: Mark for Review

(1) Points

low level

procedural (*)

nondeclarative

declarative
Correct Correct

8. Nonprocedural languages allow the programmer to produce a result when a


series of steps are followed. True or False? Mark for Review

(1) Points

True

False (*)

Correct Correct

9. PL/SQL extends SQL by including all of the following except: Mark for
Review

(1) Points

variables

reusable program units

conditional statements
nonprocedural constructs (*)

constants

Correct Correct

10. SQL is a common access language for many types of databases, including
Oracle. True or False? Mark for Review

(1) Points

True (*)

False

Correct Correct

11. PL/SQL can be used not only with an Oracle database, but also with any kind of relational
database. True or False? Mark for Review

(1) Points

True

False (*)
Correct Correct

12. Which of the following statements about exception handling in PL/SQL is


false? Mark for Review

(1) Points

You can prepare for application exceptions by creating exception handlers.

None of these are false (*)

You can prepare for database exceptions by creating exception handlers.

Exception handling code tells your program what to do when an error is encountered.

All of these are false

Correct Correct

13. Which of the following can be done using PL/SQL? Mark for Review
(1) Points

Create complex applications

Manage database tasks such as security

Create custom reports

All of these can be done (*)

Retrieve and modify data in Oracle database tables

Correct Correct

14. PL/SQL differs from C and Java in which of the following ways? (Choose
two.) Mark for Review

(1) Points

(Choose all correct answers)

It is the most complex programming language to learn.


It is the most efficient language to use with an Oracle database. (*)

It does not support object-oriented programming.

It is not portable to other operating systems.

It requires an Oracle database or tool. (*)

Correct Correct

15. Which of the following can be done using PL/SQL? Mark for Review

(1) Points

Manage database security

Develop Web applications using the Web Application Toolkit

Update data (DML)

Create customized reports


All of these can be done (*)

Correct Correct

Вам также может понравиться

  • Section 1 Quiz
    Section 1 Quiz
    Документ5 страниц
    Section 1 Quiz
    daemon29
    100% (1)
  • Section 15 Quiz
    Section 15 Quiz
    Документ6 страниц
    Section 15 Quiz
    Dorin Chioibas
    Оценок пока нет
  • Mid Exam Semester 1 Part 1
    Mid Exam Semester 1 Part 1
    Документ16 страниц
    Mid Exam Semester 1 Part 1
    Madalina Marcu
    100% (1)
  • Amunisi Mid by Ono
    Amunisi Mid by Ono
    Документ13 страниц
    Amunisi Mid by Ono
    Andi Septiana
    Оценок пока нет
  • Section 2 Quiz
    Section 2 Quiz
    Документ5 страниц
    Section 2 Quiz
    daemon29
    100% (1)
  • Section 10-12 Quiz PLSQL
    Section 10-12 Quiz PLSQL
    Документ14 страниц
    Section 10-12 Quiz PLSQL
    Ovie Widiyastuti
    Оценок пока нет
  • Database Programming With SQL Section 1 Quiz 1
    Database Programming With SQL Section 1 Quiz 1
    Документ3 страницы
    Database Programming With SQL Section 1 Quiz 1
    José Obeniel López
    Оценок пока нет
  • Semester 1 Midterm Exam PLSQL
    Semester 1 Midterm Exam PLSQL
    Документ15 страниц
    Semester 1 Midterm Exam PLSQL
    Ovie Widiyastuti
    100% (1)
  • Section 1
    Section 1
    Документ7 страниц
    Section 1
    Rania Tawfeek
    Оценок пока нет
  • PLSQL Section 3 Quiz
    PLSQL Section 3 Quiz
    Документ7 страниц
    PLSQL Section 3 Quiz
    Revindo Prakarsa
    Оценок пока нет
  • Section 5 Quiz
    Section 5 Quiz
    Документ8 страниц
    Section 5 Quiz
    Ariya Dc
    0% (1)
  • Section 3 Quiz
    Section 3 Quiz
    Документ8 страниц
    Section 3 Quiz
    Dorin Chioibas
    Оценок пока нет
  • Section 7 Quiz
    Section 7 Quiz
    Документ6 страниц
    Section 7 Quiz
    syahndra
    100% (1)
  • Section 6 Quiz PLSQL
    Section 6 Quiz PLSQL
    Документ4 страницы
    Section 6 Quiz PLSQL
    Ovie Widiyastuti
    75% (4)
  • Section 7 Quiz PLSQL
    Section 7 Quiz PLSQL
    Документ8 страниц
    Section 7 Quiz PLSQL
    Ovie Widiyastuti
    100% (1)
  • Section 7 Quiz
    Section 7 Quiz
    Документ8 страниц
    Section 7 Quiz
    Dorin Chioibas
    0% (1)
  • PLSQL Section 2 Quiz
    PLSQL Section 2 Quiz
    Документ3 страницы
    PLSQL Section 2 Quiz
    Jerwin Dela Cruz
    Оценок пока нет
  • Section 6 Quiz
    Section 6 Quiz
    Документ8 страниц
    Section 6 Quiz
    Dorin Chioibas
    Оценок пока нет
  • Oracle PLSQL Section 13-15 Answers
    Oracle PLSQL Section 13-15 Answers
    Документ173 страницы
    Oracle PLSQL Section 13-15 Answers
    Mentol
    100% (1)
  • Section 7 Quiz
    Section 7 Quiz
    Документ6 страниц
    Section 7 Quiz
    daemon29
    Оценок пока нет
  • Section 9 Quiz PLSQL
    Section 9 Quiz PLSQL
    Документ5 страниц
    Section 9 Quiz PLSQL
    Ovie Widiyastuti
    100% (1)
  • Section 10 Quiz
    Section 10 Quiz
    Документ7 страниц
    Section 10 Quiz
    Dorin Chioibas
    Оценок пока нет
  • Section 9 Quiz
    Section 9 Quiz
    Документ6 страниц
    Section 9 Quiz
    daemon29
    0% (1)
  • Section 5
    Section 5
    Документ16 страниц
    Section 5
    Sebassssd
    33% (3)
  • Section 14-15 PLSQL
    Section 14-15 PLSQL
    Документ17 страниц
    Section 14-15 PLSQL
    jane027
    Оценок пока нет
  • Section 5 Quiz PLSQL
    Section 5 Quiz PLSQL
    Документ4 страницы
    Section 5 Quiz PLSQL
    Ovie Widiyastuti
    Оценок пока нет
  • Section 11
    Section 11
    Документ44 страницы
    Section 11
    lemi teknik
    50% (4)
  • Section 5 Quiz
    Section 5 Quiz
    Документ7 страниц
    Section 5 Quiz
    Anca Vochescu
    100% (1)
  • PLSQL Semester 2 Mid Term Exam
    PLSQL Semester 2 Mid Term Exam
    Документ75 страниц
    PLSQL Semester 2 Mid Term Exam
    DYAH
    Оценок пока нет
  • Section 9
    Section 9
    Документ46 страниц
    Section 9
    lemi teknik
    40% (5)
  • Section 6 Quiz 1 l1 l4
    Section 6 Quiz 1 l1 l4
    Документ4 страницы
    Section 6 Quiz 1 l1 l4
    Ahmad Rayhan
    Оценок пока нет
  • Section 10-13 PLSQL
    Section 10-13 PLSQL
    Документ45 страниц
    Section 10-13 PLSQL
    jane027
    73% (22)
  • Section 11 Quiz
    Section 11 Quiz
    Документ7 страниц
    Section 11 Quiz
    Dorin Chioibas
    100% (1)
  • Database Programming With SQL Section 3 Quiz
    Database Programming With SQL Section 3 Quiz
    Документ13 страниц
    Database Programming With SQL Section 3 Quiz
    José Obeniel López
    Оценок пока нет
  • Semester 2 Final Exam PL SQL
    Semester 2 Final Exam PL SQL
    Документ9 страниц
    Semester 2 Final Exam PL SQL
    Catalina Achim
    100% (1)
  • Semester 1 Final Exam Oracle PL SQL 2 PDF
    Semester 1 Final Exam Oracle PL SQL 2 PDF
    Документ23 страницы
    Semester 1 Final Exam Oracle PL SQL 2 PDF
    Aziz Fikri
    Оценок пока нет
  • Section 4 Quiz
    Section 4 Quiz
    Документ8 страниц
    Section 4 Quiz
    Dorin Chioibas
    Оценок пока нет
  • Quiz 2 PL - SQL
    Quiz 2 PL - SQL
    Документ6 страниц
    Quiz 2 PL - SQL
    Jajang Mochamad Mimbar
    Оценок пока нет
  • Section 7 Quiz
    Section 7 Quiz
    Документ7 страниц
    Section 7 Quiz
    Arafat
    100% (1)
  • Section 10 13 PLSQL
    Section 10 13 PLSQL
    Документ45 страниц
    Section 10 13 PLSQL
    draufy
    Оценок пока нет
  • 1 Final
    1 Final
    Документ17 страниц
    1 Final
    Alexandra Lajtrik
    Оценок пока нет
  • Test: JF Java Fundamentals Final Exam
    Test: JF Java Fundamentals Final Exam
    Документ20 страниц
    Test: JF Java Fundamentals Final Exam
    Adan Nau
    Оценок пока нет
  • Sem 1 Final Term
    Sem 1 Final Term
    Документ29 страниц
    Sem 1 Final Term
    Dorin Chioibas
    Оценок пока нет
  • Quiz 10
    Quiz 10
    Документ7 страниц
    Quiz 10
    Andriy
    Оценок пока нет
  • Section 6 Quiz
    Section 6 Quiz
    Документ32 страницы
    Section 6 Quiz
    sinta indriani
    Оценок пока нет
  • PL SQL Midterm Sem 2
    PL SQL Midterm Sem 2
    Документ16 страниц
    PL SQL Midterm Sem 2
    ignatanna
    0% (1)
  • Mid Exam Semester 1 Part 1
    Mid Exam Semester 1 Part 1
    Документ16 страниц
    Mid Exam Semester 1 Part 1
    SUJITKUMAR SINGH
    Оценок пока нет
  • Intrebari Oracle PDF
    Intrebari Oracle PDF
    Документ161 страница
    Intrebari Oracle PDF
    Bianca Grigoras
    Оценок пока нет
  • Section 1: Exception ( ) End Declare ( ) Begin
    Section 1: Exception ( ) End Declare ( ) Begin
    Документ5 страниц
    Section 1: Exception ( ) End Declare ( ) Begin
    Moh Nur Alifani
    Оценок пока нет
  • Semester 1 Mid
    Semester 1 Mid
    Документ21 страница
    Semester 1 Mid
    Budi Nugroho
    Оценок пока нет
  • Pls QL Certif
    Pls QL Certif
    Документ28 страниц
    Pls QL Certif
    karima chemlali
    Оценок пока нет
  • PLSQL 1 - 2
    PLSQL 1 - 2
    Документ1 страница
    PLSQL 1 - 2
    Alvin Giovanni Mingguw
    Оценок пока нет
  • Section 1 Semester 1 PLSQL
    Section 1 Semester 1 PLSQL
    Документ4 страницы
    Section 1 Semester 1 PLSQL
    tatro
    Оценок пока нет
  • PLSQL 1 - 1
    PLSQL 1 - 1
    Документ1 страница
    PLSQL 1 - 1
    Alvin Giovanni Mingguw
    Оценок пока нет
  • Section 8
    Section 8
    Документ8 страниц
    Section 8
    Ovie Widiyastuti
    Оценок пока нет
  • Section 1 (Quiz)
    Section 1 (Quiz)
    Документ4 страницы
    Section 1 (Quiz)
    ashishishu
    Оценок пока нет
  • PLSQL 1 - 2
    PLSQL 1 - 2
    Документ1 страница
    PLSQL 1 - 2
    Alvin Giovanni Mingguw
    Оценок пока нет
  • Dokumen - Tips Oracle PLSQL Semester 1
    Dokumen - Tips Oracle PLSQL Semester 1
    Документ162 страницы
    Dokumen - Tips Oracle PLSQL Semester 1
    Andini Maulida
    Оценок пока нет
  • PLSQL 1 - 3
    PLSQL 1 - 3
    Документ1 страница
    PLSQL 1 - 3
    Alvin Giovanni Mingguw
    Оценок пока нет
  • Section 1
    Section 1
    Документ14 страниц
    Section 1
    Maria Gabriela
    Оценок пока нет
  • CPP 17 Detail
    CPP 17 Detail
    Документ53 страницы
    CPP 17 Detail
    paulozaffari
    Оценок пока нет
  • User Manual Singular PDF
    User Manual Singular PDF
    Документ1 808 страниц
    User Manual Singular PDF
    Cristian Cojocaru
    100% (1)
  • Ecma 262 PDF
    Ecma 262 PDF
    Документ798 страниц
    Ecma 262 PDF
    Miguel Angel Piñon
    Оценок пока нет
  • Deway Classification 000
    Deway Classification 000
    Документ45 страниц
    Deway Classification 000
    Emmanuel Habumuremyi
    Оценок пока нет
  • Intro To Computer Programming
    Intro To Computer Programming
    Документ7 страниц
    Intro To Computer Programming
    George L
    Оценок пока нет
  • Siebel Escript Tutorial
    Siebel Escript Tutorial
    Документ8 страниц
    Siebel Escript Tutorial
    vinayguptha
    Оценок пока нет
  • Half p2 Cs Gcse
    Half p2 Cs Gcse
    Документ10 страниц
    Half p2 Cs Gcse
    alexanderjimjohn
    Оценок пока нет
  • INTRODUCTION - Concepts and Principles in Programming
    INTRODUCTION - Concepts and Principles in Programming
    Документ9 страниц
    INTRODUCTION - Concepts and Principles in Programming
    api-3709816
    100% (7)
  • EC 2317 Perl Introduction To Perl
    EC 2317 Perl Introduction To Perl
    Документ2 страницы
    EC 2317 Perl Introduction To Perl
    SivaShankar Pulluri
    Оценок пока нет
  • Computer Programming Tutorial
    Computer Programming Tutorial
    Документ79 страниц
    Computer Programming Tutorial
    sidsimth
    100% (7)
  • Backus Turingaward Lecture PDF
    Backus Turingaward Lecture PDF
    Документ29 страниц
    Backus Turingaward Lecture PDF
    Nunya
    Оценок пока нет
  • ITC Lecture 2
    ITC Lecture 2
    Документ23 страницы
    ITC Lecture 2
    Ahmad Shahbaz
    Оценок пока нет
  • Programming Essentials in Python: Module 1
    Programming Essentials in Python: Module 1
    Документ45 страниц
    Programming Essentials in Python: Module 1
    Asis Sunuwar
    Оценок пока нет
  • DDOCP
    DDOCP
    Документ1 страница
    DDOCP
    habib
    Оценок пока нет
  • Programacion Avanzada Lenguaje ST Mitsubishi
    Programacion Avanzada Lenguaje ST Mitsubishi
    Документ112 страниц
    Programacion Avanzada Lenguaje ST Mitsubishi
    EmilioSantizo
    Оценок пока нет
  • CSC 200
    CSC 200
    Документ10 страниц
    CSC 200
    timothyosaigbovo3466
    Оценок пока нет
  • Detailed Syllabus
    Detailed Syllabus
    Документ33 страницы
    Detailed Syllabus
    Gajendra Singh
    Оценок пока нет
  • Comparison of C Sharp and Visual Basic
    Comparison of C Sharp and Visual Basic
    Документ10 страниц
    Comparison of C Sharp and Visual Basic
    sanchi.varma
    Оценок пока нет
  • 01intro - Brief of Programming Languages NEW
    01intro - Brief of Programming Languages NEW
    Документ46 страниц
    01intro - Brief of Programming Languages NEW
    Vũ Đức Vĩ
    Оценок пока нет
  • Class X Chapter 2 Blujava
    Class X Chapter 2 Blujava
    Документ2 страницы
    Class X Chapter 2 Blujava
    Kaushik Choudhury
    Оценок пока нет
  • Programming in C
    Programming in C
    Документ22 страницы
    Programming in C
    Yanis Kemoun
    Оценок пока нет
  • E Script
    E Script
    Документ334 страницы
    E Script
    Ashwathkumar86
    Оценок пока нет
  • C++ MCQ
    C++ MCQ
    Документ17 страниц
    C++ MCQ
    Abdelazeem Elkadeem
    Оценок пока нет
  • Plugin Tm210tre.30 Eng
    Plugin Tm210tre.30 Eng
    Документ48 страниц
    Plugin Tm210tre.30 Eng
    Fabrice Bernard
    Оценок пока нет
  • Automated Exam Checker System
    Automated Exam Checker System
    Документ62 страницы
    Automated Exam Checker System
    Dexie
    Оценок пока нет
  • Real-Time Object-Oriented Modeling: Tutorial Structure
    Real-Time Object-Oriented Modeling: Tutorial Structure
    Документ27 страниц
    Real-Time Object-Oriented Modeling: Tutorial Structure
    Satyender Yadav
    Оценок пока нет
  • What Are Some of The Best Books On Computer Science
    What Are Some of The Best Books On Computer Science
    Документ9 страниц
    What Are Some of The Best Books On Computer Science
    Sarthak Shah
    Оценок пока нет
  • VB 2021-2022.2 Quiz
    VB 2021-2022.2 Quiz
    Документ7 страниц
    VB 2021-2022.2 Quiz
    Nicole Echezona
    Оценок пока нет
  • DM - An Introduction To Programming Languages
    DM - An Introduction To Programming Languages
    Документ35 страниц
    DM - An Introduction To Programming Languages
    Towfiquzzaman Shummo
    Оценок пока нет
  • Pick and Place Robot
    Pick and Place Robot
    Документ65 страниц
    Pick and Place Robot
    Vignesh Rvp
    Оценок пока нет