TEXT FILE HANDLING
1) Emails.txt , words: @cmail
2) Words.txt , words>5 characters
3) Countwords() , decode.txt , count & return words>=5 characters
4) Content.txt, countlines() , display : @lines
5) Story.txt, showInLines() , separate line and line should end with . ? !
6) Alpha.txt , line: begin with word ‘You’
7) VowelCount() , Poem.txt , display: no. of vowels
8) Function(), Bookname.txt, display: book names having ‘Y’ or ‘y’
9) Count_Dwords() , Details.txt , count words ending with a digit
10) ChangeGender() , BIOPIC.txt , display entire content by replace the word ‘He’ with ‘She’
11) Count_Line() , SHIVAJI.txt , read each line and count total no. of lines
12) Show_words() , NOTES.txt , display entire content in capital letters
13) Countlines() , TESTFILE.txt , count and display the lines which are not starting with any vowel
14) ETCount() , TESTFILE2.txt , count and display the count of alphabets E and T individually(including
small cases e and t too)
15) RevString() , Input.txt , display words starting with ‘O’ in reverse order
16) LongLines() , Lines.txt , display lines which have at least 10 words.
1) Emails.txt , words: @cmail
2) Words.txt , words>5 characters
3) Countwords() , decode.txt , count & return
words>=5 characters
4) Content.txt, countlines() , display : @lines
5) Story.txt, showInLines() , separate line and
line should end with . ? !
6) Alpha.txt , line: begin with word ‘You’
7) VowelCount() , Poem.txt , display: no. of vowels
8) Function(), Bookname.txt, display: book
names having ‘Y’ or ‘y’
9) Count_Dwords() , Details.txt , count words
ending with a digit
10) ChangeGender() , BIOPIC.txt , display entire
content by replace the word ‘He’ with ‘She’
11) Count_Line() , SHIVAJI.txt , read each line
and count total no. of lines
12) Show_words() , NOTES.txt , display entire
content in capital letters
13) Countlines() , TESTFILE.txt , count and display
the lines which are not starting with any
vowel
14) ETCount() , TESTFILE2.txt , count and display the count of
alphabets E and T individually(including small cases e and t too)
15) RevString() , Input.txt , display words starting
with ‘O’ in reverse order
16) LongLines() , Lines.txt , display lines which
have at least 10 words.