Python Functions and Parameters Review

Python Functions and Parameters Review

9th - 12th Grade

•

29 Qs

quiz-placeholder

Similar activities

ICT QUIZ!

ICT QUIZ!

10th - 12th Grade

•

25 Qs

BTEC Coding & Logic

BTEC Coding & Logic

12th Grade - Professional Development

•

24 Qs

Types of Media

Types of Media

11th - 12th Grade

•

25 Qs

Sistem Operasi 1

Sistem Operasi 1

10th Grade

•

25 Qs

Pre-Test-Midterm

Pre-Test-Midterm

10th Grade

•

25 Qs

Year 11 Computing

Year 11 Computing

11th Grade

•

24 Qs

Collection of Data

Collection of Data

9th - 12th Grade

•

25 Qs

Quiz Sistem Komputer - Sub Hardware & Software

Quiz Sistem Komputer - Sub Hardware & Software

9th Grade

•

25 Qs

Python Functions and Parameters Review

Python Functions and Parameters Review

Assessment

Quiz

•

Computers

•

9th - 12th Grade

•

Medium

Created by

Lakeisha Fuller

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...

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

WHAT IS THE DIFFERENCE BETWEEN A PARAMETER AND A FUNCTION?

1.Functions input values to a parameter

2.Parameter operate on those function values

1.Parameters input values to a function

2.Functions operate on those parameter values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for function?*

define

fun

def

function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following items are present in the function header?

function name

parameter list

return value

Both A and B

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

0

None

Null

Arbitary value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

a=10

a=20

syntax error

value error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a return in a function?

Keyword that tells the function what to print

Keyword that tells the function what value to send back

Keyword that tells the function what to add

Keyword that tells the function what parameter to pass

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is a parameter for a function?

the scope of the functions variables

a variable used to send information to a function

the name of the function

the name of the main program calling the 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?