Request edit access
JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
COMPUTER SCIENCE , XII
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Option 1
Clear selection
Which of the following is the use of function in python?
*
1 point
Functions are reusable pieces of programs
Functions don’t provide better modularity for your application
you can’t also create your own functions
All of the mentioned
Which keyword is used for function?
*
1 point
Fun
define
def
Function
What will be the output of the following Python code? 1. def sayHello():2. print('Hello World!')3. sayHello()4. sayHello()
*
1 point
Hello World!' Hello World!'
Hello
'Hello World!'
None
What will be the output of the following Python code?
*
1 point
3
4
4 is maximum
None
What will be the output of the following Python code?
*
1 point
2
3
The numbers are equal
None
Which are the advantages of functions in python?
*
1 point
Reducing duplication of code
Decomposing complex problems into simpler pieces
Improving clarity of the code
All of the mentioned
What are the two main types of functions?
*
1 point
Custom function
Built-in function & User defined function
User function
System function
Which of the following refers to mathematical function?
*
1 point
sqrt
add
rhombus
sub
What will be the output of the following Python code?
*
1 point
9
3
27
30
What will be the output of the following Python code?
*
1 point
212 32
314 24
567 56
None
Submit
Clear form
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report