Question: Question #1: Testing the Palindrome Function A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as forward,

Question #1: Testing the Palindrome Function

A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as forward, such as madam or taco cat or racecar.

Imagine someone has developed a function is_palindrome( input_string ) that checks if the input string is a palindrome and returns a boolean True/False.

Your task is to test this function (do not write code for the function). Create a list of input strings and expected results to thoroughly test this function:

For example:

racecar -> True

abc -> False

Document any assumptions you make.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!