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
love history [14]
3 years ago
14

The bubble sort algorithm sorts using what technique?

Computers and Technology
1 answer:
sweet [91]3 years ago
8 0

Explanation:

Bubble sort is one of the simplest sorting techniques present.

In bubble sort in every iteration we compare the each element with the next element if it is out of order then we swap the elements if not we do nothing and move to next iteration.This is done n-1 times where n is the number of elements in the array.

It this algorithms the element with highest value is bubbled out in each iteration hence it is called bubble sort.

You might be interested in
13. What is the suggested rpm on a hard drive for a laptop?
mario62 [17]
Usually it’s either 5400 or 7200RPM
3 0
4 years ago
What is a premium?
Dominik [7]
B- the amount you pay the health insurance company every month for coverage
4 0
4 years ago
Read 2 more answers
Define the following Window class:
Olenka [21]

Answer:

The following Window class are given below:

class Window  // define a class Window

{

private:   //access modifier

int width, height;   // integer type variable which is width and height

public:   //access modifier

Window(int w,int h)   //constructor that accepts two integer parameters

{

 width = w;

  height = h;

}

friend bool areSameSize(Window a, Window b)

{

 if ((a.height == b.height) && (a.width == b.width))

  return true;

 else return false;

}

};

Explanation:

According to the question: Firstly we have define a class which name is 'Window' and then we take two integer type data member and after that we have constructor that takes two integer type parameters and after all we have a areSameSize, friend function, which can take two objects and then it give output in the form of true or false, if they are the equal size and finally we check that if the width and the height  match then it returns the true and else it returns the false

3 0
4 years ago
State the base of correct addition of 27 + 6 =34​
Andrej [43]

Answer:

9

Explanation:

lets do calculations with ONLY the rightmost digits, ie., 7 + 6 = 4, so we're ignoring the carry.

Then, following must be true as well:

7+5 = 3

7+4 = 2

7+3 = 1

7+2 = 0 <= this reveals our base 9

7+1 = 8

7+0 = 7

6 0
2 years ago
X = 0
cricket20 [7]

The missing line would be x+= num

This means that every time a number is selected from the range it is added to the value of x.

3 0
3 years ago
Other questions:
  • Need answer quick
    9·1 answer
  • HELPPP ASAPP
    8·2 answers
  • The OSI is a reference system that is used by most types of technicians EXCEPT _____.
    11·2 answers
  • Dummy activities A. are found in both AOA and AON networks. B. are used when two activities have identical starting and ending e
    9·2 answers
  • DRU is a small brokerage house that enables its clients to buy and sell stocks over the Internet, as well as place traditional o
    14·1 answer
  • Select the correct answer.
    9·1 answer
  • Computing is the provision of IT services on demand.
    9·1 answer
  • Which of the following are parts of the natural environment? (Select the best four answers.)
    5·1 answer
  • how is a two-dimensional array different from a traditional one dimensional array? From an ArrayList?
    6·1 answer
  • Write a recursive function called DigitCount() that takes a positive integer as a parameter and returns the number of digits in
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!