Question: Question 1 : ( 1 2 marks ) You are given a user - entered first name. Write an algorithm to create a list of
Question : marks
You are given a userentered 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:
Write an algorithm for the above task Structured English
Implement the algorithm using the OUBuild script following the algorithm.
Provide a screenshot of the list before and after using your first name as input.
You are required to submit the OUBuild file for this question with your TMA file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
