Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

EMPTECH L4 Q3

EMPTECH L4 Q3

12th Grade

10 Qs

Latihan Soal PTS Kelas 6 Semester 1

Latihan Soal PTS Kelas 6 Semester 1

10th Grade

10 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

MODULE 9 PRE-TEST

MODULE 9 PRE-TEST

10th Grade

10 Qs

9G4 CS Python Programming Sequence and Vocabs

9G4 CS Python Programming Sequence and Vocabs

9th Grade

13 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

Functions in Python

Functions in Python

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Jed Tresmanio

Used 39+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords marks the begining of the function block?

Func

define

def

function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following pertains to a piece of code that can take inputs to perform a specific task?

Arguments

Functions

Parameters

Loops

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When defining a function, the definition must occur before it is called.

TRUE

FALSE

4.

DROPDOWN QUESTION

1 min • 1 pt

The variable listed inside the parentheses in the function definition is called a(n) ​ (a)   , while the value that is sent to the function when it is called is a(n) ​ (b)   .

parameter
argument

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following describe what parameters are function? (Select 2)

input value to a function for the function’s execution

a variable used to send information to a function

the name of the function

the name of the main program calling the function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following symbols always comes after a function code block?

;

]

:

#

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which of the following is TRUE about the given function? (Select 3)

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers