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
TiliK225 [7]
3 years ago
9

The number of swappings needed to sort the number 8, 22, 7, 9, 31 in ascending order, using bubble sort is

Computers and Technology
1 answer:
AnnyKZ [126]3 years ago
4 0

Answer:

3

Explanation:

swap the 7 with the 22

swap the 7 with the 8

swap the 9 with the 22

You might be interested in
A ____ paragraph places the first character of a text line near the left border of a placeholder.
faltersainse [42]
A left - align paragraph places the first character of a text line near the left border of a placeholder. Paragraph alignments such as left - align, center - align and etc.. Are available on every word processing programs. The answer to your question is LEFT - ALIGN.
7 0
3 years ago
What is a propriety database
Alexxandr [17]
A proprietary database is a database that is not open to the public and has a password and is owned privately
3 0
4 years ago
7. Suppose that a RISC machine uses 5 register windows. a. How deep can the procedure calls go before registers must be saved in
Semenov [28]

Answer:

bbbbbbbbbbbbnbbnnnnnnnnnnnnnnnnn

6 0
2 years ago
A flat panel detector’s detector element size determines what?
Nastasia [14]

Answer:

A flat panel detector’s detector element size determines Spatial resolution.

7 0
3 years ago
python Write a class named Taxicab that has three **private** data members: one that holds the current x-coordinate, one that ho
Blizzard [7]

Answer:

see explaination

Explanation:

class Taxicab():

def __init__(self, x, y):

self.x_coordinate = x

self.y_coordinate = y

self.odometer = 0

def get_x_coord(self):

return self.x_coordinate

def get_y_coord(self):

return self.y_coordinate

def get_odometer(self):

return self.odometer

def move_x(self, distance):

self.x_coordinate += distance

# add the absolute distance to odometer

self.odometer += abs(distance)

def move_y(self, distance):

self.y_coordinate += distance

# add the absolute distance to odometer

self.odometer += abs(distance)

cab = Taxicab(5,-8)

cab.move_x(3)

cab.move_y(-4)

cab.move_x(-1)

print(cab.odometer) # will print 8 3+4+1 = 8

5 0
4 years ago
Other questions:
  • What are the latest technology in 2014
    11·1 answer
  • What are the disadvantages of using photo editing software in photography?
    14·1 answer
  • Not sure where I should ask this sorry
    15·1 answer
  • Consider the classes below: public class TestA { public static void main(String[] args) { ​ int x = 2; ​ int y = 20 ​ int counte
    6·1 answer
  • Microsoft presentation software tool is called
    10·2 answers
  • Assignment 1: silly sentences edhesive
    7·1 answer
  • Which of the following is not a key component of a structure?
    6·1 answer
  • Select the correct answer.
    10·2 answers
  • Написати лабараторну, на тему:Вивчення властивостей та застосування шаруватих пластиків та кермаміки
    13·1 answer
  • 1. As part of your community, your school, and your neighbourhood, how else does ICT have an impact on social
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!