Question

Write 6 big paragraphs simply describing the algorithms that are actually used by modern computers to...

Write 6 big paragraphs simply describing the algorithms that are actually used by modern computers to add, subtract, multiply, and divide positive integers.

Homework Answers

Answer #1

An algorithm is nothing but a set of instructions that is used to perform a specific task. That is, it is a step-by-step process followed to accomplish a specific task or to solve a specific problem.

One of the easiest examples of an algorithm is a recipe.

For example:

An algorithm for making a cup of tea:

1. Boil the water in a vessel

2. Add sugar to the water

3. Add tea powder to the water.

4. Stir the tea

5. Drink it

This is how an algorithm is.

So let's move on to the algorithm for arithmetic operation such as addition, subtraction, multiplication, and division

The standard algorithm for addition has three simple rules:

1. write the numbers to add vertically by matching the place values

2. Start the addition with the one's place.

3. Add together the numbers that share the same place value -

4. Again, start with the ten's place.

5. Regroup, if necessary.

For example the Addition of 345 with 34

Step 1: 3 4 5

3 4

Step 2: Start with the one's place

Step 3:  Add 5 and 4 which gives 9

Step 4: Add 4 with 3 and the carrier with the sum if any. Repeat the process for the rest of the numbers. Here the result will be 379

Algorithm for subtraction

1. write the numbers to subtract vertically by matching the place values

2. Find the difference between numbers at one's place.

3. Subtract together the numbers that share the same place value -

4. Again, start with the ten's place.

5. Regroup, if necessary.

Algorithm for multiplication

It is an algorithm (or method) to multiply two numbers. Depending on the size of the numbers, different algorithms are used.

1. Multiply the one's

2. Multiply the ten's

3. Add the regrouped ten

4. Repeat this for all the numbers

Algorithm for division

1. Consider for all positive integers a and b

2. 'b' not equal to zero

3. Quotient=a/b

4. Reminder=a%b

UPVOTE PLS...

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT