answersLogoWhite

0

What is sort in programming?

Updated: 12/21/2022
User Avatar

Marionothy02

Lvl 1
14y ago

Best Answer

Sorting in programming is the process of arranging elements in some prescribed order.

An example might be, given arrays of people's names and birthdates, to sort them by birthdate.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is sort in programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Can you make a program using HTML?

Yes, it is a Programming language however you can not create an Application like the sort of thing you'd find in Visual Studios.


When would you use bubble sort?

Never. Bubble sort is often cited as an example of how not to write a sorting algorithm and is used purely as a programming exercise. It is never used in production code. Although reasonably efficient when sorting small lists, an insertion sort performs better on average. But for larger lists it has no practical uses. A merge sort is better for large lists, but if stability isn't an issue a quick sort is even better. Hybrid sorts typically use quick sort until a partition is small enough for an insertion sort to complete the job.


Why would a programmer prefer SQL to other programming languages?

SQL does not compete with other programming languages, it is a special-purpose language for querying databases.If you work against a database, you need SQL either directly (writing your own queries) or indirectly (using some sort of framework that generates the SQL for you).


Is XML a programming language?

It is programming languages that are referred to in terms of "high level" and "low level".Extensible Markup Language(XML) is a markup language not a programming language, it is a data formatting specification that makes the presentation of data independent of programs (so that data can be passed between programs).For this reason the answer to your question is "neither".


Is Programming a language?

No, but of course there is a programmers' slang. And programming is done with so-called 'programming languages'.

Related questions

Is quick sort is an example of dynamic programming algorithm?

quick sort is a divide and conquer method , it is not dynamic programming


How to sort select and structure information to produce minutes?

In computer programming, selection sort is a tool that can be used to select structure information and sort it. It can also be used to add and delete minutes.


What is sort in C programming pls ans. this... thanks?

There is a built-in qsort function, see stdlib.h


Tell me about your favorite programming language?

It's a sort of Assembly, IBM System/390 compatible.


What is a programming function?

A programming function is like a verb in spoken language. It's a block of code that does something and has a name like Print or Sort. Functions are typically distinguished from methods, which are functions with some sort of surrounding context such as a method within a class or structure.


Why you need programming?

Without programming, this website would not exist, nor would the browser and operating system you're using to post this question. Therefore your question itself is fundamentally dependent on programming, creating a sort of paradox in which a created thing questions the importance of the thing responsible for its creation.


Can you make a program using HTML?

Yes, it is a Programming language however you can not create an Application like the sort of thing you'd find in Visual Studios.


Sort a book list in a library based on the discipline USING C plus plus programming?

Write your own C++ functions for the following problems:o Sort a book list in a library based on the disciplineo Print the sorted output on the console


How do you write a program that accepts 50 integer values and sort them in basic programming?

Create an array with 50 elements and input the integers one a time, filling the array. Use an insertion sort on the array for each input except the first. Alternatively, input the values first and then use insertion sort.


How arrays are useful?

Arrays hold objects in a programming language. For example, they could hold a list of names. You can sort or call up any of the names now that they are in an array easily.


Sorting of array through function in java programming?

// the build in sorting functions in Java will sort pretty much any array // of Comparable objects or primitives Arrays.sort(someArray);


What is mean by file handling in C programming?

There is a quite a lot of things you can do with files; some of them are: open, read, write, close, delete, copy, move, rename, concatenate, sort...