Ask your own question, for FREE!
Computer Science 8 Online
SourMunchkin7806:

What happens when a programmer uses the logical operator not with a Boolean condition? The result is the condition evaluates to true. The result is the condition evaluates to false. The result is the opposite of the condition's value. The result is the same as the condition's value.

SourMunchkin7806:

@JustSaiyan

JustSaiyan:

@Ultrilliam I know how you enjoy coding more than I

SourMunchkin7806:

i didnt think he was on lol

JustSaiyan:

Lol. He's Always on, it's just whether or not he is paying attention.

Ultrilliam:

I'm always on, except when I'm not, but even then, I'm on

Ultrilliam:

What saiyan said lol

SourMunchkin7806:

ahhh lol

Ultrilliam:

What language is this talking about? Any specific language?

SourMunchkin7806:

no man this is all it gives me

Ultrilliam:

There are multiple logical operators that can change depending on the language... so eh I choose option E) Not enough information to answer the question

Ultrilliam:

If I had to YOLO it, I would probably choose D)

SourMunchkin7806:

ok lol...can you help with a few more

Ultrilliam:

Sure

SourMunchkin7806:

Which of the following statements evaluates to true if the user picks a ham and cheese sandwich? if(sandwich == "ham and cheese" and sandwich == "peanut butter and jelly"): if(not(sandwich == "ham and cheese") and sandwich == "peanut butter and jelly"): if(sandwich == "ham and cheese" or sandwich == "peanut butter and jelly"): if(not(sandwich == "ham and cheese") or sandwich == "peanut butter and jelly"):

SourMunchkin7806:

im pretty sure this one is C but i just wanna be sure

Ultrilliam:

Correct

SourMunchkin7806:

sweet

Ultrilliam:

But please ask 1 question per thread

SourMunchkin7806:

oohhhhh yea ok ok sorry hold up

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!