OpenText interview question

1. Write a program to reverse a string 2. Write a program to print palindrome 3. What is the test case generation techniques. 4. What is the test plan.