Starting from:

$30

CSE 110 Module 5 Solved

 

Brand Name Generator 

1.     Problem Description: 

The Biotech start-up you are working for is developing new drugs quicker than you can say “Certain Fungal Infections”. You have been loaned to the marketing department to develop an application that can generate candidate names for these new medications. After some initial market research, your business users have come up with the following criteria for a brand name:

•       It must have at least 6 letters but no more than 12.

•       The letters at odd positions (1, 3, 5, ...) must be consonants (bcdfghjklmnprstvwxz).

•       The letters at even positions (2, 4, 6, ...) must be vowels (aeiou).

•       The letters ‘Q’ and ‘Y’ did not “resonate positively” with the focus group and should be avoided.

•       The first letter should be capitalized, the rest lowercase.

2.     Notes: 

•       You must create a method which generates one new drug name, as follows:

String generateName(int size) { … your code here … } 

The size parameter will be used to create a generated name of the given length.

•       Every time the application is run, it should generate 10 unique new brand names. Therefore, your main() method will call the generateName() method 10 times, printing the result each time. Your list should be numbered (see example below).

•       Turn in only your source files.

•       Do not use a package.

•       When the requirements refer to odd positions (e.g. 1, 3, 5), this is the position as a business user sees it. We know that the first position is really numbered 0. Careful with this distinction.

•       Want to read more about this? https://www.chicagotribune.com/business/ct-confusingdrug-names-0323-biz-20150320-story.html

3.     Required Main Class: 

BrandName

4.     Required Input: 

None

             

5.     Required Output: 

Your output should look something like the following example; your brand names will be different. It must include your name.

Brand Name Generator - E. Eckert 

 

1)   Sogefakipa 

2)   Sokilupi 

3)   Tikezefabe 

4)   Dikubimanu 

5)   Gizumuxox 

6)   Meviwive 

7)   Xunacum 

8)   Palusoxoro 

9)   Bekajo 

10)  Guvowi 

 

More products