# LMD Async Tutoring

**URL:** <https://discuss.criticalfallibilism.com/t/lmd-async-tutoring/1933>\
**Category:** Tutoring\
**Created:** [April 23, 2024, 12:05am UTC](https://discuss.criticalfallibilism.com/t/lmd-async-tutoring/1933 "2024-04-23T00:05:39Z")\
**Posts on this page:** 1\
**Showing post:** 325

<div class="post-metadata">

**Author:** ![LMD](https://discuss.criticalfallibilism.com/user_avatar/discuss.criticalfallibilism.com/lmd/32/3213_2.png) [@LMD](https://discuss.criticalfallibilism.com/u/LMD)\
**Post date:** [July 1, 2024, 4:07am UTC](https://discuss.criticalfallibilism.com/t/lmd-async-tutoring/1933/325 "2024-07-01T04:07:28Z")

</div>

I’ve skipped some questions you asked Eternity because they seemed more specifically targeted at them.

> [@Eternity Async Tutoring](https://discuss.criticalfallibilism.com/t/eternity-async-tutoring/1932/241):
>
> One of the advantages of prefix and postfix notations is you can have any number of inputs, e.g.: and(1, 1, 1, 1, 0, 1). Can you evaluate that expression?

and(1, 1, 1, 1, 0, 1) = 0

> [@Eternity Async Tutoring](https://discuss.criticalfallibilism.com/t/eternity-async-tutoring/1932/241):
>
> Can you write in English how to evaluate whether and, or and xor are true or false for input lists that could be any length? The answers should be one sentence each.

and:  
False unless all inputs are true.

or:  
True unless all inputs are false

xor:  
True unless all inputs are identical.

Actually xor I am unsure on for multiple inputs. Is xor only true if one input is true, or is it only true if the inputs aren’t identical?

Xor or either-or means ‘either input but not both’. ‘Either’ seems to imply binary inputs to me. So I’m not sure how this extends to multiple inputs. It could mean ‘some inputs but not all’, or it could mean ‘any one input but not more’.

I know that a negated xor gate is an equality(xnor) gate. If this is still true with multiple inputs then my one sentence description of xor is right.

---

_[View the full topic](https://discuss.criticalfallibilism.com/t/lmd-async-tutoring/1933)._
