1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Naddik [55]
3 years ago
10

Can someone explain step by step on how to convert from base 2 to base 10 m​

Computers and Technology
1 answer:
Leno4ka [110]3 years ago
8 0
<h2>What is base 2?</h2>

You know how we have 10 1's in 10, 10 10's in 100, 10 100's in 1000, etc.? That's because, in the <em>decimal system</em>, our base, which you can think of as our "grouping number," is 10. In base 2, that grouping number is 2. To get a feel for what that means, let's try counting in this system. I'll use parentheses for grouping, and we'll write the digits at the end!

<h3>o, (oo)</h3>

We've reached two units, so we group them together since 2 is our base.

<h3>(oo)o, ((oo)(oo))</h3>

We have two groups of 2 now, so we wrap that up in a larger group!

<h3>((oo)(oo))o, ((oo)(oo))(oo), ((oo)(oo))(oo)o</h3>

If we wanted to look at that last number in base 10 in this same style, using paretheses for grouping, it would look like

<h3>ooooooo</h3>

Or 7 in base 10. How do we write something like

<h3>((oo)(oo))(oo)o</h3>

In digits? One way, the stardard way, is to count the number of each type of group that <em>isn't</em> enclosed in a group. For ((oo)(oo))(oo)o, we have

<h3>((oo)(oo)) - 1</h3><h3>(oo) - 1</h3><h3>o - 1</h3>

So we could write this number as 111 in binary. What would happen if we added one more? Well, now we'd have

<h3>((oo)(oo))(oo)oo</h3>

We can group the two o's together:

<h3>((oo)(oo))(oo)(oo)</h3>

And the two (oo)'s together:

<h3>((oo)(oo))((oo)(oo))</h3>

And the two ((oo)(oo))'s:

<h3>(((oo)(oo))((oo)(oo)))</h3>

And now the ungrouped bits are 1 (((oo)(oo))((oo)(oo))), 0 ((oo)(oo))'s, 0 (oo)'s, and 0 o's. We'd write this number as 1000 in base 2, and going back to base 10, we still don't have one full group of ten, so we can strip away the parentheses to get:

<h3>oooooooo</h3>

Which can be written as 8 in decimal.

<h2>Going from Base 2 to Base 10</h2>

Let's say we're given the number 1010 in base 2, and we want to turn that into a number in base 10. What do each of the digit's mean here? let's break it down:

  • 1010: Groups of 1
  • 1010: Groups of 2
  • 1010: Groups of 4
  • 1010: Groups of 8

We can write this as the sum 1\cdot8+0\cdot4+1\cdot2+0\cdot1, or 8+2, which gives us the base 10 number 10 - 1 ten and 0 ones.

<h2>Why base 2?</h2>

At first glace, base 2 seems a little excessive; why do we need 4 digits to write out the number 8? Why go through the trouble? To be honest, we didn't <em>have</em> to pick 10 as our base of choice - it came about historically because we have 10 fingers, and fingers are our main tool for counting. Base 2 finds its use in <em>computers</em>, which, at their most basic level, are a bunch of tiny on-off switches. Since each switch has <em>2 </em>states, base-2 is a natural way for computers to store and represent numbers. Remember that next time you see a movie hacker messing with 1's and 0's!

You might be interested in
Wireless networks usually use ____ signals to send data.
barxatty [35]
<span>Wireless networks usually use radio (b) signals to send data. </span>
6 0
3 years ago
Read 2 more answers
You are a cleared employee. Your friend called and told you that he saw information about the classified XYZ program on the Inte
m_a_m_a [10]

Answer:

Yes, because though you are a cleared employee, the classified information should not be open for all employees to see as it is a data disclosure violation.

Explanation:

Data is a vital tool in the business industry. The need to secure data or present it to be seen by competitors is very crucial as it maintains the dominance of a company on its competitors.

Only authorized employees in a company are allowed to view classified data and must report any siting of data spill, to avoid prosecution.

3 0
3 years ago
Why is the cpu the most important component in a computer?
german
CPU (Central Processing Unit) is also known as the brain of the computer because this is the place which actually runs the programs. The programs are the set of instructions needed to perform a task.
4 0
3 years ago
Spam is _____.
AfilCa [17]
Multiple answers. Attachment and practice of sending unwanted messages
6 0
3 years ago
Read 2 more answers
What is windows powershell? I downloaded a fake video game on my PC.(It was an accident) Now, powershell is bugging me. Is it a
IrinaVladis [17]

Answer:

The PowerShell is a kind of shell framework, which was being developed by Microsoft for covering various administrative tasks like the configuration automation and management of certain repetitive jobs. And the term 'PowerShell' does refer to both of these- and its the shell applied for executing commands, and scripting language.

And yes, you have been infected by the virus. You need to run the antivirus immediately.

Explanation:

Please check the answer section.

5 0
4 years ago
Read 2 more answers
Other questions:
  • How do say phone in French?
    10·2 answers
  • Why you think Operating System is pivotal in teaching and learning.
    13·1 answer
  • A window frame will expand to fill the entire desktop when you
    15·1 answer
  • Write a program that assigns two integer values from standard input to the variables int1 and int2, then prints "True" if they a
    10·1 answer
  • If you are working with a team of students on a class project and your team chooses to share content by uploading Word and Excel
    13·1 answer
  • Your textbook discussed a record store example where one user could perform a query to determine which recordings had a track le
    14·1 answer
  • The intuitive interface designed by alan kay is called a ________.
    11·1 answer
  • Grade 11 essay about the year 2020​
    9·1 answer
  • What is the answer <br> Answer 1<br> Answer 2<br> Answer 3<br> Answer 4
    13·2 answers
  • You can tell a cell is the active cell when it has a
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!