answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Ted sorted these shapes three different ways Write sorting rules to tell how ted sorted?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between internal and external data structure?

Internal SortingExternal sortingIn internal sorting all the data to sort is stored in memory at all times while sorting is in progress.In external sorting data is stored outside memory (like on disk) and only loaded into memory in small chunks.The internal sorting methods are applied to small collection of data. The External sorting methods are applied only when the number of data elements to be sorted is too large. internal sorting takes input only which can be fit into its memory...i.e. it takes small inputexternal sorting can take as much as large input…Internal sort is more flexible as we can alter or update data before and after performing internal sort whereas the same doesn't hold true for external sort.internal sorting is independent of time to read/write a recordexternal ids dependent on the same


Why is a bubble sort often presented first when learning sorting methods?

Bubble sort is often taught first because it's a really simple sort, and quite easy to comprehend. Specifically in Python you should never write your own sort, but use the sorted() builtin function.


How do you write a c plus plus program to sort an array of numbers?

#include<iostream> #include<random> #include<ctime> #include<algorithm> int main() { std::default_random_engine generator ((unsigned) time (0)); std::uniform_int_distribution<unsigned> range (1, 60); std::uniform_int_distribution<unsigned> value (1, 100); int sorting[60] = {}; size_t max = range (generator); std::cout << "Unsorted:\t"; for (size_t i=0; i<max; ++i) { sorting[i] = value (generator); std::cout << sorting[i] << ' '; } std::cout << std::endl; std::sort (&sorting[0], &sorting[0]+max); std::cout << "Sorted:\t\t"; for (size_t i=0; i<max; ++i) { std::cout << sorting[i] << ' '; } std::cout << std::endl; }


Write a program sort a list of names in alphabetical order in java programming language?

// Let's assume we're sorting the characters in String toSort // convert the String to an array of characters char[] chars = toSort.toCharArray(); // let Java do the sorting for you Arrays.sort(chars); // recreate the original String with the newly sorted array of characters toSort = new String(chars);


Write a C function to do bubble sorting?

Correct formatting available here - http://pastebin.com/m2e947939 #include // The numbers we want to sort, need at least two int sort_size = 5; int sort_array[5] = { 1, 5, 2, 4, 3 }; int main() { int sorted = 0; int x; while( sorted != 1 ) { for( x = 0, sorted = 1; x != ( sort_size - 1 ); x++ ) { if( sort_array[x] > sort_array[x + 1] ) { // We are not sorted sorted = 0; // Swap sort_array[x] ^= sort_array[x + 1]; sort_array[x + 1] ^= sort_array[x]; sort_array[x] ^= sort_array[x + 1]; } } } printf( "And the numbers are...\n" ); for( x = 0; x < sort_size; x++ ) { printf( "%d\n", sort_array[x] ); } return 0; }


What are the types of sorting in c?

Any type you want to write. C does not provide sorting routines natively; you have to either use a library routine or write something. Some library implementations are based on quicksort or heapsort but, again, that is not a C (or C++) thing - it is a run-time library thing.


Why are roman numerals shaped like they are?

Roman numerals are shaped like they are because they are the easiest shapes to carve into wood and stone. I V X L C (should be more square like [ ) M These shapes are clearly different yet easy to write.


Write and demonstrate the UNIX commands for the following Find the number files in a directory Create a sorted list of logged in users. Find the number of lines containing the text IGNOU?

You are asking for two different things here. For a sorted list of users, type 'users'. For the number of lines containing any text, type: grep -c IGNOU list-of-files


What did the Sumerian's call the form of writing the invented?

It was called cuneiform. It was a type of writing where they would use triangular-formed styluses to push down into the clay to create different shapes, which were different letters. Not many citizens knew how to read or write.


How do you get sorted on hogwarts extreme?

1- When you register, you might have to wait a while. Then, you will see a box appear on your screen, telling you to get sorted. 2- Click on this box 3- Write a short paragraph about yourself 4- Submit it 5- Within a short amount of time (a few minutes - a day or two), you will be sorted into Ravenclaw, Gryffindor, Hufflepuff, or Slytherin, based on what you wrote about yourself.


I want to catagurize my questions so they have a chance of getting answered How do I do that?

I am not sure why questions are not sorted on the site Answered. You should write the company and see why.


How do write sorting of numbers using microprocessor?

There are several methods available to sort numbers. A simple way to program sorting is the so-called "bubble-sort". This is inefficient for larger lists of numbers; in which case it is more convenient to use one of the faster algorithms, for example, "quick-sort".