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
kirill115 [55]
3 years ago
15

For the array given in FindDuplicateCount.java, which index is the last check we need to make to count all the duplicates? 5. In

terpret the number 101010 in bases 2, 10, 16. For each, convert to the other two bases. You need to show all 6 conversions: a) When interpreting 101010 as a base 2 number, convert to bases 10 and 16; b) When interpreting 101010 as a base 10 number, convert to bases 2 and 16; c) When interpreting 101010 as a base 16 number, convert to bases 2 and 10;
Mathematics
1 answer:
kykrilka [37]3 years ago
4 0

Answer:

a) 101010 as a base 2 number is the same as 42 in base 10 and 2A in base 16

b) 42 as a base 10 number is same as 101010 in bases 2 and 2A in base 16

c) 2A as a base 16 number is same as 101010 in base 2 and 42 in base 10

Step-by-step explanation:

a) When interpreting 101010 as a base 2 number, convert to bases 10 and 16;

First convert 101010 from base 2 to base 10

We number the digit from the rightmost digit starting from 0 and we have the following index:

1 = 5, 0 = 4, 1 = 3, 0 = 2, 1 = 1, 0 = 0

The we expand in the power of the index to base 2

= (1*2^{5}) + (0*2^{4}) + (1*2^{3}) + (0*2^{2}) + (1*2^{1}) + (0*2^{0})\\= (1 * 32) + (0 * 16) + (1 * 8) + (0 * 4) + (1 * 2) + (0 * 1)\\= 32 + 0 + 8 + 0 + 2 + 0\\= 42

Then convert to base 16: divide base 10 by 16

42 ÷ 16 = 2 remainder 10(A)

2 ÷ 16 = 0 remainder 2

Reading the remainder bottom-up; we have 2A. 10 is represented as A in Base 16.

b) When interpreting 101010 as a base 10 number, convert to bases 2 and 16;

101010 in base 10 = 42

Converting to base 2

42 ÷ 2 = 21 remainder 0

21 ÷ 2 = 10 remainder 1

10 ÷ 2 = 5 remainder 0

5 ÷ 2 = 2 remainder 1

2 ÷ 2 = 1 remainder 0

1 ÷ 2 = 0 remainder 1

Reading the remainder bottom-up; we have 101010 in base 2

Then convert to base 16: divide base 10 by 16

42 ÷ 16 = 2 remainder 10(A)

2 ÷ 16 = 0 remainder 2

Reading the remainder bottom-up; we have 2A. 10 is represented as A in Base 16.

c) When interpreting 101010 as a base 16 number, convert to bases 2 and 10

Converting from base 16 to base 10; we expand in the power of the index:

2A = (2 * 16^{1} ) + (A * 16^{0})\\2A = (2 * 16^{1} ) + (10 * 16^{0})\\2A = (2 * 16 ) + (10 * 1)\\2A = 32 + 10\\2A = 42

Converting to base 2

42 ÷ 2 = 21 remainder 0

21 ÷ 2 = 10 remainder 1

10 ÷ 2 = 5 remainder 0

5 ÷ 2 = 2 remainder 1

2 ÷ 2 = 1 remainder 0

1 ÷ 2 = 0 remainder 1

Reading the remainder bottom-up; we have 101010 in base 2

You might be interested in
I like to think of myself as the most lucky person out there. 'Why?' you may ask. My reasoning is quite simple, really. The reas
dusya [7]
That’s really nice man. I’m sure she’ll love it
5 0
3 years ago
Help please!!! the question and answer choices are on the pic!
Mila [183]
The answer to the question is D
4 0
4 years ago
Using the ratio of perfect squares method, what is square root of 79 rounded to the nearest hundredth?
beks73 [17]
In the most common sense,
 8.88 would be your answer 
i believe that that t\answer is correct. if it is not please tell me. 

also, please mark me brainliest. i want to up my rank
really hope
i helped



thnx


5 0
3 years ago
Does the following table show a proportional relationship between the variables X and y?
Lana71 [14]

Answer:

Step-by-step explanation:

25

5 0
3 years ago
A box contains 421 books. If your teacher orders 19 boxes of books, about how many books will arrive? Use estimation to find you
koban [17]
The answer is 8,000 because 19 times 421 equals 7,888 and that estimated is 8,000
8 0
3 years ago
Read 2 more answers
Other questions:
  • How do I start this?? what is the answer, im not really good at math
    14·1 answer
  • What r three rectangles with an area of 300 square feet?
    14·1 answer
  • 0.135 repeating as a fraction
    13·2 answers
  • the temperatue dropped 4C every hour for 8 hours what was the total number of degrees the temperature changed in 8 hours
    15·1 answer
  • Please help! Offering 15 points with brainiest
    6·2 answers
  • Write the equation of the line with slope = -3 and passes through (2,7)
    6·1 answer
  • If I go out to eat and my food is $20.98 and the tax is 8.6% and I give the waiter a 15% tip how much would it be all together?
    14·2 answers
  • Y+3=-7(x+5) in slope intercept form
    9·1 answer
  • Test.III.Give the Common Monomials factor of the following polynomials
    11·1 answer
  • I did a test for math and got a 64. I did a retake with the help of this app and look back at the other test and it just got me
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!