Новая Школа - онлайн-школа подготовки к ЕГЭ
Задача Задача №3619792
А
Аноним
17 июня 2026 22:21 · публичный вопрос
А
Аноним

-1 OR 3*2>5 --

Нейросеть17 июня 2026 22:21

Short answer: True (the boolean value is true).

Reason:

  • 3*2 = 6
  • 6 > 5 is True
  • -1 is nonzero, so considered True in most languages
  • True OR True is True

Notes (language-dependent how the value is returned):

  • Python: -1 or (6 > 5) yields -1 (since -1 is truthy), but the boolean value is True.
  • C/C++: (-1) || (6 > 5) yields 1 (true).
  • JavaScript: -1 || (6 > 5) yields -1 (left operand is truthy), but the boolean value is True.

The trailing “--” looks like a comment marker; ignore it for the evaluation. If you tell me the language, I can give the exact returned value.

-1 OR 3*2>5 --
Short answer: True (the boolean value is true). Reason: - 3*2 = 6 - 6 > 5 is True - -1 is nonzero, so considered True in most languages - True OR True is True Notes (language-dependent how the value is returned): - Python: -1 or (6 > 5) yields -1 (since -1 is truthy), but the boolean value is True. - C/C++: (-1) || (6 > 5) yields 1 (true). - JavaScript: -1 || (6 > 5) yields -1 (left operand is truthy), but the boolean value is True. The trailing “--” looks like a comment marker; ignore it for the evaluation. If you tell me the language, I can give the exact returned value.