Computer Science, asked by ashish7518, 8 months ago

With A = False and B = True, which
statement evaluates as False?
अगर A False और B True तो कौन से
स्टेटमेन्ट का मूल्यांकन False होगा?
Select one:
AB OR A
B OR A
B. B OR B
BOR B
C. A OR A
A OR A
D. A OR B
A OR B​

Answers

Answered by Anonymous
8

Answer:

Option D

Plz mark me as brainliest

Answered by surajnegi0600
0

Proper question:

With A = False and B = True, which statement evaluates as True?

A. A AND A

B. A AND B

C. B AND A

D. B AND B

Answer:

Given that A = False and B = True, the statement that evaluates to True is (D) B AND B.

Explanation:

In a Boolean context, there are only two possible values: True and False. The logical AND operator and is used to evaluate two Boolean values and return a Boolean result. If both operands are True, the result is True. If either operand is False, the result is False. In the given example, A is assigned False, and B is assigned True. Therefore, when evaluating the statement B AND B, which is True AND True, the result is True. On the other hand, if we evaluate the statement A AND B, which is False AND True, the result is False. It is important to understand how logical operators work in order to make proper decisions in programming.

More questions and answers

https://brainly.in/question/21031864?referrer=searchResults

https://brainly.in/question/48403808?referrer=searchResults

#SPJ3

Similar questions