Sei sulla pagina 1di 7

Braindumps of 1Z0-144

Oracle Database 11g: Program with PL/SQL

Exam Questions, Answers, Braindumps (1Z0-144)


These are Guaranteed Questions for this Oracle exam. I only used
www.exams.ws guide and i was through.

QUESTION NO: 1
You work as an Application Developer for Gentech Inc. The company
uses an Oracle database. Currently, the Oracle server uses the
timestamp mode for managing remote dependencies among objects. You
want the Oracle server to use the signature mode. You also want to
ensure that the signature mode is applicable to all sessions in the
database. What will you do to accomplish this?
Each correct answer represents a complete solution. Choose two.
A. Edit the init.ora file and remove the
REMOTE_DEPENDENCIES_MODE parameter.
B. Set the REMOTE_DEPENDENCIES_MODE parameter to
SIGNATURE by using the ALTER SESSION statement.
C. Set the REMOTE_DEPENDENCIES_MODE parameter to
SIGNATURE by using the ALTER SYSTEM statement.
D. Edit the init.ora file and set the REMOTE_DEPENDENCIES_MODE
parameter to SIGNATURE
ANSWER: C,D

QUESTION NO: 2
What are the two variables supported by PL/SQL?
A. Explicit and implicit variables
B. Scalar and composite variables

C. Primary and default variables


D. Scalar and user-defined variables
ANSWER: B

QUESTION NO: 3
Which of the following are the benefits of PL/SQL?
Each correct answer represents a complete solution. Choose all that
apply.
A. In PL/SQL, the statements of the block are sent line by line, one at
a time to the Oracle ser ver.
B. PL/SQL is a high-performance transaction-processing language.
C. PL/SQL supports all SQL datatypes and all SQL functions.
D. PL/SQL blocks can be named and stored in the Oracle server and
reused as required in another PL/SQL program.
ANSWER: B,C,D

QUESTION NO: 4
Which of the following identifiers can include any printable characters,
including spaces?
A. Quoted identifiers
B. Predefined identifiers
C. Valid identifiers
D. Invalid identifiers
ANSWER: A

QUESTION NO: 5
In which of the following sections of a PL/SQL block a user-defined
exception can be raised?
A. Declarative section
B. Comments section

C. Exception section
D. Executable section
ANSWER: D

QUESTION NO: 6
Which of the following statements is used to insert, update, or delete
bulk data?
A. FOR Loop statement
B. BULK COLLECT INTO statement
C. BULK statement
D. FORALL statement
ANSWER: D

QUESTION NO: 7
Which of the following exceptions is raised when a user tries to divide
a number by zero?
A. VALUE_ERROR
B. OUT_OF_RANGE
C. ZERO_DIVIDE
D. SELF_IS_NULL
ANSWER: C

QUESTION NO: 8
All of the following can be the causes of raising an exception except
for which one?
A. A throw statement has executed.
B. An asynchronous exception has occurred.
C. An abnormal execution condition has been synchronously detected.
D. A catch statement has executed.
ANSWER: D

QUESTION NO: 9
Which of the following built-in packages supports dynamic SQL?
A. DBMS_SQL
B. DBMS_SCHEDULER
C. DBMS_MONITOR
D. DBMS_CRYPTO
ANSWER: A

QUESTION NO: 10
Which of the following is a data manipulation language (DML)
statement?
A. DESCRIBE
B. EXPLAIN PLAN
C. SAVEPOINT
D. TRUNCATE
ANSWER: B

QUESTION NO: 11
Which of the following is ideal for querying a database table or view?
A. Range FOR Loop statement
B. Cursor FOR Loop statement
C. While Loop statement
D. Simple Loop statement
ANSWER: B

QUESTION NO: 12
Which of the following errors maps to the INVALID_CURSOR
predefined exception in PL/SQL?
A. ORA-10100

B. ORA-10001
C. ORA-01000
D. ORA-01001
ANSWER: D

QUESTION NO: 13
Which of the following cannot be created and stored in the database?
A. NESTED TABLE
B. VARRAY
C. RECORD
D. ASSOCIATIVE ARRAY
ANSWER: C

1Z0-144 Sample Questions:


01. All are lexical units except which of the following?
a) Comments
b) Literals
c) Variables
d) Identifiers
e) Delimiters
02. From which of the following programming languages are the features of
PL/SQL programming fetched?
a) Ada programming
b) C programming
c) C++ programming
d) Java programming
03. In which of the following can a subprogram NOT be created?
a) Inside a package
b) Inside a PL/SQL block
c) At the schema level
d) Inside a trigger

04. In which of the following places is the record variable NOT allowed?
a) In a SELECT list.
b) In the VALUES clause of an INSERT statement.
c) On the right side of the SET clause in an UPDATE statement.
d) In the INTO subclause of a RETURNING clause.
05. What is the maximum size of a trigger?
a) 32KB
b) 64KB
c) 16KB
d) 8KB
06. Which of the following events CANNOT cause a trigger to fire?
a) DELETE
b) INSERT
c) UPDATE
d) DROP
e) SELECT
f) CREAT
07. Which of the following is used to map an exception to an error code?
a) PRAGMA
b) SQLCODE
c) EXCEPTION_INIT
d) RAISE_APPLICATION_ERROR function
08. Which of the following procedures of DBMS_SQL supports bulk DML
operations?
a) BIND_VARIABLE_CHAR
b) BIND_VARIABLE_RAW
c) BIND_ARRAY
d) BIND_VARIABLE
09. Which of the following terms is given by developers to PL/SQL 2.x
programming?
a) White Art
b) Blue Art
c) Gray Art
d) Black Art
10. You want to create a trigger that fires whenever rows are deleted from
the customer table and that displays the number of rows remaining in the
table. Which two statements are correct about the trigger to be created for
the above requirement?
(Choose two.)
a) It can be a before or an after trigger.
b) It should be a before trigger.
c) It should be a statement-level trigger.
d) It should be a row-level trigger.
e) It should be an after trigger.

Solutions:
QUESTION: 01
Answer: c

QUESTION: 02
Answer: a

QUESTION: 03
Answer: d

QUESTION: 04
Answer: a

QUESTION: 05
Answer: a

QUESTION: 06
Answer: e

QUESTION: 07
Answer: c

QUESTION: 08
Answer: c

QUESTION: 09
Answer: d

QUESTION: 10
Answer: d, e

Potrebbero piacerti anche