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
Rama09 [41]
4 years ago
8

Consider the following list. list = {24, 20, 10, 75, 70, 18, 60, 35} Suppose that list is sorted using the selection sort algori

thm as discussed in the book. What is the resulting list after two passes of the sorting phase; that is, after two iterations of the outer for loop? list = {10, 18, 24, 20, 75, 70, 60, 35} list = {10, 18, 20, 24, 75, 70, 60, 35} list = {10, 18, 24, 75, 70, 20, 60, 35} list = {10, 20, 24, 75, 70, 20, 60, 35}
Computers and Technology
1 answer:
Nadya [2.5K]4 years ago
4 0

Answer:

list =  {10, 18, 24, 75, 70, 20, 60, 35}

Explanation:

Selection is a sorting algorithm that will set a cursor position and search for a minimum number from the list. When the minimum number is found, that minimum number will be swapped with the number in the cursor position. Only one number will be swapped and sorted in one iteration of outer loop. To sort the next number in the following outer loop iteration, the cursor will be moved to the next position and repeat the same search and swapping process as in the first iteration. When finishing all the iterations of outer loop, all numbers shall be sorted in ascending order.

You might be interested in
The parts of a memo are _____.
RoseWind [281]

They would be:

Reader’s name, your name, the date, the subject, and the body of the memo.

4 0
3 years ago
Read 2 more answers
The space where text and content is entered and positioned for onscreen reading or printing
tino4ka555 [31]

Answer:

Page.

Explanation:

A page typically occupies the largest portion of a document layout as it houses the main writeup or content of the document. The text contained in a document is written on a the main page of the document. The main page is surrounded by the page margin, which is an area which separates the tips or edges of an entire papwr and the writing area (page) of the document. The insertion point refers to an indicator which shows the position which a typed character will fall or be placed. Content written on a document's page is what is printed when the document is to be printed out and test entered on the page are what is seen by the reader.

4 0
3 years ago
When a program lets the user know that an invalid menu choice has been made, this is an example of?
kolezko [41]

The question has the multiple choices below

A) Input validation
B) output correction
C) compiler criticism
D) output validation

The answer is (A) Input validation

Also known as data validation, it is the correct and proper testing of any input supplied by an application or a user. It prevents wrongly formed data from entering the system. Applications should be able to check and validate every input entered into the system since it is hard to detect a malicious user trying to gain entry into software.










5 0
3 years ago
The ____ command enables you to initialize the terminal display or terminal window, to place text and prompts in desired locatio
inn [45]

Answer:

tput

Explanation:

8 0
4 years ago
Tanya purchases a new pair of shoes for $45. The cashier asks her to pay $48. Which of these explains the difference in price?
harina [27]

Answer:

An indirect tax in the form of sales tax

Explanation:

This is certainly the sales tax, and that the shoe retailer is charging with the actual price And each retailer must charge this as they have to submit the sales tax on the number of goods they sell in a year. And these are indirect taxes. Hence, the $45s here is the price of the shoe, and the extra $3s is the sales tax on that shoe. The retailer collects this on behalf of the government, and remember this is an indirect tax.

8 0
3 years ago
Other questions:
  • There’s No Difference In Security If You Use A Public PC Or Your Own Computer.
    6·1 answer
  • Explain how you give users keyboard access to a text box
    6·1 answer
  • What is the key value proposition of Google Search campaigns?A. Appear as a text ad, a video ad, or a banner ad on one of Google
    13·1 answer
  • Adjusting the ______ adjusts the difference in appearance between light and dark areas of the photo.​
    6·1 answer
  • What is the definition of Simplex transmission and Duplex Transmission?
    9·1 answer
  • What are the biggest problems facing the criminal justice system in the area of computer crime
    10·2 answers
  • Which of the following could you use to submit work from home?
    15·1 answer
  • What is NOT a built-in function in python?<br> sqrt()<br> string()<br> fabs()<br> O print()
    12·2 answers
  • Which of the following is an algorithm?
    15·2 answers
  • Using the arrow key you can adjust the position of a selection in increments of
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!