Python Functions Quiz

Python Functions Quiz

10th Grade

13 Qs

quiz-placeholder

Similar activities

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

Parcial - Módulo IV

Parcial - Módulo IV

1st Grade - University

15 Qs

TRẮC NGHIỆM TIN 12 KỲ II

TRẮC NGHIỆM TIN 12 KỲ II

10th - 12th Grade

10 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Python Functions Quiz

Python Functions Quiz

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

William Lugo

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python function always returns a value

True

False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following code?

15

SyntaxError

(5,10)

3.

MULTIPLE SELECT QUESTION

1 min • 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

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following function call

5

15

(15,5)

SyntaxError

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output?

15

8

(8,7)

SyntaxError

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output

25

NameError

5

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select which true for Python function

A function is a code block that only executes when called and always returns a value.

A function only executes when it is called and we can reuse it in a program

Python doesn’t support nested function

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?