Knowee
Questions
Features
Study Tools

If a=20 and b=10 then which of the following results to FALSEOptions :a>10&&a>ba>10||a==ba>10&&a==bnone of the above

Question

If a=20 and b=10 then which of the following results to FALSE

Options :

  • a > 10 && a > b
  • a > 10 || a == b
  • a > 10 && a == b
  • none of the above
🧐 Not the exact question you are looking for?Go ask a question

Solution

The given options are:

  1. a>10 && a>b
  2. a>10 || a==b
  3. a>10 && a==b
  4. none of the above

Let's evaluate each option:

  1. a>10 && a>b: This translates to 20>10 and 20>10, which is TRUE.
  2. a>10 || a==b: This translates to 20>10 or 20==10, which is TRUE because 20 is indeed greater than 10.
  3. a>10 && a==b: This translates to 20>10 and 20==10, which is FALSE because 20 is not equal to 10.

So, the option that results to FALSE is "a>10 && a==b".

This problem has been solved

Similar Questions

If a=20 and b=10 then which of the following results to FALSEOptions :a>10&&a>ba>10||a==ba>10&&a==bnone of the above

Assume that A = 5, B = 6, C = 10.Which of the following Expressions will be TRUE?A > B or B < CA > B and B < CA != BA + B >= CA % B == 5

Using the Boolean operator A && B, if A = true and B = true, what would the result be?truefalse0true and false

int A= 5, B = 2, C = 10, ans;       ans = ((A*B < C) || C%A == B);Group of answer choicesTrueFalse

What will be the output of the following statement?a = 5b = 5print(a is b)Options: Pick one correct answer from belowTrueFalseBoth A and BNone of the Above

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.