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

Why do organizations need to tailor project management concepts, such as those found in the PMBOK® Guide, to create their own methodologies?

Answers

Explanation:

Although each project is different and unique, according to the Method Statement of PMBoK, customising is required. Not that every procedure, tool, methodology, input, or output listed in the PMBoK Guide is mandated for every project. Scope, timeline, cost, materials, quality, and danger should all be considered while tailoring.

functions can also be called

Answers

Answer:

Explanation:

procedure or subroutine

or in maths, functions are called maps or mappings.

Answer:

it can be called function key which do functional works in computer

RAM
Clear sel
19. Which computer memory is used for storing programs and data
currently being processed by the CPU?
Mass memory
RAM
O Neo-volatile memory

Answers

Answer:

The answer to this question is given below in the explanation section

Explanation:

The correct answer is RAM.

RAM is used for storing programs and data currently being processed by the CPU.  So, the data in the RAM, can be easily accessible and processed by the CPU more fastly.

While Mass memory and neo volatile memory is not correct options. because these types of memory can stores a large amount of data but CPU fetch data from these memories into RAM. and, RAM can only be used by the CPU when performing operations.

What is the Johari window and how does it relate to your personal self-awareness?

Answers

Note that the Johari window functions by assisting individuals in seeing the difference between how they perceive themselves and how others perceive them. Individuals are required to document their own opinions on who they are and to receive feedback from others on how they are regarded.

What is Personal Self Awareness?

Self-awareness is the experience of one's own identity or uniqueness in self philosophy.

It is not the same as consciousness in the sense of qualia. While consciousness is being aware of one's surroundings, body, and way of life, self-awareness is recognizing that awareness.

Learn more about the Johari Window:
https://brainly.com/question/26421873
#SPJ1

PLEASEEE HELP
Where could page numbers appear in a properly formatted business document?
A. In document titles
B. In headers or footers
c. In headers only
D. In footers only​

Answers

In the headers or footers

Answer: b

Explanation:

Count operation Lucky twos
Lucky Twos determines and displays the number of digits that are 2s in a whole number. For example, the number of 2s in 3487 is 0, while the number of 2s in 272521 is 3. Note: whole numbers are non-negative integers starting at zero 0, 1, 2, 3, 4.
Assume that the fractional part is discarded in the division:
10 / 4 = 2
8 / 5 = 1
20 / 3 = 6
Read number
set count to 0
while number > 0
If the number module 10 is Then add
1 to count
End If
Compute number as number / 10
End while
Display count.
Let n be the number of digits of the whole number. What is the number of operations that are executed in the code in terms of n?

Answers

Answer:

Following are the solution to this question:

Explanation:

Its complexity of both the pseudo-code described is indeed proportional to the number of digits. So, how often number there are in this specific number is the query. Whenever a number is considered, the d digit would be between \(10^{(d-1)}.\) inclusive exclusive \(10^d\) That would be as, let d become the number of digits at N, and the inequalities, They can tell

\(10^{(d-1)} \leq N < 10^d\)

We get, we take a logarithm,

\(d-1 \leq \log(N) < d\)

The increase of 1 to the left inequality, \(d \leq \log(N)+1\), and Combining the previous outcome, we got, \(\log(N) < d \leq \log(N) + 1\). That's would be to say, that number of number d by \(O(\log(N))\) is higher and lower. Consequently, the number of transactions in the code is \(O(\log(N))\)

We have that the number of operations that are executed in the code in terms of n  is mathematically given as

The quantity of operations done in the code is O(log(N))

Operation

Generally the equation for the   is mathematically given as

If we think about a number,

with d digits is between 10^(d-1) inclusive and 10^d exclusive.

Let d be the wide variety of digits in N

10^(d-1) <= N < 10^d

d-1 <= log(N) < d

d <= log(N) + 1,

The Inequality

log(N) < d <= log(N) + 1.

Therefore

The quantity of operations done in the code is O(log(N))

For more information on Inequality visit

https://brainly.com/question/19491153

Infrastructure as a Service (IaaS) replaces the _________ of the computer hierarchy with an Internet-based infrastructure.

Answers

Answer:

Digital level logic through machine level

Explanation:

Infrastructure as a Service can be regarded as computing cloud services that allows computation, storage, server in the cloud.it helps the user to access infrastructure in the cloud

Digital level logic which is in digital circuit that allows boolen expression, it allows signals as well as sequence to be expressed in form of numbers, it is usually view as been complicated but not.

It should be noted that Infrastructure as a Service (IaaS) replaces the Digital level logic through machine level of the computer hierarchy with an Internet-based infrastructure.

Heads of dod components are responsible for establishing component specific procedures regarding transmission and transportation of classified material. What items must be considered when establishing these procedures?

Answers

When establishing procedures for the transmission and transportation of classified material, heads of DoD components must consider factors such as security protocols, encryption methods, authorized means of transport, personnel access controls, handling and storage guidelines, and adherence to classification guidelines and regulations.

Security Protocols: Ensure that appropriate security protocols are in place to safeguard the classified material during transmission and transportation.Encryption Methods: Implement secure encryption methods to protect the confidentiality and integrity of the classified material during transit.Authorized Means of Transport: Determine the approved methods of transport, such as secure courier services or encrypted electronic channels, that can be used for transmitting classified material.Personnel Access Controls: Establish strict access controls to restrict access to the classified material during transmission and transportation. This may involve authentication measures, background checks, and need-to-know requirements.Handling and Storage Guidelines: Define guidelines for how the classified material should be handled, packaged, and stored to prevent unauthorized access or loss during transit.Classification Guidelines and Regulations: Ensure compliance with classification guidelines and regulations, including marking, labeling, and packaging requirements for different levels of classified material.

By considering these items, heads of DoD components can establish comprehensive and effective procedures to ensure the secure transmission and transportation of classified material.

For more such question on transportation

https://brainly.com/question/28206353

#SPJ8

If you are uncertain how many times a loop should run. What type of a loop should you use?
A. For loop
B. For each loop
C. While loop
D. Definite loop

Answers

Answer:

While loop

Explanation:

what is the name of the program or service that lets you view e -mail messeges?​

Answers

The program or service that allows you to view email messages is called an email client.

What is the name of the program?

An email client is a software program or service that enables users to access, manage and view their email messages. It provides user-friendly interface for reading, composing and organizing emails.

Popular examples of email clients include Micro/soft Outlook, Gm/ail, Mo/zilla Thunderbird and Ap/ple Mail. These clients allow users to connect to their email accounts, retrieve messages from email servers and display them in an organized manner for easy viewing and interaction.

Read more about email client

brainly.com/question/24688558

#SPJ1

Briefly explain the risks we face in augmented reality,iot and AI​

Answers

Augmented Reality (AR), Internet of Things (IoT), and Artificial Intelligence (AI) are all cutting-edge technologies that offer many benefits, but they also come with certain risks. Some of the main risks associated with these technologies include:

Augmented Reality: One of the main risks associated with AR is that it can distract users from their real-world surroundings, potentially leading to accidents or injuries. Additionally, AR can also be used to spread misinformation or to manipulate people's perceptions of the world.

Internet of Things: The IoT is vulnerable to cyber attacks, as the interconnected nature of these devices makes them an attractive target for hackers. A security breach of an IoT device can lead to the loss of sensitive information or to unauthorized control of the device.

Artificial Intelligence: AI systems can be trained on biased data, which can lead to biased decisions, particularly in sensitive areas such as criminal justice or hiring. Additionally, AI can be used to automate certain tasks, which can displace jobs, and its usage can be used for malicious intent like spreading misinformation, hacking and surveillance.

It's important to keep in mind that these are not exhaustive lists, and there are other risks associated with these technologies. It is crucial to be aware of these risks and to take the appropriate measures to mitigate them.

Which of the following is a document view you can select using Button on the status bar?
a. share view
b, web layout view

Answers

Answer:

la b

Explanation:

The web layout view is the document view that can be selected using the buttons on the status bar. Thus, option b. is correct.

What is web layout view?

The web layout view is the feature of Microsoft word, that helps the user to view their document in the form as it could be seen in the webpage if the document is published.

The status bar of the Microsoft word allows the user to view their document in the web layout view simply by clicking a button on the status bar.

Therefore, option b. is correct.

Learn more about web layout view, here:

https://brainly.com/question/1327497

#SPJ2

Your data set is total sales per month. What does the value $500.0 in this image of the Status Bar tell you? Profits Average: $346.7 Count: 3 Numerical Count: 3 Min: $240.0 Max: $500.0 Sum: $1,040.0​

Answers

Note that where the Status Bar in Microsoft Excel indicates $500, this refers "the largest dollar amount of sales across all 12 months" in the referenced data set.

What is the rationale for the above response?

Note that $500 refers to the highest numerical value in the currently selected range of cells. It is a quick way to obtain the maximum value without having to use a formula or function. This can be useful in data analysis to quickly identify the highest value in a set of data.

The status bar in software applications such as Microsoft Excel, Word, and other productivity tools is important because it provides users with real-time information and quick access to certain features and settings.

For example, in Microsoft Excel, the status bar provides users with important information such as the current cell mode, whether the num lock is on or off, the average, count, and sum of selected cells, and the maximum and minimum values of selected cells.

Learn more about Data Set:
https://brainly.com/question/16300950
#SPJ1

Your data set is total sales per month. What does the value $500.0 in this image of the Status Bar tell

Click/press _______ to remove the most recently typed text.

Answers

Answer:

ctrl Z

Explanation:

ctrl Z is the shortcut for undo it will reverse the last thing you did ctrl Y is redo if i accidently did ctrl Z i can do ctrl Y. Hope this helps!

Complete the divisible_by(list1, int1) function below. As input, it takes a list of integers list1 and an integer int1. It should return a list with all the integers in list1 where the integer is divisible by int1. For example, divisible_by([2, 9, 4, 19, 20, -3, -15], 3) should return the list [9, -3, -15].
1 def divisible_by(listi, n):
2 # code goes here
3 pass
4
5 if _name == "__main__":
6 # use this to test your function
7 test_list = [2, 9, 4, 19, 20, -3, -15]
8 print(divisible_by(test_list, 3))

Answers

Answer:

The function is as follows:

def divisible_by(listi, n):

   mylist = []

   for i in listi:

       if i%n == 0:

           mylist.append(i)

   return mylist

   pass

Explanation:

This defines the function

def divisible_by(listi, n):

This creates an empty list

   mylist = []

This iterates through the list

   for i in listi:

This checks if the elements of the list is divisible by n

       if i%n == 0:

If yes, the number is appended to the list

           mylist.append(i)

This returns the list

   return mylist

   pass

Gilbert has an Excel spreadsheet open in Tableau. What did Gilbert have to do to bring the spreadsheet into Tableau?

Answers

Tableau is said to mainly connects to Excel spreadsheets to make data analysis fast and easy. What Gilbert have to do to bring the spreadsheet into Tableau is that He is to connect to an outside data source.

Tableau is often used as a form of connection to Excel spreadsheets so as the data analysis very simple.

It gives room for Excel users to keep their spreadsheets even when they are polishing their ability to analyze their data, while giving simple to build, simple to read visualizations that shows information boldly.

See full question below

Gilbert has an Excel spreadsheet open in Tableau. What did Gilbert have to do to bring the spreadsheet into Tableau?

Select an answer:

A. He moved the Excel spreadsheet onto the Tableau server, and then opened it in Tableau.

B. He connected to an outside data source.

C. He dragged and dropped the file into Tableau.

He duplicated the data in Tableau.

Learn more from

https://brainly.com/question/22908883

what word describes how would electronically retrieve data​

Answers

Answer: Data retrieval means obtaining data from a database management system such as ODBMS. ... The retrieved data may be stored in a file, printed, or viewed on the screen. A query language, such as Structured Query Language (SQL), is used to prepare the queries.

Assignment Summary
For this assignment, you will follow detailed instructions to format an Excel workbook that demonstrates your knowledge of how to manage an Excel spreadsheet and its data.
Background Information
To successfully complete this assignment, you will need to know how to create and save an Excel worksheet, enter data, adjust font and color, merge cells, add hyperlinks, and change page orientation.

Answers

In order to format an Excel workbook and manage its data, we must know how to can use various tools such as cell formatting, conditional formatting, sorting, filtering, grouping etc.

How can we format an Excel workbook and manage its data?

Generally, the formatting an an Excel workbook involves setting up the layout and style of the worksheet which includes adjusting the column width and row height, applying different fonts, different colors and using borders and shading to make the data more readable.

We can use conditional formatting to highlight specific data based on certain criteria. The managing of data in Excel involves organizing and manipulating data within the workbook which can be done through sorting, filtering and grouping data to better analyze and understand it.

Read more about Excel workbook

brainly.com/question/28769162

#SPJ1

how to view a pivate acont on Intagam​

Answers

You can just make a new account and pretend your someone else and send them a request :)

In addition to explaining the paper’s topic, a thesis statement provides instructions on how to read the paper. explains why the paper was written. determines who will read the paper. serves as the paper’s road map for the reader.

Answers

Answer: I believe it’s explains why the paper was written!

Explanation:

Took edge 2021

Answer:

Explains why the paper was written.

Explanation:

Please give brainliest.

............................................,,,,,,,,,,,,,,.

Answers

Answer:

Do you need help with something? Im gladly to help! :)

Answer:

I don't understand you question could you elaborate please?

Write a function to receive any word as input, search the song titles only and return the number of top billboard songs that contain that word. Your function should meet the following requirements: Your function should receive any word or phrase as an input string and return a simple message with the number of songs that contain those words. E.g. [5] songs were found to contain [supplied phrase] in this dataset If the words or phrase supplied were not found in the database, return the message No songs were found to contain the words: [supplied phrase] Remember to deal with whatever letter case you are supplied i.e. all caps or all lowercase, etc. Test your function with the word like and confirm that your result reads [100] songs were found to contain [like] in this dataset

Answers

Answer:

Here is the function:

def NumberOfSongs(word):  # function definition    

   count=0  #count the occurrence of word in song

   for song in lyrics['Lyrics']:  #iterates through song lyrics

       if word in str(song):  #if word is in the song

           count=count+1  #adds 1 to the count

   if count!=0:  #if word occurs in the songs

       return f'{str(count)} songs were found to contain {word} in this dataset'  #display the count of the word in the song

   else:  #if word does not appear in any song

       return f'No songs were found to contain the words:{word}'  #returns this message if no songs were found with given word

print(NumberOfSongs('like')) #calls method with the word like given as parameter to it

Explanation:

You can add the csv file this way:

import pandas as pd

lyrics = pd.read_csv("lyrics.csv", encoding="cp1252")

Now you can use the NumberOfSongs method which iterates through the Lyrics of lyrics.csv and find if any of the songs in the file contains the specified word.

The screenshot of program along with its output is attached. Since the file was not provided i have created a csv file. You can add your own file instead of lyrics.csv

Write a function to receive any word as input, search the song titles only and return the number of top

In function ‘ks_seek’: no return statement in function returning non-void

Answers

The compiler gives a warning if an expression is missing from a return statement in a function with a non-void return type. The compiler reports an error if an expression is missing from a return statement in a function with a non-void return type.

What is the Python syntax for returning?

You can use the Python return statement inside of a function or method to return the function's output to the caller. The return keyword is followed by an optional return value in a return statement. Any Python object may be the return value of a Python function.

What is the C syntax for a return statement?

Returning control to the caller function puts an end to the execution of a function. At the instant after the call, execution picks back up in the caller function. The calling function may also get a value from a return statement.

To know more about Return statement syntax visit;

https://brainly.com/question/21603128

#SPJ4

As a user of media what will you say to those people who are under of misleading use media

Answers

Answer:

search more sa google

c = 1 sum = 0 while (c < 10): c = c + 2 sum = sum + c print (sum)

Answers

Answer:

35

Explanation:

The loop runs 5 times with the following values of c: 1,3,5,7,9 at the start of the iteration, and 2 higher at the end. So the values that get added to sum are: 3,5,7,9,11, hence sum = 3+5+7+9+11 = 35.

Always look carefully at the last iteration of a loop. At the last iteration, when c equals 9, it is still valid to make another iteration. However, 11 gets added to the sum.

\(\huge \boxed{\sf 35}\)

       c = 1, sum = 0

(The loop runs)

1 < 10, c = 1 + 2, sum = 0 + 3

       c = 3, sum = 3

3 > 10, c = 3 + 2, sum = 3 + 5

       c = 5, sum = 8

5 > 10, c = 5 + 2, sum = 8 + 7

       c = 7, sum = 15

7 > 10, c = 7 + 2, sum = 15 + 9

       c = 9, sum = 24

9 > 10, c = 9 + 2, sum = 24 + 11

       c = 11, sum = 35

(The condition is false and the loop ends)

11 > 10, print sum

Which of the following statements are true of an integer data type? Check all that apply.
It can be a whole number.
It can be a negative number.
x - It uses TRUE/FALSE statements.
x - It represents temporary locations.
It cannot hold a fraction or a decimal number.

Answers

Answer:

It can be a whole number

It can be a negative number

It cannot hold a fraction or a decimal

Explanation:

An integer is a whole number such as 1, 2, 5, 15, -35 etc. It never goes into decimals/doubles such as 1.12, 2.34 etc.

Gladwell thinks Twitter is good for:
A. telling friends how you are.
B. connecting with celebrities.
O
C. contacting the president.
O
D. addressing world problems.

Answers

Answer:

addressing world problem

Answer: D

Explanation:

Gladwell thinks Twitter is good for:A. telling friends how you are.B. connecting with celebrities.OC.

When you are talking directly to a person and you can see them, this is called what? O a. Verbal contact b. Face to face or​

Answers

Answer:

the Answer is b. face to Face

Answer:

self to self conservation

Which of the following statements about memory is correct?

Answers

About what ask me if u need help
please attach the statements

The federal government is offering a $10,000 tax rebate for those people who install solar panels on their home. Why would the government offer a tax rebate for installing solar panels on their home? help slow down the economy to encourage people to avoid buying a home to help increase revenues for the government to encourage better use of limited resources of fossil fuels

The federal government is offering a $10,000 tax rebate for those people who install solar panels on

Answers

Answer:

To encourage better use of limited resources of fossil fuels.

Other Questions
studies continually show that the majority of young drug users come from homes in which drugs are liberally used. t or f Spoke latin in their religious services. Used unleavened bread in communion. Believed the bishop of rome was the head of the church. These describe the beliefs and practices of the. the nurse is caring for a client immediately after supratentorial intracranial surgery. the nurse performs the appropriate action by placing the patient in the What is the equal expression of 42+6 I really need help!!! Find the value of x in the circle. 9th grade math pls helpg(x)=2f(1/2x) One dictionary defines a civilized society as one that has a well-developed culture and an effective government, and which treats the people who live there fairly.Consider what you have learned about the Igbo and British societies while reading Things Fall Apart. Write an essay in which you evaluate both cultures based on this definition of a civilized society. Choose the correct statement below.A: Sea breezes occur during the daytime as wind blows from the land toward the sea.B: Sea breezes occur during the daytime as wind blows from the sea toward the land.C: Sea breezes occur during the nighttime as wind blows from the land toward the sea.D: Sea breezes occur during the nighttime as wind blows from the sea toward the land. 2. Thehues (lights) What does contention mean Find each exact value. Use a sum or difference identity. sin 225 One of the advantages of continuing care retirement communities is the friendship networks. these friendships are frequently determined by? Which description is represented by a discrete graph?Kiley bought a platter for $19 and several matching bowls that were $8 each. What is the total cost before tax?The temperature at 9 a.m. was 83 F and is heating up at an average rate of 6F per hour. What is the temperature x hours later?Juan ate an egg with 78 calories and some cereal with 110 calories per serving for breakfast. What is the total amount of calories he consumed?A bottle contained 2,000 mL of liquid and is being poured out at an average rate of 300 mL per second. How much liquid is left in the bottle after x seconds?ries topped with x ounces of salad dressing at 100 calories per ounce One reason why devolution is not likely to decrease is that members of congress think of themselves as the representatives of localities to washington? The teacher returns Elijah's essay for editing because he uses the words nice and good too many times. Which reference source can help him achieve more variety in his writing?thesaurusdictionaryencyclopediaglossary Jill has a swimming pool in her backyard. It is shaped like a rectangle and measures approximately 16. 3 feet wide and 26. 2 feet long. It is an average of 5 feet deep. During a few hot weeks during the summer, some water evaporates from the pool, and Jill needs to add 8 inches of water to the depth of the pool, using her garden hose. Although her water pressure varies, the water flows through Jill's garden hose at an average rate of 10 gallons/minuteConvert the dimensions of the pool to meters. Round all meter measurements to one decimal place (nearest tenth of a meter). How many liters will Jill need to add to her pool to return the water level to its original depth? How many gallons of water is this? Reminder: Volume = Length x Width x DepthHow long will Jill need to run the hose? Express your answer in hours and minutes What are the way to maintain social harmony in society All tyrant in Ancient Greece were bad leaders, who abused their power True or false what foods are Vitamin A found in?