Class 12 CS Chapter 2 Back Exercise Part B Solutions Sumita Arora New Syllabus / listing12CSSA, Uncategorized / By Neha 1. What will be the output produced by following code fragments ? ...click here for answer 2. Write a short Python code segment that adds up the lengths of all the words in a list and then prints the average (mean) length. Use the final list from previous question to test your program. # Code ...click here for answer 3. Predict the output of the following code snippet ? ...click here for answer 4. Predict the output of the following code snippet? ...click here for answer 5. Find the errors. State reasons. ...click here for answer 6. Assuming words is a valid list of words, the program below tries to print the list in reverse. Does it have an error ? If so, why ? (Hint There are two problems with the code.) ...click here for answer 7. What would be the output of following code if ntp1 = (“Hello”, “Nita”, “How’s”, “life ?”) ? ...click here for answer 8. What will be the output of the following code ? ...click here for answer 10. What will be the output of the following code snippet ? ...click here for answer 9. What will be the output of the following code snippet ? ...click here for answer 11. Write a method in python to display the elements of list thrice if it is a number and display the element terminated with ‘#’ if it is not a number. ...click here for answer 12. Name the function/method required to ...click here for answer