Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

**You are required to describe the following characteristics: purpose, input, process, and output, and create three test cases, pseudocode and a flowchart for each of

**You are required to describe the following characteristics: purpose, input, process, and output, and create three test cases, pseudocode and a flowchart for each of the following questions.**

Soundex is a system that encodes a word into a letter followed by three digits that roughly describe how the word sounds. That is, similar sounding words have similar four-character codes. For instance, the words carrot and caret are both coded as C630. A slight variation of the Soundex coding algorithm is as follows:

- Retain the first letter.

- For the remaining letters, delete all occurrences of a, e, i , o, u, h, y, and w

- Replace the letters that remain with numbers so that

- b, f, p, and v become 1

- c, g, j, k, q, s, x, and z become 2

- b and t both become 3

- l (that is el) becomes 4

- m and n become 5

- r becomes 6

- If the result contains two adjacent identical digits, eliminate the second of them.

- Keep only the first four characters of what you have left. If you have fewer than four, then add zeros on the end to make the string have length four.

Write a program that carries out the algorithm.

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

What are the through-the-computer techniques?

Answered: 1 week ago