Question: Question 1 : ( 1 2 marks ) You are given a user - entered first name. Write an algorithm to create a list of

Question 1: (12 marks)
You are given a user-entered first name. Write an algorithm to create a list of individual letters from the user's first name, then display the list before and after sorting it in ascending order.
The algorithm will work as the following
When the user presses the Green Flag:
The algorithm will ask you to enter your name; after answering the request, each letter of your name will be added to a list as a single item, and then the script will display the list before sorting.
In the same script, when the user presses the "a" letter from the keyboard. The script will sort your name in ascending order and display the sorted list.
Hint: You must use loops and declare the required variables in your work.
Example:
1- Write an algorithm for the above task (Structured English).
2- Implement the algorithm using the OUBuild script following the algorithm.
3- Provide a screenshot of the list before and after using your first name as input.
4- You are required to submit the OUBuild file for this question with your TMA file.
Question 1 : ( 1 2 marks ) You are given a user -

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!