
BPP-Functions-1

Quiz
•
Computers
•
Professional Development
•
Hard
Sreenivas Reddy
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python function always returns a value
False
True
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the add() function call
15
8
(8,7)
Syntax Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following function fun1() Please select all the correct function calls
def fun1(name, age):
print(name, age)
fun1(name="Emma", 23)
fun1(age =23, "Emma")
None
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
15
Syntax Error
(5,10)
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct function declaration of fun1() so that we can execute the following function call successfully
fun1(25, 75, 55)
fun1(10, 20)
def fun1(**kwargs)
No, it is not possible in Python
def fun1(args*)
def fun1(*data)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following function call
Emma 25
Emma 20
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select which is true for Python function
A Python function can return only a single value
A function can take an unlimited number of arguments.
A Python function can return multiple values
Python function doesn’t return anything unless and until you add a return statement
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Excel Certification Practice test

Quiz
•
Professional Development
28 questions
Java Fundamentals

Quiz
•
Professional Development
35 questions
Python

Quiz
•
Professional Development
25 questions
C & Python

Quiz
•
Professional Development
25 questions
Quiz 1A: Compare and Contrast OSI Model Layers

Quiz
•
Professional Development
25 questions
DDC_Finals Quiz

Quiz
•
Professional Development
25 questions
Java Basics

Quiz
•
Professional Development
30 questions
Blind Coding Round 1

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade