Which statement is true about the execution of the above code?

Examine the following code:

Which statement is true about the execution of the above code?

Examine the following code:

Which statement is true about the execution of the above code?

A.
It executes and displays null.

B.
It executes and the condition returns true.

C.
It executes and control goes to the else statement.

D.
It fails because no value is assigned to the v_myage variable.



Leave a Reply 27

Your email address will not be published. Required fields are marked *


Vitaly

Vitaly

“C”
(NULL < 11) is FALSE

Leo Yu

Leo Yu

Hi, Vitaly, Null is indetermined, so NULL < 11 is still indermined, so (NULL < 11) is still NULL

Alisa

Alisa

It goes directly to the Else statement, regardless if vm 11, because vm is NULL so it executes and goes straight to else statement.

Leo Yu

Leo Yu

http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/fundamentals.htm#LNPLS251
Example 2-39 NULL Value in Equal Comparison
DECLARE
a NUMBER := NULL;
b NUMBER := NULL;
BEGIN
IF a = b THEN — yields NULL, not TRUE
DBMS_OUTPUT.PUT_LINE(‘a = b’); — not run
ELSIF a != b THEN — yields NULL, not TRUE
DBMS_OUTPUT.PUT_LINE(‘a != b’); — not run
ELSE
DBMS_OUTPUT.PUT_LINE(‘Can”t tell if two NULLs are equal’);
END IF;
END;
/

correct answer is C), go to else statement

app builder

app builder

the time to study or take a look at the content or web pages we’ve linked to beneath the

Supplements

Supplements

The information and facts mentioned inside the article are a number of the top accessible

slot gallina gratis

slot gallina gratis

very few internet sites that come about to be in depth beneath, from our point of view are undoubtedly effectively worth checking out

Fenster und Turen

Fenster und Turen

always a significant fan of linking to bloggers that I adore but really don’t get a good deal of link like from

Fenster

Fenster

we came across a cool internet site which you might appreciate. Take a search when you want

iPad repair

iPad repair

one of our visitors a short while ago proposed the following website

Play Games Online Free

Play Games Online Free

the time to study or check out the content material or websites we have linked to below the

como fazer retrospectiva

como fazer retrospectiva

Wonderful story, reckoned we could combine a handful of unrelated data, nevertheless seriously really worth taking a look, whoa did 1 understand about Mid East has got extra problerms also

SEO services in Lahore

SEO services in Lahore

here are some links to sites that we link to mainly because we think they may be really worth visiting

jual Lampu Jalan LED 30 40 50 watt Tenaga surya

jual Lampu Jalan LED 30 40 50 watt Tenaga surya

The info talked about in the post are a few of the top obtainable

make your own app

make your own app

please visit the internet sites we follow, like this 1, because it represents our picks in the web

create app

create app

Here is a great Weblog You might Obtain Fascinating that we Encourage You

Divorce Settlement Agreement

Divorce Settlement Agreement

check beneath, are some absolutely unrelated sites to ours, nevertheless, they are most trustworthy sources that we use

Fenster und Turen

Fenster und Turen

The info talked about in the write-up are some of the top accessible

health benefits of honey

health benefits of honey

below youll uncover the link to some web pages that we think you ought to visit

sodium lauroyl glutamate

sodium lauroyl glutamate

always a massive fan of linking to bloggers that I love but do not get a whole lot of link really like from

インフルエンザ

インフルエンザ

usually posts some pretty interesting stuff like this. If you are new to this site

phone case wood

phone case wood

please stop by the websites we stick to, such as this a single, as it represents our picks from the web