UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
September
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Sponsored Links
Latest Postings
The History Thread...
by Gremelin
09/18/14 12:42 PM
Doom 3
by Cyrez
09/11/14 11:58 PM
Latest Reviews
Topic Options
Rate This Topic
#8247 - 02/10/04 09:47 AM Binary
Ntd Offline
Member

Registered: 01/21/03
Posts: 217
Loc: Melbourne, Victoria, Australia
Hey,

Just got one question about binary and it its...

if 127 is largest number you can get from a byte how do you get numbers like 1000030303032040 ??

Thanks.

(64+32+16+8+4+2+1=127 != 256 mate and its 2^7 not 2^8 last bit is the parity check)

FYI: By Byte i mean 2^7 not 2^8 because the last bit is the parity check bit.

Top
Sponsored Links
      
#8248 - 02/10/04 05:26 PM Re: Binary
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
Not to sure where you pulled 127 from, but that is totally wrong. The largest number a byte can be is 255, ie:

11111111

But binary numbers can be longer than a byte. That's just a convienent grouping we use for computer related things. The numbers work the same as decimal except instead of useing powers of ten we use powers of 2. So instead of 1, 10, 100, 1000 we have 1, 2, 4, 8, 16 and so on. If you have a binary number that is 9 bits long you can have a number up to 511, 10 bits would be 1023, etc. So we get those numbers by have long binary number and not restricting them to byte size only.

Infinite

Top
#8249 - 02/11/04 05:34 AM Re: Binary
Ntd Offline
Member

Registered: 01/21/03
Posts: 217
Loc: Melbourne, Victoria, Australia
Ok so your saying if we dont restrict it to byte size we can leave it, to say a megabyte size? So that would be 2^1024 not just 2^7?

Top
#8250 - 02/11/04 08:47 AM Re: Binary
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
yup

and a byte is 8 bits, 2^8

Top
#8251 - 02/12/04 02:46 AM Re: Binary
Ntd Offline
Member

Registered: 01/21/03
Posts: 217
Loc: Melbourne, Victoria, Australia
Ok i get it now thanks for the help.

Top

Moderator:  Infinite 
Featured Member
Registered: 03/02/02
Posts: 136
Forum Stats
2148 Members
46 Forums
34703 Topics
69873 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 27865
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Tim050, Gecko666, defghi795767, Devo60, ali
2148 Registered Users
Who's Online
0 registered (), 296 Guests and 251 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!