Three different numbers need to be placed in order from least to greatest. For example, if the numbers are ordered 9, 16, 4, they should be reordered as 4, 9, 16. Which of the following algorithms can be used to place any three numbers in the correct order?
If the first number is greater than the last number, swap them. Then, if the first number is greater than the middle number, swap them.

If the first number is greater than the last number, swap them. Then, if the first number is greater than the middle number, swap them.
A

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them.

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them.
B

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them. Then, if the first number is greater than the last number, swap them.

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them. Then, if the first number is greater than the last number, swap them.
C

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them. Then, if the first number is greater than the middle number, swap them.

Answers

Answer 1

Answer:A

Explanation:


Related Questions

A flashing symbol that allows you to input text.

A. Cursor

B. Mouse

C. Search Engine

D. Text Box

Answers

The correct answer is A. Cursor

Answer:

A. Cursor.

Explanation:

If you read the answer choices carefully, none of them fit in with the "flashing symbol" category, even though some of them might allow you to input text. However, you have used a computer before to type out text, just like how you typed this question to Brainly. Therefore, you should also know how a cursor acts. It flashes and allows you to input text as well.

Therefore, A is the correct answer to this question.

Hope this helped!

~Jinachi~

Which of the following numbers might this code generate: random.randint(1,9)?

0
10
11
1

Answers

Answer:

1

Explanation:

In Python programming language, the random.randint function is an abbreviation for random integers.

Basically, the random.randint is used for generating or creating a random integer numbers.

The syntax for this code can be written as;

A = random.randint(1,9)

Print ("Random number between 1 and 9 is % s" % (A))

Note, the numbers between 1 and 9 are 1, 2, 3, 4, 5, 6, 7, 8 and 9.

From the answer choices given (0, 1, 10 and 11), the only number that matches the requirement is 1.

Therefore, the number this code random.randint (1,9) might generate is 1.

How much mail can be
stored in each mail box?​

Answers

Answer:

Most mailboxes are 1 - 4 GB with one or two larger.

Explanation:

View which is used to specify the tables fields , their data types and properties ​

Answers

Answer:

i am hina i am grade 12 C

Explanation:

my siater name os sana

Answer:

There are 2 basic views when you work in a table: Design View and Datasheet View. Design View is used to set the data types, insert or delete fields, and set the Primary key.

Hope it helps..

Have a great day : )

What are 3 similarities and 3 differences between live theatre and film/videos -Drama Class

Answers

Differences-
1. Theatre is live. Film has been captured in the past. We only see after the making process is done.

2.You have chance for improvement in each theatre shows but its impossible in Films. Once film is done its done.

3.Normally Theatre is cheaper, films are costly.

Similarities-

1.Theatre and films both are arts, so many varieties of arts melt into theatre or film to make it happen.

2.Theatre and films both are very effective medium of communication.

3.Theatre and films both are considered as great form of Entertainment.

When comparing systems software and application software, what is the main difference?

Answers

Answer:

it is a

Explanation:

i did the test

Which word best describes the feeling you have when you are in the learning zone?

A. Comfortable
B. Accomplished
C. Unsure
D. Agitated

Answers

Explanation:

This is probably something like a feedback form

but I feel unsure/comfortable

Answer: Accomplished

Explanation:

HELP ASAP!!! What portfolio document is most likely to speak of your soft skills?
cover letter
transcript
recommendations
resume

Answers

Answer: resume

Explanation:

Answer:

recommendations was the right answer

Explanation:

You are embedding a video in your Webpage. What three formats should you specify in the source
element to ensure that most browsers and devices can access your video?
a
b
MP4, MP3 and Wav
WebM, Ogg and Wav
MP4, MP3 and Ogs
MP4, WebM and Ogg
с
d
Next Page
Back

Answers

Answer:

d

Explanation:

Complete the following sentence by choosing
the best answer from the list below.
enables information to be viewed in
an easily understandable format.
O An output device
O An input device
O A hard disk
O A raw data device

Answers

Answer:

The correct answer is Option 1: an output device.

Explanation:

A computer is an electronic machine that works according to data and instructions given to it.

The data is the input and information is the output.

Input devices are used to take input and output devices are used to display the results of processing as output.

From the given options, An output device is the one which enables the information to be viewed in easily understandable format.

Hence,

The correct answer is Option 1: an output device.

Answer:

Output device

Explanation:

1 point
Which of the following best describes the purpose of a design
specification?
help plssss!

Answers

...You didn’t say what the choices are

a man takes 30 step to cover 18 metre l,how many step he will needed to cover 3003m distance​

Answers

he will need to take 5,004 steps to cover 3003m distance
3003/18=166.8
166.8 x 30=5004
Answer is 5004

What process renders high-level programming code into usable code for the CPU?

Answers

Answer:

Compilation

Explanation:

The compiler links your code and assembles it and compiles it to a binary file. For more information you can find it on or the internet

How Much did a case of soda (any kind your choice ) cost in 2004?
PLS HELP!!!!!!

Answers

Answer:

2004 88 cents for 2 cans

Explanation:

Please help w/ Java, ASAP!!!!

Answers

Answer:

B

Explanation:

When you have a method that is copying values from one array into another, you first have to initialize a new array which you can copy the values into. This is done by using the provided value "count".

   int [ ] nums = new int [count];

Second, you have a "for each" loop that iterates over each index in the first array, and assigns the value at that index to the same index location in the copy array. In a "for each" loop, the variable "val" represents the content of an index, not an iterated value itself. This is why we can just do this inside the loop:

  nums[ j ] = val;

That said, you still need "j" to be there and increment because we still need a tracking value for the current index in the copy array.

   int j = 0;

   for (int val: array)

   {

     copyArray[j] = val;

    j++;

   }

Third, you return the copy version of the array.

return nums;

Source:

I am currently a second year Java student.

Consider the following code: x = 5 x = x * 3 print (x) What is output

Answers

Answer:

Output: 5

Explanation:

It will print 5 on the screen

In which TWO cases would you need to format a cell in a spreadsheet that contains a number? to make sure a formula includes it in calculations to change its appearance to make it easy to visually locate it to ensure no-one can use the number in calculations to ensure no-one can hide the column that contains it

Answers

Answer:

to make sure a formula includes it in calculations to change its appearance to make it easy to visually locate it

Explanation:

Microsoft Excel is a spreadsheet application used for data analysis and visualization. The worksheet of the excel file is tabular with rows and columns. A single block of the worksheet is called a cell and holds a single item located by the row and column label.

The particular cell can be referenced in a formula using the absolute reference operator '$' with the syntax "$column-label $ row-number". The background of the cells can also be formatted to have a different color.

An application's certificate indicates the application -
A is regularly updated
B cannot be removed
C is installed
D is authentic

Answers

Answer:

D. is authentic

Explanation:

Authentication can be defined as the process of verifying the identity of an individual or electronic device. Authentication work based on the principle (framework) of matching an incoming request from a user or electronic device to a set of uniquely defined credentials.

Basically, authentication ensures a user is truly who he or she claims to be, as well as confirm that an electronic device is valid through the process of verification.

Biometrics, smart cards, digital certificates, and picture passwords are various methods that can be used to perform an authentication.

Hence, an application's certificate indicates the application is authentic. These certificates are generally referred to as digital certificates.

When an end user installs a software application or program, the computer or mobile device would automatically verify the digital signature contained in the software. If the authentication process is successful, the software would be installed. Else, the installation process would be terminated.

In the Business world people are often measured by their???

A- soft skills
B- hobbies
C- iq
D- technical skills

Answers

Answer: D technical skills

NEED ASAP.


Which multimedia feature can be used to automatically move objects in your slides?
X transition
O animation
O clipart
O innovation

Answers

Animationnnnnnnnnnnnn
Animation or clip art!!

Which one of these is NOT a function of an operating system? *

Managing computer hardware
Managing computer software
Allowing humans to talk to the computer
Performing quick calculations

Answers

Answer:

Allowing humans to talk to the computer

Explanation:

the operating system manages the computer hardware and software

and it also allows the ALU to perform quick calculations

please help me
...
.... ​

Answers

Answer:

formal information searches

Explanation:

Answer:

informal information source

hope it will help if it helps please ask me in comment

define input hardware​

Answers

It’s a piece of hardware (you can touch it) that changes something on the screen. Examples are a keyboard putting letters on the screen or a mouse moving the cursor

Megan wants to post a picture of her and her friend Jennifer on her social media page. What should Megan do before she posts the picture?

A. Add a caption.
B. Ask her friend for permission.
C. Make sure she looks good.
D. Edit the picture using Photoshop.

Answers

Answer:

B. Ask her friend for permission.

Explanation:

Answer: B ask her friend for permission

hope you do good on the test or quiz.. it would mean alot to be brainlEst

So my teacher asked us to predict who would win in a death match, and we could choose the two characters, so Alastor from Hazbin Hotel vs Blackhat from villinous, who would win?

Answers

Answer:

I think alastor from Hazbin Hotel.

Answer:

alastor

Explanation:

i mean alastor is a demon and blackhat we dont know if he is a demon or not but i mean alastor would win he took down a flying ship that was trying to kill them

edhesive 6.8 lesson practice answers please ​

Answers

Answer: any more info yo can give me. i want to help i dont undestand

Explanation:

Answer:

import simplegui

import random

# global constants

WIDTH = 600

HEIGHT = 400

PARTICLE_RADIUS = 5

COLOR_LIST = ["Red", "Green", "Blue", "White"]

DIRECTION_LIST = [[1,0], [0, 1], [-1, 0], [0, -1]]

# definition of Particle class

class Particle:

  # initializer for particles

  def __init__(self, position, color):

      self.position = position

      self.color = color

  # method that updates position of a particle    

  def move(self, offset):

      self.position[0] += offset[0]

      self.position[1] += offset[1]

  # draw method for particles

  def draw(self, canvas):

      canvas.draw_circle(self.position, PARTICLE_RADIUS, 1, self.color, self.color)

  # string method for particles

  def __str__(self):

      return "Particle with position = " + str(self.position) + " and color = " + self.color

# draw handler

def draw(canvas):

  for p in particle_list:

      p.move(random.choice(DIRECTION_LIST))

  for p in particle_list:

      p.draw(canvas)

# create frame and register draw handler

frame = simplegui.create_frame("Particle simulator", WIDTH, HEIGHT)

frame.set_draw_handler(draw)

# create a list of particles

particle_list = []

for i in range(100):

  p = Particle([WIDTH / 2, HEIGHT / 2], random.choice(COLOR_LIST))

  particle_list.append(p)

# start frame

frame.start()

Explanation:

What kind of loop should be used in a game where the user is guessing a secret code and the message"guess again" appears until the user guesses correctly?

Answers

Answer:

While loop

Explanation:

It should be noted that the number of times which the computer will ask the user to take a guess is not known.

When we have a condition like this, the while loop (or in some programs; the do-while loop) is to be used.

To further back my point, see the following program in python.

secret_code = 1234

user_guess = int(input("Take a guess: "))

while user_guess != secret_code:

    user_guess = int(input("guess again: "))

print("You guessed right")

The above program will keep asking the user to take a guess until the user enters 1234.

This may or may not be possible with a for loop.

describe a tsunami when it is far from the coast

Answers

I hope it is helpful for you ......

Mark me as Brainliest ......

Tsunamis are marine phenomena, created by the abrupt displacement of large amounts of water into an aquatic formation. Tsunamis manifest as waves, which travel in the deep waters of the oceans at an average speed of 756 kilometers per hour.

While in deep water the tsunami, due to its characteristics there, is not considered a serious danger to the floating structures, reaching the shores has particularly devastating consequences.

Learn more in https://brainly.com/question/15964056

Where does the revolver get the IP address of a site not visited before?

the file server

the name server

the IP provider

the print spooler

Answers

Answer: The name server

Explanation:

Nameservers are part of a large database called the Domain Name System (DNS), which acts like a directory for devices and the IP addresses attached to them. What nameservers do is use this information to translate domain names into numerical IP addresses – the language our computers understand

HEEEEELPPP!!!BRAINLIEST!!! THIS IS URGENT!!!

Read the following code:

count in range(80):
leo.forward(count * 2)
leo.left(count + 2)

There is an error in the for loop. What should be fixed?

Add a colon to the end of the statement
Begin the statement with the proper keyword to start the loop
Place the loop condition outside the parentheses
Replace the parentheses around the range with quotation marks

Answers

Answer:

Begin the statement with the proper keyword to start the loop

Explanation:

Given

The code segment

Required

Fix the code

The first line of the code segment is meant to be a for loop, but it does follow the right syntax.

This is so because the for keyword is missing.

The first line should be corrected and replaced with:

for count in range(80):

Hence, option (b) is correct

Other Questions
How do Milgrams experiments support situationism? a. They prove that people are controlled by their environment, not their free will. b. They reveal that people are less likely to resist if isolated in a situation. c. They suggest that a persons personality is influenced by their environment. d. They showed how people can behave a certain way based on a situation. EMERGENCY HELP PLEASE he said to me "no sir I did not quarrel with your servant yesterday"change into indirect The concept of energy can be calculated in multiple ways. Which units are used for energy? Check all that apply. Marty had 10 pens. Four of these pens were blue. What is one way to show the ratio of blue pens to the total number of pens Marty had? Number 1 helppppppppppppppppp What is the least common denominator of the rational expressions below? Why was the world created? Tanya bought a new television for $1,200. The deal was attractive to her because she was required to make interest payments on the $1,200 purchase for the first year. After one year of interest-only payments, how much did Tanya owe on the television? Zachary runs steadily at 10km/hr. HIs distance can be modelled by the equation y=10x, where y gives his distance (km) in relation to time (hrs). The kidnapper runs at 5km/hr (since he's carrying a princess) and is already 30km away when Zachary begins his pursuit. Give the equation for the kidnapper's distance (y) in relation to time (x) in slope-intercept form (y=mx+b) and then, standard form( ax + by+ c=0) What subject pronouns would you use to talk about these people?Carlos I need help, I don't quite understand did the paleolithic humans migrate in small or large groups? whicht of the following nutrients is primarily used or buiding and repairing of demaged cells and tissues Name five people who wanted freedom for the American colonies What is the x and y value in -3x + y = 4 and -9x + 5y =-1 Construct a quadrilateral ABCD, where AB = 7 cm, AD = 6.4 cm, angle A = 75, angle=100 and angle D = 110. What is the measure of angle angle C? On January 1, 1863, President Abraham Lincoln issued the Emancipation Proclamation, freeing the slaves in Confederate territory. Lincoln believed he had constitutional authority to take such action as I have a project for my art class and we have to make a still life drawing out of objects they listed. I just wanna know what you guys think about it and if the proportions are alright. Which of the following is NOT a unique property of water? A. Ice floats on the surface of lakeB. Water covers most of Earth's surfaceC. Water cools very rapidlyD. Water causes evaporative cooling