generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Do you know your binary? Fun exercise

Previous Thread :: Next Thread 
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 11:24 AM
Ever get tired of Lua? Let's skip the compiler and go right into binary. I will give two numbers and you give me the answer if you were to add the two. It will be on an 8 bit scale so keep in mind if you get something over 255 you might be wrong. Also, it could be negative. Alright scripters, here we go:


01001101 11000000 (Keep in mind for a negative, use two's compliment theory)


Adding those together what do you get?

Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
11 Sep 2015 11:34 AM
I have no idea what two's complement is, but assuming they are both positive, it is this:

100001101
Report Abuse
LimitedHex is not online. LimitedHex
Joined: 11 Aug 2015
Total Posts: 204
11 Sep 2015 11:43 AM
It's fake. Not even numbers.
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 11:50 AM
They are numbers?

01001101(97) + 10111111(-64) = 00100001(33)
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
11 Sep 2015 11:51 AM
"It's fake. Not even numbers."
This statement confuses me.


I probably don't know what I'm doing, but here's a wild shot in the dark at two's compliment.

01011001
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
11 Sep 2015 11:53 AM
Oh yeah, let me change that end bit. (Since NOT 2 is -3)

01011000
I think that's right?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
11 Sep 2015 11:56 AM
A-ha.
Would it be
00001101
?
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 02:32 PM
@jarod
01011000
That is close!
it's actually 00100001
Report Abuse
TwoRivers is not online. TwoRivers
Joined: 25 Aug 2011
Total Posts: 2821
11 Sep 2015 02:42 PM
i stole limitedhex's look


-TwoRivers/Iterum/100+ accounts
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 03:14 PM
Haha, Hex in disguise! Brilliant!
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 04:54 PM
Bump
Report Abuse
Coinman001 is not online. Coinman001
Joined: 10 Apr 2012
Total Posts: 56149
11 Sep 2015 05:18 PM
binary is base 2 at the guy who said its not even real numbers

R$1714889 TX16533 http://www.roblox.com/coinman001-item?id=107453514
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Sep 2015 05:20 PM
This thread is dumb, and so is everybody in it.

Binary in itself is a very simple number system, it is in no way related to Lua. And two's compliment is not specific to binary, making you look even more stupid.

If you think knowing binary will make you understand machine language, you're a moron.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Sep 2015 05:22 PM
Oh boy, I should have actually read the post...
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 08:37 PM
Lol? Just a simple fun thread and you have to come in like that again. Were you like bullied as a kid or something? Why are you so salty.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Sep 2015 08:39 PM
Are you an idiot? I just said I assumed before I read.
I was expecting something dumb again, like "binary = machine code, if you know binary you know machine code" crap.

77 + (-64) = 13
I hope I counted right
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 08:55 PM
You got it right, just saying to chill. There's already few programmers out there, why make enemies with the few?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Sep 2015 08:59 PM
Because apparently their illiterate.

'Oh boy, I should have actually read the post...'
I said that trying to say that my previous post was wrong because I assumed incorrectly.
Report Abuse
iBuildStuffz is not online. iBuildStuffz
Joined: 30 Apr 2015
Total Posts: 853
11 Sep 2015 09:02 PM
Okay, all is good
Report Abuse
Everment is not online. Everment
Joined: 08 Oct 2009
Total Posts: 6020
11 Sep 2015 09:05 PM
Something in my post wasn't being liked by the filter. hastebin/kefuzacobe
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
11 Sep 2015 09:05 PM
Actually, what isn't all good is the fact that cnt used the wrong form of there/their/they're.

Although, he could easily counter this statement by saying he did that intentionally, but there is no evidence he did.

Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Sep 2015 09:09 PM
Yes I did, oops
Report Abuse
Everment is not online. Everment
Joined: 08 Oct 2009
Total Posts: 6020
11 Sep 2015 09:11 PM
derp, i think i was considering my limits backwards. it should be negatives subtract one, not positives.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
11 Sep 2015 09:59 PM
I still think my last one was right, but I still have no idea what I'm doing.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Sep 2015 10:01 PM
You were right, just drop the 9th bit
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image