exam questions

Exam 1z0-144 All Questions

View all questions & answers for the 1z0-144 exam

Exam 1z0-144 topic 1 question 7 discussion

Actual exam question from Oracle's 1z0-144
Question #: 7
Topic #: 1
[All 1z0-144 Questions]

Examine the following block of code:

Which line in the above code would result in errors upon execution?

  • A. line 5
  • B. line 8
  • C. line 2
  • D. line 7
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Anubhav244
4 years, 6 months ago
Yes, the correct answer is B. Explanation - In line 8, we are assigning a VARCHAR2 type variable a BOOLEAN value which is not possible. In this case you will get the error - PLS-00382: expression is of wrong type
upvoted 4 times
...
emmandavies
4 years, 11 months ago
Correct answer is B
upvoted 3 times
...
nadzeya_bdc
5 years ago
Line 7 is correct because it's a condition.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...