answersLogoWhite

0

zero= false, non-zero=true

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

Is it true or false that a computer cannot disobey programming instructions?

false


What is negative logic system?

A positive logic system will output true only when the input is true. A negative logic system will output true only when the input is false. The NOT logic gate is an example of a negative logic system. That is, NOT( false ) will output true.


True or false If you took an if then statement and inserted a not into each clause the new statement would also be true.?

This is true in a very basic sense. But statements cannot always be flipped around this way. I don't know if you're talking about programming or logic, but in programming, say you have the statement: if count == 34 then endloop = true. There may be another statement later that turns endloop true no matter what. In logic, if the "if" statement has absolutely nothing to do with the "then" statement, then the answer to your question is false -FALSE!


What is the result of True AND False OR True?

True AND False OR True evaluates to True. IT seems like it does not matter which is evaluated first as: (True AND False) OR True = False OR True = True True AND (False OR True) = True AND True = True But, it does matter as with False AND False OR True: (False AND False) OR True = False OR True = True False AND (False OR True) = False AND True = False and True OR False AND False: (True OR False) AND False = True AND False = False True OR (False AND False) = True OR False = True Evaluated left to right gives a different answer if the operators are reversed (as can be seen above), so AND and OR need an order of evaluation. AND can be replaced by multiply, OR by add, and BODMAS says multiply is evaluated before add; thus AND should be evaluated before OR - the C programming language follows this convention. This makes the original question: True AND False OR True = (True AND False) OR True = False OR True = True


What is boolean in C Sharp?

A boolean is a variable type that can only be two different values True or False same as it is in most programming languages but in C# booleans are stated as: public bool var = True; or public bool var = False;

Related Questions

When an IDS fails to detect an attack this is considered to be a false positive true or false?

False; it's a False Negative


The product of an even number of negative factors is a negative?

False. The product of an odd number of negatives is negative.


Is -n always names a negative number true?

Is false. If ' n ' is negative, then ' -n ' is positive.


Are negative numbers considered true or false in c?

zero= false, non-zero=true


No negative number is less than its absolute value true or false?

False


What is false positive per window?

FPPW=Number of the false alarms/ The number of testing negative examples


To multiply a negative number and a negative number you should multiply their absolute values and make the product negative true or false?

That is false. A negative times a negative is always a positive. Since absolute numbers are always positive if you make it negative that is not correct.


Why negative pi is a negative rational number that is not an integer?

The question cannot be answered because it is based on a false premise: negative pi is NOT a negative rational number.


To multiply a positive number and a negative number you should multiply their absolute values and make the product negative?

Yes.


Downward velocity is considered a negative. true or false?

Downward velocity is considered a negative. This is a true statement.


Is the absolute value of a positive number is always a negative number is it true?

No. You have it backwards . . . . . the absolute value of a negative number is always a positive number.


7-4 gives a negative number true or false?

11