BPP-Functions-1

BPP-Functions-1

Professional Development

30 Qs

quiz-placeholder

Similar activities

AI QUEST QUIZ ROUND-1

AI QUEST QUIZ ROUND-1

Professional Development

25 Qs

DSA QUIZ-2

DSA QUIZ-2

Professional Development

25 Qs

CE - UOB Review

CE - UOB Review

Professional Development

26 Qs

Crónicas de un informático corriente en un mundo diferente

Crónicas de un informático corriente en un mundo diferente

Professional Development

26 Qs

ReactJS Online Test

ReactJS Online Test

Professional Development

25 Qs

Printer and Scanner

Printer and Scanner

Professional Development

25 Qs

CS Quiz Test 2

CS Quiz Test 2

Professional Development

25 Qs

TUGAS SIMDIG DARING KELAS X-AP2

TUGAS SIMDIG DARING KELAS X-AP2

Professional Development

25 Qs

BPP-Functions-1

BPP-Functions-1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Sreenivas Reddy

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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)

Media Image

fun1(name="Emma", 23)

fun1(age =23, "Emma")

None

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

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

Media Image

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?