Functions
CBSE Class 12 Computer Science · every board question from this chapter, 2026–2026
- What will be the output of the following code? def f1(a,b=1): print(a+b,end='-') c=f1(1,2) print(c,sep=' ')2026
- What is the difference between default parameters and positional parameters in Python? Also give an example of a function header…2026
- The function given below is written to accept a string s as a parameter and return the number of vowels appearing in the string.…2026
Answers come from CBSE’s own marking schemes. How we source them.