Class 12 CS Chapter 5 Back Exercise Part B Solutions Sumita Arora New Syllabus / listing12CSSA, Uncategorized / By Neha 2. If the file ‘poemBTH.txt’ contains the following poem (by Paramhans Yoganand) : ...click here for answers 1. How are following codes different from one another ? ...click here for answers 3. Consider the file poemBTH.txt given above (in previous question). What output will be produced by following code fragment ? ...click here for answers 4. Consider the file “poemBTH.txt” and predict the outputs of following code fragments if the file has been opened in filepointer filel with code: ...click here for answers 5. What is following code doing ? ...click here for answers 6. Write code to open file created in previous question and print it in following form : ...click here for answers 7. Consider the file “contacts.csv” created in above question and figure out what the following code is trying to do? ...click here for answers 8. Consider the file poemBTH.txt and predict the output of following code fragment. What exactly is following code fragment doing ? ...click here for answers 9. If you use the code of Q.8 with pl.txt created in solved problem 14, what would be its output ? ...click here for answers 10. Write a method in python to read the content from a text file diary.txt line by line and display the same on screen. ...click here for answers 11. Write a method in python to write multiple line of text contents into a text file mylife.txt.line. ...click here for answers