Class 12 CS Chapter 3 Back Exercise Part B Solutions Sumita Arora New Syllabus / listing12CSSA, Uncategorized / By Neha 1. What are the errors in following codes ? Correct the code and predict output : ...click here for answer 2. Consider the following code and write the flow of execution for this. Line numbers have been given for your reference. ...click here for answer 3. What will the following function return ? ...click here for answer 4. What will the following function print when called ? ...click here for answer 5. What will be the output of following programs ? ...click here for answer 6. Predict the output of the following code : ...click here for answer 7. What is wrong with the following function definition ? ...click here for answer 8. Write a function namely fun that takes no parameters and always returns None. ...click here for answer 9. Consider the code below and answer the questions that follow : ...click here for answer 10. Consider the code below and answer the questions that follow : ...click here for answer 11. Find the errors in code given below : ...click here for answer 12. Draw the entire environment, including all user-defined variables at the time line 10 is being executed ...click here for answer 13. Draw flow of execution for above program. ...click here for answer 14. In the following code, which variables are in the same scope ? ...click here for answer 15. Write a program with a function that takes an integer and prints the number that follows after it. Call the function with these arguments : 4 , ...click here for answer 16. Write a program with non-void version of above function and then write flow of execution for both the programs. ...click here for answer 17. What is the output of following code fragments ? ...click here for answer