You are on page 1of 2

1. Write an interactive menu driven program to create a text file called people.

txt, read the file and then display the file. Create another text file PEOPLE.TXT by converting each line of the newly created text file into upper case characters. Contents of the file There is little difference in people but that little difference makes a big difference. The little difference is attitude. The big difference is whether it is positive or negative. 2. Write an interactive menu driven program to create a text file called text1.txt and then display the file. Write a function named noVowelwords(), that reads text1.txt and creates another text file TEXT2.TXT which contains only those words from the file text1.txt which dont start with an uppercased vowel (A,E,I,O,U). For eg: if text1.txt contains A file should have words which start with an consanant ONLY then the file TEXT2.TXT will contain should have words which start with an consanant 3. Write an interactive menu driven program to create a text file called phones.txt read the file and then display the lines starting from i, a,w, Create another file called phones1.txt which replaces the . With a # ios Control Center. android - Detailed notifications. windows- Live tile badges. ios multitasking preview. android samsung galaxy. ios-shared photo stream. blackberry has video, timeshift modes. blackberry control center , system access settings. windows has no settings menu. ios-has multitasking preview. 4. Write an interactive menu driven program to create a text file called beforecomps.txt, read the file and then display the number of lines starting from A , and the original file. Also create another file called finebeforecomps.txt contents of which should be in small letters but the first letter of the file and the first alphabetic character following a fullstop should be in uppercase. Contents of beforecomps.txt
memory was something you lost with age. an application was for employment. a program was a TV show. a cursor used profanity .a keyboard was a piano. a web was a spider's home. a virus was the flu. hard drive was a long trip on the road. mouse pad was where a mouse lived.

5. Write an interactive menu driven program to create a text file called Jokes.txt, read the file and then display the total number of uppercase alphabets, number of vowels, number of integers and the number of special characters.If the below is the content , show the output.

1. A family of mice was surprised by a big cat. Father Mouse jumped and said, "Bowwow!" The cat ran away. "What was that, Father?" asked Baby Mouse. "Well, son, that's why it's important to learn a second language." 2. Two goldfish in a bowl talking: Goldfish 1: Do you believe in God? Goldfish 2: Of course, I do! Who do you think changes the water? 3. Why do we park our car in the driveway and drive our car on the parkway? 4. Teacher: Tell me a sentence that starts with an "I". Student: I is the.... Teacher: Stop! Never put 'is' after an "I". Always put 'am' after an "I". Student: OK. I am the ninth letter of the alphabet.

YOURE TERMINATED