Study Guide for CS 303E Test 2 (Fall 2013) on 04 Nov 2013 * Loops - while and for. Use of break and continue. * Functions - user defined and built-in * Recursion * Math Functions * Strings and String Functions * Reading and Writing Text Files * The questions will be similar to quiz questions and the tutorial exercises that you have done on Code Lab and Coding Bat and simpler versions of your assignment problems. * Here are some additional String problems that you want to consider. In all cases you will be asked to write a function. - Write a function that accepts a String as input parameter and returns True if it is palindromic and False otherwise - Write a function that accepts a String and a rotation parameter and rotates the String by that amount and returns it. For example, given a String "computer" and a rotation parameter of 2, it will return "ercomput". * Here are some file manipulation problems to look at. - Write a function that accepts two Strings - the name of an input file and a target String. It will return the number of occurences of the target String in the file. - Write a function that accepts the name of an input file and a list of forbidden words. If any one of those forbidden words exists in the file it will return False and True otherwise.