Seminar sylabus PV260 (C# group 03)

4 - TDD homework

Convert a phrase into an acronym.

An acronym is an abbreviation sentence, created from the first letters of sentence words.

Use TDD.

Examples:

INPUT
OUTPUT
DRY
Asynchronous Javascript and XML
AJAX
Complementary metal-oxide semiconductorCMOS

It's up to you how to design the solution. Tests are required.

To consider (no need to implement):

What if one of the next requirement will be to create acronyms like "Rythm and blues" - R&B, or "The Institute of Electrical and Electronics Engineers" IEEE? How much do you need to change your code?

What design pattern do you choose if a user would like to pick how the acronym will be created? (Omit articles, prepositions or conjunctions, replace "and" with &, etc.)