Functions and Methods Review

Functions and Methods Review

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Unit 6 Review

Unit 6 Review

9th - 12th Grade

11 Qs

l.7. PYTHON FUNCTIONS

l.7. PYTHON FUNCTIONS

12th Grade

10 Qs

10 Important Python Fundamentals Questions

10 Important Python Fundamentals Questions

12th Grade

10 Qs

Python Functions

Python Functions

9th - 12th Grade

13 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

HTML & Java

HTML & Java

9th Grade

12 Qs

Python Testing

Python Testing

9th - 12th Grade

10 Qs

Function in Python

Function in Python

12th Grade

8 Qs

Functions and Methods Review

Functions and Methods Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Paula Hamel

Used 4+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code snippet shows the body of the function highlighted?

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code snippet shows the function's argument?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code snippet highlights the function header?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code snippet highlights the function name?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which highlights a reserved word that identifies the results that will be passed back to the caller of the function?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the details of the function. What identifies the part of the code that executes whenever the function is called?

def

get_first_name

:

Indent

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the details of the function. What identifies the part of the code that ends the header of the function?

:

Indent

def

get_first_name

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the details of the function. What code would be used to call this function in other parts of code?

def

get_first_name()

:

Indent