Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The teacher wishes to see if her pupils can make sense of words in which certain letters have been removed. She requires a when [

The teacher wishes to see if her pupils can make sense of words in which certain letters have
been removed.
She requires a when [space]key_pressed script that will take a word from the user and
display a new word that is the same as the original except that each vowel has been
removed. For clarification, the vowels should be considered as: a, e, i, o and u.
The user should input the word as a single string and the new word that is displayed should
be a single string.
For example, if the user enters
'raise'
then
'rs'
is displayed.
One way to create the new word to be displayed is to start with the new word as an empty
string and then work through the letters in the original word from first to last, creating the new
word incrementally. If the current letter is not a vowel then we add it to the new word,
otherwise we ignore it. This might be visualised as in Figure 2.
Original word
b. Create a when [space] key_pressed script to implement your algorithm. Depending on
your algorithm and the way in which you choose to implement it, you may also decide to
have a when_green_flag_clicked script.
cccsdjfnsldj
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

46. What is social engineering? Why does it work so well?

Answered: 1 week ago