Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

Class 12 CS Chapter 6 Back Exercise Part B Solutions Sumita Arora New Syllabus

/ listing12CSSA, Uncategorized / By Neha
1. Compute square numbers defined as follows:
...
click here for answer
2. Look at compute numbers again :
...
click here for answer
3. Look at compute numbers one more time :
...
click here for answer
4. Predict the output of following codes.
...
click here for answer
5. Predict the output of following code.
...
click here for answer
6. Consider following Python function that uses recursion:
...
click here for answer
7. Can you find an error or problem with the above code? Think about what happens if we evaluate check(3). What output would be produced by Python? Explain the reason(s) behind the output.
def check(n) ...
click here for answer
8. Consider the following Python function Fn (), that takes an integer n parameter and works recursively as follows :
...
click here for answer
9. Figure out the problem with following code that may occur when it is run ?
...
click here for answer
10. Check Point 6.1 has some recursive functions that cause infinite recursion. Make changes in the definitions of those recursive functions so that they recur finitely and produce a proper output.
# Checkpoint ...
click here for answer
Post navigation
← Previous Post
Next Post →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.