Functions

Functions

1st - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Python Level 3 - Minecraft

Python Level 3 - Minecraft

5th - 12th Grade

11 Qs

EPP WEEK 7

EPP WEEK 7

4th Grade

10 Qs

Data Engineering y BigQuery V1

Data Engineering y BigQuery V1

12th Grade

10 Qs

Test su Calc seconda lezione

Test su Calc seconda lezione

2nd Grade

10 Qs

2C_Fisica_A_21_Barra Gráfica

2C_Fisica_A_21_Barra Gráfica

11th Grade

11 Qs

KT 15 PHUT

KT 15 PHUT

10th Grade

10 Qs

ÔN THI HKI KHỐI 4

ÔN THI HKI KHỐI 4

5th Grade

10 Qs

Recording Software Button Identification Quiz

Recording Software Button Identification Quiz

8th Grade - University

10 Qs

Functions

Functions

Assessment

Quiz

Computers

1st - 12th Grade

Practice Problem

Easy

Created by

Madhumitha Chundi

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is not a function?

return

input()

print()

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following does not return a value?

def sum(x,y):

c=x+y

def sum(x,y):

c=x+y

return c

def sum(x,y):

c=x+y

print(c)

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which keyword is use for function?

define

fun

def

function

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If return statement is not used inside the function, the function will return:

None

0

Null

Arbitary value

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How is a function declared in Python?

def function function_name():

declare function function_name():

def function_name():

declare function_name():

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one of the following is the correct way of calling a function?

function_name()

call function_name()

ret function_name()

function function_name()

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

You can also create your own functions, these functions are called?

built-in functions

user-defined functions

py function

None of the above