What is a sorting algorithm

Answers

Answer 1

Explanation:

In computer science, a sorting. algorithm is an algorithm that puts elements of a list in a certain order. The most frequently used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the efficiency of other algorithms that require input data to be in sorted lists

What Is A Sorting Algorithm

Related Questions

What should Anthony use to determine his available study hours for an upcoming project? LOOK AT THE PICTURE

Answers

Answer:

The answer is B i got it right

Explanation:

Answer:

The correct answer is B

Explanation:

What two windows security updates do most organizations always patch?

Answers

Answer:

Explanation:

Patch Tuesday is the name given to the day each month that Microsoft releases security and other patches for their operating systems and other software. Patch Tuesday is always the second Tuesday of each month and more recently is being referred to as Update Tuesday.

Graphic software task​

Answers

Answer:

Graphic Designers

ProofHub as Project Management Tool. ProofHub is a versatile project management software for designers. ...

Jira. ...

Kanbanize. ...

Trello as Project Management Software for Graphic Designers. ...

Basecamp as Tool for Project Management. ...

Podio. ...

Asana. ...

Dropbox.

More items...•

Arnie is planning an action shot and wants the camera to move smoothly alongside his running characters. He is working on a tight budget and can’t afford expensive equipment. What alternatives could you suggest?

Mount the camera on a wagon, wheelchair, or vehicle and move it next to the characters.
Rearrange your script so you don’t need to capture the motion in that way.
Try running next to the characters while keeping the camera balanced.
See if you can simulate the running with virtual reality.

Answers

Camera and wagon are answer

Take the program written last weekend that creates a deck of cards, shuffles them, and then lists them out. Modify the program to 'deal' two hands of cards (two players). Each player will be dealt 5 cards. Deal one to the first player, then one to second player. Repeat until both players have 5 cards in their hand. Then compute the total points in each player's hand and determine the winner with the most points. If a player has an ace, then count that as 11 points. Print out the winning player total points and then his cards. Then print out the losing player total points and his cards. Turn in both your code and a copy of the screen output.

Answers

Answer: Here, you might need to make some changes to format it how you'd like, but it gives you the desired output :)

Explanation:

import random as chunky

def play():

   hand1, hand2 = [], []

   for n in range(5):

       hand1.append(chunky.choice(cardList))

       hand2.append(chunky.choice(cardList))

   print("Hand 1: ", end= "")

   for n in hand1:

       print(n, end= " ")

   print()

   print("\nHand 2: ", end= "")

   for n in hand2:

       print(n, end= " ")

   print()

   while "A" in hand1:

       hand1[hand1.index("A")] = 11

   while "A" in hand2:

       hand2[hand2.index("A")] = 11

   print(f"\nHand 1 Total: {sum(hand1)}  Hand 2 Total: {sum(hand2)}")

   print("\nHand 1 WINS!") if sum(hand1) > sum(hand2) else print("\nHand 2 WINS!")

cardList = [1,2,3,4,5,6,7,8,9,10,"A"] #Skipped King, Queen, and Jack. Did not know how to incorperate them

chunky.shuffle(cardList)

looper = True

while looper == True:

   play()

   x = input("\n\nWould you like to go again?(y/n): ")

   if x.lower() == "n":

       quit()

grade 11 essay about the year 2020​

Answers

Answer:

This 2020 have a new normal class because of CO VID-19 Disease have more students and teachers patient the teachers is preparing a module to her/his student and the student is answering are not learning lesson because of the COV ID-19 the whole word enduring to that pandemic and all fronliners is the hero in this pandemic because all frontliners is helping the people to we heal and to healed that virus.

Explanation:

((PLEASE HELP ME)) i need to get all my school work done before thursday
------------- are used to navigate between pages and Web sites.

Question 1 options:

Transitions


Animations


Hyperlinks


None of the above

Answers

Answer:

none of the above

Explanation:

Web navigation refers to the process of navigating a network of information resources in the World Wide Web, which is organized as hypertext or hypermedia. The user interface that is used to do so is called a web browser.

The virus which activated on a specific data and time is called

Answers

Trojans and other computer viruses that activate on certain dates are often called "time bombs".

See the lseek_example.c file. Modify the lseek_example.c, such that it reads from an input file (named "start.txt") and will print to an output file (named "end.txt") every (1+3*i)th character, starting from the 1st character in the input file. In other words, it will print the 1st character, then skip 2 characters and print the 4th one, then skip 2 characters and print the 7th one, and so on.
For instance, for input file:
ABCDEFGHIJKLM
It will output:
ADGJM
Iseek_example.c file contant:
// C program to read nth byte of a file and
// copy it to another file using lseek
#include
#include
#include
#include
void func(char arr[], int n)
{
// Open the file for READ only.
int f_read = open("start.txt", O_RDONLY);
// Open the file for WRITE and READ only.
int f_write = open("end.txt", O_WRONLY);
int count = 0;
while (read(f_read, arr, 1))
{
// to write the 1st byte of the input file in
// the output file
if (count < n)
{
// SEEK_CUR specifies that
// the offset provided is relative to the
// current file position
lseek (f_read, n, SEEK_CUR);
write (f_write, arr, 1);
count = n;
}
// After the nth byte (now taking the alternate
// nth byte)
else
{
count = (2*n);
lseek(f_read, count, SEEK_CUR);
write(f_write, arr, 1);
}
}
close(f_write);
close(f_read);
}
// Driver code
int main()
{
char arr[100];
int n;
n = 5;
// Calling for the function
func(arr, n);
return 0;
}

Answers

Answer:

See the lseek_example.c file. Modify the lseek_example.c, such that it reads from an input file (named "start.txt") and will print to an output file (named "end.txt") every (1+3*i)th character, starting from the 1st character in the input file. In other words, it will print the 1st character, then skip 2 characters and print the 4th one, then skip 2 characters and print the 7th one, and so on.

For instance, for input file:

ABCDEFGHIJKLM

It will output:

ADGJM

Iseek_example.c file contant:

// C program to read nth byte of a file and

// copy it to another file using lseek

#include

#include

#include

#include

void func(char arr[], int n)

{

// Open the file for READ only.

int f_read = open("start.txt", O_RDONLY);

// Open the file for WRITE and READ only.

int f_write = open("end.txt", O_WRONLY);

int count = 0;

while (read(f_read, arr, 1))

{

// to write the 1st byte of the input file in

// the output file

if (count < n)

{

// SEEK_CUR specifies that

// the offset provided is relative to the

// current file position

lseek (f_read, n, SEEK_CUR);

write (f_write, arr, 1);

count = n;

}

// After the nth byte (now taking the alternate

// nth byte)

else

{

count = (2*n);

lseek(f_read, count, SEEK_CUR);

write(f_write, arr, 1);

}

}

close(f_write);

close(f_read);

}

// Driver code

int main()

{

char arr[100];

int n;

n = 5;

// Calling for the function

func(arr, n);

return 0;

}

Explanation:

Plz help, will guve brainliest to best answer (if i can)

Answers

Answer:

Online text:1,3,4

not online text:2,5

Can i get any information on this website i'd like to know what its for ?
https://www.torsearch.org/

Answers

Explanation: torsearch.org is a safe search engine mainly used for dark wed purposes. It does not track your location nor give any personal information.

how to check if serial interface is dte ot DCE?

Answers

If you can see the DTE/DCE cable, you can tell by looking which router has the DCE interface connected to it - the letters "DTE" or "DCE" will either be molded into the connector itself, or if it's an older cable there should be a little piece of tape on the cable that tells you what the interface type is.

Question 2 (10 points)
enables you to view data from a table based on a specific
A-
criterion
Query
Report
Form
All of the above

Answers

Answer: Query

Explanation:

A query simply enables one to view data from a table based on a specific criterion.

We should note that a query is simply referred to as a precise request that is used when retrieving information with the information systems.

When requesting for the data results, and also for the request of some certain action on data, the query is used. If the user wants to perform calculations, answer a particular, make adjustments to w table etc, the query is used.

Other Questions
What is the name of the distal part of the radius? Thandi (talk) to mother Anderson every day .write it in correct tense The Schenck case emerged most directly from the context of which of the following?a. Critiques by radicals of United States foreign policyb. African American migration from the rural South to the urban Northc. Challenges by women to their prescribed status in societyd. Nativist resistance to migration from abroad PLEASE HELP!!! DUE IN 10 MIN!!! In order to determine the answer to a chemistry problem, a student first converted the given percentages to mole by assuming the sample size was 100 grams. Then the student divide by the smallest mole amount of the elements present. Finally the student used the ratios to write a formula. Which of the following best describes the problem the student likely solved? a. Determined percent composition b. None of the above c. Determining molecular formula d. Determining empirical formula algebraic expression 5a - 25b The 2000 population of a city was 705,000 and was increasing at the rate of 1.51% each year. At that rate, when will the population be 1 million Why is vapor pressure higher in oil than water if water has stronger IMFs? Concord Company gathered the following reconciling information in preparing its August bank reconciliation: Cash balance per books, 8/31 $20200 Deposits in transit 930 Notes receivable and interest collected by bank 4880 Bank charge for check printing 130 Outstanding checks 11100 NSF check 1000 The adjusted cash balance per books on August 31 is $12850. $13720. $23950. $24880. Help pleaseFind the value of x when y=0. x + 4 = y What process happens farther up the river to bring the sediments to the delta? A. volcanic eruptions B. erosion C. earthquakes D. friction Which tool is used by management against labor during negotiations?picketingstrikeboycottlockoutPlease Help will give brainliest and 100 points solubility of gas solutes in water as temperature increases such as CO2 or O2 gas and explain why using the collision theory. 8 + 6 (8 4) x 2 i need help PICTURE TALK activity: using the pictures below,write something about each This paragraph is from a diary account that describes what it was like for people traveling on boats from Europe to America in the eighteenth century.Add to this want of provisions, hunger, thirst, frost, heat, dampness, anxiety, want, afflictions and lamentations, together with other trouble, as e.g., the lice abound so frightfully, especially on sick people, that they can be scraped off the body. The misery reaches a climax when a gale rages for two or three nights and days, so that every one believes that the ship will go to the bottom with all human beings on board. In such a visitation the people cry and pray most piteously.Gottlieb MittelbergerWhat can be learned from the paragraph? Apply what you know about making inferences and summarizing.The most important idea in the paragraph is that life on the ship was.An inference that can be made from the text is that people cried and prayed because they believed they might soon.. Plsss Help!!! Will mark brainiest!! How did the Roman confederation discourage revolt among the Roman people?A. Promoted for treatment of conquered people.B. It lowered taxes for all Roman citizens and allies.C. It permitted Roman allies to serve in the government.D. Its strengthened military presence in strategic locations. what is the surface area of the jewlery box below ? ( click on the image for the full box )A. 146 cmB. 292 cmC. 336 cmD. 672 cm Maple Moving Company has provided you their unadjusted account balances to before year-end adjustments. The Controller has asked you to prepare the Adjusted Trial Balance and has provided you with further year end information. Use the information included in the Excel Simulation and the Excel functions described below to complete the task. On December 31,2016, Maple Moving Company had the following balances before year-end adjustments :Cash 62500Accounts Receivable 51000Supplies 67600Trucks 176000Accumulated Depreciation 17600Accounts Payable 37500 Interest Payable -Wages Payable -Unearned Revenue 6600Notes Pavable 100,000 Common Stock 66000 Retained Earnings 23400Service Revenue 167000 Wages Expense 61000 Supplies Expense -Depreciation Expense -Interest Expense -Required: Use the unadjusted account balances above and the following year-end data to 3 determine adjusted account balances and propare an adjusted trial balance. Use the unadjusted account balances above and the following year-end data to determine adjusted account balances and prapare an adjusted trial balance. What is the solution to the system of equations? 5x+3y=18 2x3y=10