It's naught what you think

Logic Level 2

1 1 = ? \Huge{1\oplus{}1=?}

Hint: \oplus{} is bitwise XOR

2 1 0 I don't know

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Nishant Ranjan
Nov 18, 2019

Well the logical XOR has the property of returning a true(1) only when the two binary inputs are Different :

I will use ^ for denoting logical XOR.

So,

As the inputs here are the same,

1 ^ 1 = 0

well done. this was one of the intended solution

chase marangu - 1 year, 6 months ago
Chase Marangu
Feb 22, 2018

In bitwise logic there are lots of operators each with a unique 4-digit binary number corresponding to its table of outputs.

\oplus{} , or ⊻ is bitwise logical XOR and its binary number is, I think, 0110.

Just to clarify, for inputs a and b, a is 0011 and b is 0101.

So 0 0 = 0 0\oplus{}0=0 , 0 1 = 1 0\oplus{}1=1 , 1 0 = 1 1\oplus{}0=1 , and 1 1 = 0 1\oplus{}1=0 .

So 1 1 = 0 1\oplus{}1=0 .

The answer is 0.

EDIT: bitwise operators take all the bits of 2 numbers and apply the logical operator to the bits of the same place value to get a new number. I meant logical operators are the ones with tables, but 1 1 1\oplus{}1 is still 0 0 because it is the same thing if there is a one-digit base-2 number the bitwise operators are the same as the logical operators. You can think of them as an extended definition. Like fractals, they are most commonly found in computer programming, but you may find them in other areas of math. Logical operators are covered in a course on Logic on Brilliant, hence why I called the topic Logic not computer programming. Also to mess with people's heads. Also, did you notice the huge hint in the title?

chase marangu - 3 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...