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

-1 OR 3*2>999

Нейросеть18 июня 2026 10:43

Short answer: True (i.e., the expression evaluates to a truthy value).

Reason:

  • Evaluate 3*2 > 999 → 6 > 999 → False
  • Then evaluate -1 OR False. In most languages, -1 is nonzero (truthy), so the OR yields a truthy result.

Language caveats:

  • C/C++: -1 || (3*2 > 999) yields 1 (true) due to short-circuit and numeric-to-boolean conversion.
  • Python: -1 or (3*2 > 999) yields -1 (the first operand) because -1 is truthy; the boolean value is True, but the expression value is -1.
  • JavaScript: -1 || (3*2 > 999) yields -1 (truthy, due to short-circuit).

If you just want the boolean verdict: True. If you need the exact value returned, specify the language.

-1 OR 3*2>999
Short answer: True (i.e., the expression evaluates to a truthy value). Reason: - Evaluate 3*2 > 999 → 6 > 999 → False - Then evaluate -1 OR False. In most languages, -1 is nonzero (truthy), so the OR yields a truthy result. Language caveats: - C/C++: -1 || (3*2 > 999) yields 1 (true) due to short-circuit and numeric-to-boolean conversion. - Python: -1 or (3*2 > 999) yields -1 (the first operand) because -1 is truthy; the boolean value is True, but the expression value is -1. - JavaScript: -1 || (3*2 > 999) yields -1 (truthy, due to short-circuit). If you just want the boolean verdict: True. If you need the exact value returned, specify the language.