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
cupoosta [38]
3 years ago
6

Convert the following binary numbers to decimal:

Computers and Technology
1 answer:
olganol [36]3 years ago
8 0

Answer:

Hi!

10010101 = 149;

01110110 = 118;

00110011 = 51;

11100010 = 226;

10000001 = 129;

Explanation:

To convert binary numbers you can use this formula:

N = bit_{1} * 2^{0} + bit_{2} * 2^{1} + bit_{3} * 2^{2} + bit_{4} * 2^{3} + ... + bit_n 2^{n-1}, where position of the bit₀ is the rightmost digit of the number.

Results, using the formula:

10010101 = 1*2⁰+1*2²+1*2⁴+1*2⁷ = 1 + 4 + 16 + 128 = 149.

01110110 = 1*2¹+1*2²+1*2⁴+1*2⁵+1*2⁶  = 118;

00110011 = 1*2⁰+1*2¹+1*2⁴+1*2⁵ = 51;

11100010 = 1*2¹+1*2⁵+1*2⁶+1*2⁷ = 226;

10000001 = 1*2⁰+1*2⁷ = 129;

<em>Note:</em> All bits in 0 multiplied by any number are 0.

You might be interested in
What happens as the key length increases in an encryption application?
pashok25 [27]
<span>The answer is : Increasing the key length of DES would  protect it against brute force attacks.  </span>Brute force is when the attacker tries every key knowing that one will eventually work.  <span>Key length increase proportionally increases the key space,  having a keyspace l</span>arge enough that it takes too much time and money to accomplish a brute force attack.
6 0
3 years ago
If you said the bottom margin, you are talking about what?
user100 [1]
The space between the words and the edge of the paper
3 0
3 years ago
Read 2 more answers
Which tag will you use if you want your web page to look the same as your source code?
Stolb23 [73]

Answer:

The <samp> element allows you to output sample code as output.

The <pre> element also provides you the choice to output exactly what written in the source code

Explanation:

The two tags affords you the chance of outputting exactly what you have in the source code as your outputs.

6 0
3 years ago
Assume that you have an array of integers named arr. The following program segment is intended to sum arr [0]through arr[n−1], w
Paladinen [302]

Answer:

There is only one modification in the above loop i.e. while loop should be like this--

while (i != n)

     {

         sum+=arr[i];   // Line 1, In question segment it is line 2.

          i++;                // Line 2,  In question segment it is line 1.

     }

Output:

Now if the array input is 1,2,3,4,5 then the output is 15.

Explanation:

In the above question, all the line of the segment is right except the body of the loop because--

  • The First line of the loop is increment statement which increments the value of "i" variable from 1 and the value of "i" variable will be 1 in the first iteration of the loop
  • The second line starts to add the value from 1'st index position of the array. Hence the segment gives the wrong answer. It adds the arr[1] to arr[n-1].
  • So I interchanged both lines of the while loop as shown in the answer part. I make the line 1 (In question segment) as line 2(In answer part) and line 2 (In question segment) as line 1 (In answer part).

Now It gives the correct output because it can add arr[0] to arr[n-1].

7 0
3 years ago
I need help thanks please!
maw [93]

Answer:

a) to persuade

she is doing this to propose an idea to the boss of the company

6 0
3 years ago
Read 2 more answers
Other questions:
  • How useful do you find the creation of folders in your computer?
    8·2 answers
  • Which of the following is a job description for a person with a degree in information technology
    15·1 answer
  • Why do we need IP Addresses in order for the Internet to function properly?
    7·1 answer
  • _________________ ___________________ is an encrypted code that a person, website, or organization attaches to an electronic mes
    9·1 answer
  • What are the advantages of saving files in a cloud? <br>Please help!! ​
    11·2 answers
  • Which best describes how a supporting database will be structured?
    10·1 answer
  • ________ are the symbolic codes used in assembly language?​
    6·1 answer
  • What can be done to solve unemployment problem?​
    11·1 answer
  • The first person to say something in here will get brainliested.
    7·2 answers
  • Please help me please please
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!