Jump to content

How?


Recommended Posts

Except then wouldn't your question be 1 + 1 = 10?

 

That's what I originally thought too, but there's something about the modulus that would make it 11, which would set it back to 1 since it exceeded 10 by 1. 10+1 mod 10 =1?

Perhaps I'm thinking of a specific setup, too specific,

Edited by questionposter
Link to comment
Share on other sites

That's what I originally thought too, but there's something about the modulus that would make it 11, which would set it back to 1 since it exceeded 10 by 1. 10+1 mod 10 =1?

Perhaps I'm thinking of a specific setup, too specific,

 

You could do (1+1) mod 2, but that's just 0. 1+1 in binary is, in fact, 10.

 

And yes, (10+1) mod 10 = 1.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I think the only case where this would be correct is in logic gates,

for instance a OR gate with the inputs 1 and 1 will have output of 1,

but if you wanted to answer to be binary then 1 + 1 = 10 or 0 in binary

depending on the max bit size that you are allowed to use.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.