blog.chewxy.com/2013/07/19/why-1-2-2

Preview meta tags from the blog.chewxy.com website.

Linked Hostnames

8

Search Engine Appearance

Google

https://blog.chewxy.com/2013/07/19/why-1-2-2

Why 1 && 2 == 2

This question was bugging me for a bit and I spent about 3 hours researching it: What is the result of the logical operation of 1 AND 2? Conversely, what is the result of the logical operation 1 OR 2? Clearly upon first look, this doesn’t make any sense to evaluate in a vacuum. In normal English, if someone were to ask you “1 AND 2 equals?”, you’d probably reply “3”. Then the OR version of the question is asked… and then it devolves to non-sense. Formal logic, however, does provide us with some explanations. Everyone is familiar with the truth table: P Q P AND Q P OR Q TrueTrueTrueTrue TrueFalseFalseTrue FalseTrueFalseTrue FalseFalseFalseFalse However, True and False are boolean values. Under the principle of bivalence, there can only be two truth values: True or False (in computers, they’re encoded as 1 or 0). I’m not going to discuss the philosophy of logic, so for the rest of this blog post let’s just accept that the logical operators AND and OR (generally) operate on boolean values.



Bing

Why 1 && 2 == 2

https://blog.chewxy.com/2013/07/19/why-1-2-2

This question was bugging me for a bit and I spent about 3 hours researching it: What is the result of the logical operation of 1 AND 2? Conversely, what is the result of the logical operation 1 OR 2? Clearly upon first look, this doesn’t make any sense to evaluate in a vacuum. In normal English, if someone were to ask you “1 AND 2 equals?”, you’d probably reply “3”. Then the OR version of the question is asked… and then it devolves to non-sense. Formal logic, however, does provide us with some explanations. Everyone is familiar with the truth table: P Q P AND Q P OR Q TrueTrueTrueTrue TrueFalseFalseTrue FalseTrueFalseTrue FalseFalseFalseFalse However, True and False are boolean values. Under the principle of bivalence, there can only be two truth values: True or False (in computers, they’re encoded as 1 or 0). I’m not going to discuss the philosophy of logic, so for the rest of this blog post let’s just accept that the logical operators AND and OR (generally) operate on boolean values.



DuckDuckGo

https://blog.chewxy.com/2013/07/19/why-1-2-2

Why 1 && 2 == 2

This question was bugging me for a bit and I spent about 3 hours researching it: What is the result of the logical operation of 1 AND 2? Conversely, what is the result of the logical operation 1 OR 2? Clearly upon first look, this doesn’t make any sense to evaluate in a vacuum. In normal English, if someone were to ask you “1 AND 2 equals?”, you’d probably reply “3”. Then the OR version of the question is asked… and then it devolves to non-sense. Formal logic, however, does provide us with some explanations. Everyone is familiar with the truth table: P Q P AND Q P OR Q TrueTrueTrueTrue TrueFalseFalseTrue FalseTrueFalseTrue FalseFalseFalseFalse However, True and False are boolean values. Under the principle of bivalence, there can only be two truth values: True or False (in computers, they’re encoded as 1 or 0). I’m not going to discuss the philosophy of logic, so for the rest of this blog post let’s just accept that the logical operators AND and OR (generally) operate on boolean values.

  • General Meta Tags

    7
    • title
      Why 1 && 2 == 2 - Bigger on the Inside
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge
    • viewport
      width=device-width, initial-scale=1.0, maximum-scale=1.0
    • description
      This question was bugging me for a bit and I spent about 3 hours researching it: What is the result of the logical operation of 1 AND 2? Conversely, what is the result of the logical operation 1 OR 2? Clearly upon first look, this doesn’t make any sense to evaluate in a vacuum. In normal English, if someone were to ask you “1 AND 2 equals?”, you’d probably reply “3”. Then the OR version of the question is asked… and then it devolves to non-sense. Formal logic, however, does provide us with some explanations. Everyone is familiar with the truth table: P Q P AND Q P OR Q TrueTrueTrueTrue TrueFalseFalseTrue FalseTrueFalseTrue FalseFalseFalseFalse However, True and False are boolean values. Under the principle of bivalence, there can only be two truth values: True or False (in computers, they’re encoded as 1 or 0). I’m not going to discuss the philosophy of logic, so for the rest of this blog post let’s just accept that the logical operators AND and OR (generally) operate on boolean values.
  • Open Graph Meta Tags

    5
    • og:title
      Why 1 && 2 == 2
    • og:description
      This question was bugging me for a bit and I spent about 3 hours researching it: What is the result of the logical operation of 1 AND 2? Conversely, what is the result of the logical operation 1 OR 2? Clearly upon first look, this doesn’t make any sense to evaluate in a vacuum. In normal English, if someone were to ask you “1 AND 2 equals?”, you’d probably reply “3”. Then the OR version of the question is asked… and then it devolves to non-sense. Formal logic, however, does provide us with some explanations. Everyone is familiar with the truth table: P Q P AND Q P OR Q TrueTrueTrueTrue TrueFalseFalseTrue FalseTrueFalseTrue FalseFalseFalseFalse However, True and False are boolean values. Under the principle of bivalence, there can only be two truth values: True or False (in computers, they’re encoded as 1 or 0). I’m not going to discuss the philosophy of logic, so for the rest of this blog post let’s just accept that the logical operators AND and OR (generally) operate on boolean values.
    • og:url
      https://blog.chewxy.com/2013/07/19/why-1-2-2/
    • og:type
      website
    • og:site_name
      Bigger on the Inside
  • Twitter Meta Tags

    5
    • twitter:title
      Why 1 && 2 == 2
    • twitter:description
      This question was bugging me for a bit and I spent about 3 hours researching it: What is the result of the logical operation of 1 AND 2? Conversely, what is the result of the logical operation 1 OR 2? …
    • twitter:card
      summary
    • twitter:site
      @chewxy
    • twitter:creator
      @chewxy
  • Link Tags

    14
    • alternate
      https://blog.chewxy.com/index.xml
    • stylesheet
      https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css
    • stylesheet
      https://use.fontawesome.com/releases/v5.5.0/css/all.css
    • stylesheet
      https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
    • stylesheet
      https://blog.chewxy.com/css/main.css

Links

18