Problem:
Question- Give formal definitions for the following entities, selecting an appro- priate formalism you have studied in cits2211. State carefully any as- sumptions you make.
Part 1- Numbers which are equal to the difference between two prime num- bers.
Part 2- A string containing one or more decimal numbers, separated by commas and maybe also spaces eg "1.25, 6, 3.4667, 8.0" (not in- cluding the quotation marks).
Part 3- Palindromic words (that is, a word that reads the same backward as forward e.g. madam, toot ).
Please read all the questions carefully and answer them.