Python Definitions
Quiz
•
Computers, Education
•
10th - 12th Grade
•
Practice Problem
•
Medium
Carol Luce
Used 21+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Arduino
Quiz
•
7th - 12th Grade
10 questions
Lirismul
Quiz
•
9th - 12th Grade
11 questions
La homonimia
Quiz
•
12th Grade
10 questions
BIENVENIDA GESTIÓN POR COMPETENCIAS
Quiz
•
1st - 10th Grade
10 questions
El texto argumentativo
Quiz
•
12th Grade
15 questions
HTML
Quiz
•
8th - 12th Grade
10 questions
Q1 M 2 - TOPIC 2 / Check your understanding
Quiz
•
10th Grade
10 questions
Classes Gramaticais - Português
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
