Python Definitions

Quiz
•
Computers, Education
•
10th - 12th Grade
•
Medium
Carol Luce
Used 20+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What term is used to describe data passed into a definition?
Variable
Loop
Constant
Parameter
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you correctly call this function definition?
def(1)
x=square( )
defSquare(4)
x=square(5)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following keywords marks the begining of the function block?
Func
define
def
function
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a variable defined outside (i.e. in the main code) all the definitions referred to as?
A static variable
A global variable
A local variable
An automatic variable
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a variable defined inside a definition referred to as?
A static variable
A global variable
A local variable
An automatic variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be PRINTED?
nothing
5
6
an error message
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When writing a definition, it must occur before it is called.
true
false
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Javascript

Quiz
•
10th - 12th Grade
13 questions
Python Functions Quiz

Quiz
•
10th Grade
10 questions
python quiz

Quiz
•
6th Grade - Professio...
15 questions
Python Fundamentals Quiz

Quiz
•
11th Grade
12 questions
CS Python Fundamentals Quiz 2 Review & Practice

Quiz
•
9th - 12th Grade
10 questions
Q4M1 Fill-In-The-Blanks

Quiz
•
10th Grade
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade