Question: You are requested to write a program according to the following specification: 1. Create a list that contains minimum 12 characters 2. Initialize the

You are requested to write a program according to the following specification: 

You are requested to write a program according to the following specification: 1. Create a list that contains minimum 12 characters 2. Initialize the list with random characters from alphabetical characters. 3. Sort the characters in the list as follows: a. find the smallest character in the list and then move it to the first position. b. Keep doing step a for all characters by finding the smallest character and moving it to the second position and so on till all the characters in the list are sorted. To answer question 1, you need to do the following: 1. Write an algorithm for the sorting process you will follow as described in steps a and b above. 2. What sorting algorithm did you use? 3. Implement the algorithm using OUBuild script following the above steps. 4. Provide 3 screenshots, one for the code, one for the initial list before sorting, and one for the list after the sorting is done. Example: (Note: Make sure to use different list than the one used in the example below when you answer your question). BA AB CD C BEBDE A A BBBBC C D DEE Unsorted List Sorted list

Step by Step Solution

3.33 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import random used for random assign of value def displaycharacters function to display list for i i... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!