exam questions

Exam 1z0-144 All Questions

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

Exam 1z0-144 topic 1 question 106 discussion

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

View the Exhibit and examine the blocks of code that you plan to execute.

Which statement is true about the blocks of code?

  • A. All the blocks execute successfully and the anonymous block displays cnt: 45 cnt: 45
  • B. All the blocks execute successfully and the anonymous block displays cnt: 0 cnt: 1
  • C. The anonymous block gives an error because the function invocation in line 2 is not valid.
  • D. The procedure creation gives an error because the function invocation in line 1 is not valid.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
pancernick76
Highly Voted 4 years, 7 months ago
Actually It displays following output: 1 2 3 cnt: 45 45 cnt: 45
upvoted 7 times
...
trex_fcs
Most Recent 1 year, 10 months ago
Selected Answer: A
1 2 3 45 --answer 45 45--answer
upvoted 1 times
...
HexaDev
4 years, 6 months ago
A CORRECT, but display: cnt: 45 45 cnt: 45. because p() will output in buffer line 45, and inside loop ,we do not output anything in to buffer and if you give parameter to the p() function for example p(1) , function will again return value 45.
upvoted 1 times
HexaDev
4 years, 6 months ago
correction p(1) will return 1, and will return 45 if we do not give any parameter .
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago