Jump to content

what can you explane a little more O.o

~New~  BoomBerryPi project !  ~New~


new build log : http://linustechtips.com/main/topic/533392-build-log-the-scrap-simulator-x/?p=7078757 (5 screen flight sim for 620$ CAD)LTT Web Challenge is back ! go here  :  http://linustechtips.com/main/topic/448184-ltt-web-challenge-3-v21/#entry601004

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3185619
Share on other sites

Link to post
Share on other sites

So each digit gets it own 01011 ... from the binary code 

 

If I want to create say 64 digit how bit will that be !? and how to calculate it !? ( starting from 0  )

Well, 

 

0000000000 = 0 

0000000001 = 1

0000000010 = 2

0000000011 = 3 

0000000100 = 4

0000000101 = 5

0000000110 = 6

0000000111 = 7

0000001000 = 8

 

and so on

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3185627
Share on other sites

Link to post
Share on other sites

are they 10 bits for a reason !? 

no 

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3185657
Share on other sites

Link to post
Share on other sites

Counting in 64 bit sequences starting from 0? Do you literally mean

 

00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001

00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000010

00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000011

 

etc?

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3185675
Share on other sites

Link to post
Share on other sites

are they 10 bits for a reason !? 

 

Usually,  in binary, the most common amount of 'bits' are shown in groups of 8. We can refer to them as an 'octet'. With these 8 bits, we can make a maximum number of 255 (presuming all the bits in the octet are '1'). 

 

Search for Professor Messer's binary maths video. It should cover all the basics. As for your question, 64 can be represented as '01000000'.

Spoiler
Spoiler

Project Depravity: £850 / ????? (03/12/2015) Case: Phanteks Enthoo Primo SE Red Keyboard: Corsair K95 RGB MX Red Monitors: 3* Asus PG279Q Stand: Ergotech Triple Desk Stand Webcam: Logitch C920

Spoiler

RIP in kill: CPU: Single core Celeron M @1.73GHz RAM: 1GB (512MB x2) DDR2 SO-DIMM Motherboard: Asus MOCA-AR HDD: 160GB SATA2 5400rpm

Spoiler

Current System: CPU: Intel i5-4690K Cooler: Cooler Master Hyper 212 EVO Motherboard: MSI Z97 Gaming 5 RAM: Kingston HyperX Fury 8GB 1866MHz GPU: Gigabyte Windforce 960 4GB SSD: Sandisk Ultra Plus 128GB HDD: WD Caviar Blue 1TB PSU: Corsair CX500M Case: Corsair 200R Windowed MonitorLG 22MP55HQ 22" IPS + HP w19 MouseRoccat Savu Keyboard: Corsair Raptor K30 Mouse Pad: Perixx DX-1000XXL Headset: Kingston HyperX Cloud OS: Windows 10 Pro 64-bit 

 

 

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3185711
Share on other sites

Link to post
Share on other sites

Usually,  in binary, the most common amount of 'bits' are shown in groups of 8. We can refer to them as an 'octet'. With these 8 bits, we can make a maximum number of 255 (presuming all the bits in the octet are '1'). 

 

Search for Professor Messer's binary maths video. It should cover all the basics. As for your question, 64 can be represented as '01000000'.

 

Okay gonna see it

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3185756
Share on other sites

Link to post
Share on other sites

If I want to create say 64 digit how bit will that be !? and how to calculate it !? ( starting from 0  )

if you mean "how many bits do you need to write 64?" then the answer is 6

you can calculate it as the base 2 logarithm of the number you want to represent, rounded up

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3189580
Share on other sites

Link to post
Share on other sites

When working with numbers that are 2^x (two to the power of a number) you just shift the bit to the left.

 1 = 00000001 = 2^0 2 = 00000010 = 2^1 4 = 00000100 = 2^2 8 = 00001000 = 2^316 = 00010000 = 2^432 = 00100000 = 2^564 = 01000000 = 2^6

And so on. You can write out each number in binary like djdwosk97 posted to see that this is true.

 

Understanding this allows you to figure out numbers a little quicker by breaking a number into these pieces. Here's an example.

54 = 32 + 16 + 4 + 2So take the binary of each of those numbers54 = 00100000 +     00010000 +     00000100 +     00000010And added together the result is54 = 00110110

In the case of odd numbers, you simply will have the extra 1 = 00000001 on the end (which is still just a part of 2^x as I listed above)

23 = 16 + 4 + 2 + 1So add together the binary23 = 00010000 + 00000100 + 00000010 + 00000001So the result is23 = 00010111

You can double check with a binary calculator to make sure your right. For example if you type in "23 to binary" in Google it will show you "0b10111" which is just another way of writing binary. But if you look after the 0b you'll see that the answer is indeed 10111

Link to comment
https://linustechtips.com/topic/233117-noobie-question-bits/#findComment-3193748
Share on other sites

Link to post
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

×