[ Ссылка ] is a community of busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.
Follow us on twitter: [ Ссылка ]
Follow us on Twitch: twitch.tv/freecodecamp
Like us on Facebook: [ Ссылка ]
Follow Quincy on Quora: [ Ссылка ]
In this video, we decode a number written in binary notation.
Let's talk about the binary numeral system, also known as a bunch of 1's and 0's over and over again.
We're going to start by labeling, staring backwards, how many numbers there are.
(In this video there are 7, but we start at 0, so we only get up to 6.) Pretty straightforward.
The next step is to take 2 to the power of whatever place it is, a 2 to the 0, 2 to the 1, all the way up to the largest placeholder.
Then, all we have to do is fill in some mathamatical blanks by completing the exponential 2 problems.
If there is a 1, we keep that number (the two to the exponent solution) and add it to other \1\ or \on\ numbers.
If it's a 0, we disregard it.
In this video, our number adds up to 75.
Ещё видео!