Q1. Which of the given argument types can be skipped from a function call?, a) Positional argument, b) Keyword argument, c) Named argument, d) Default argument, Q2. What do you mean by a void function?, a) A function not returning any value, b) Non- fruitful function, c) A function returning a value, d) Both a and b, Q3. Which of the following statements is not true for parameter passing to functions ?, a) You can pass positional arguments in any order ., b) You can pass keyword arguments in any order ., c) You can call a function with positional and keyword arguments ., d) Positional arguments must be before keyword arguments in a function call., Q4. Which values are used by the functions to communicate information back to the caller ?, a) local, b) global, c) return, d) random, Q5. Consider below given function headers . Identify of these will not cause error ?, (i) def fun(a=1,b):, (ii) def fun(a=1,b,c=2):, (iii) def fun(a=1,b=2,c=3,d):, (iv) def fun(a=3,b=4,c=5):
0%
CBP - UNDERSTANDING FUNCTIONS
Share
Share
by
Sasmita8839
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?