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
Python Fundamentals Quiz

Quiz
•
11th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
11 questions
Python functions

Quiz
•
12th Grade
15 questions
Code.org Unit 5 Lesson 15 Assessment

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

Quiz
•
10th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade