Python Functions

Python Functions

Professional Development

10 Qs

quiz-placeholder

Similar activities

Day 5 - Data Type and Structur

Day 5 - Data Type and Structur

Professional Development

10 Qs

Quiz 1 Internship

Quiz 1 Internship

Professional Development

15 Qs

Web Development Workshop

Web Development Workshop

University - Professional Development

10 Qs

Prompting ABA - Types and examples

Prompting ABA - Types and examples

Professional Development

10 Qs

Python-1

Python-1

Professional Development

11 Qs

Search Engine Optimization - Coach Andriawan Saputra

Search Engine Optimization - Coach Andriawan Saputra

Professional Development

10 Qs

KUIZ FORMASI BOLA SEPAK

KUIZ FORMASI BOLA SEPAK

Professional Development

10 Qs

IOAC - ML Batch Pre-Assessment -4th-Feb

IOAC - ML Batch Pre-Assessment -4th-Feb

Professional Development

10 Qs

Python Functions

Python Functions

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

btechsmartclass .com

Used 1K+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

__________ keyword is used for creating a function in Python.

define

fun

def

function

2.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Media Image

What is the output of the given code?

10 20 10

10

20

10 20

3.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Media Image

What is the output of the given code?

10 20 10 20

10 20 10

10 20 20

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Python supports variable number of parameters.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Function header in Python contains _________________.

function name

list of parameters

return type

all the above

Only A & B

6.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

The default return value of any function in Python is _______________.

null

0

None

Garbage value

7.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

__________ is the built-in function to know the type of a variable or function.

id()

type()

data_type()

none of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?