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
10 questions
Delphi Arguments/Returns

Quiz
•
8th - 10th Grade
15 questions
C Programming Concepts Quiz

Quiz
•
10th Grade
15 questions
Gateway Level 3 Python Quiz 3

Quiz
•
9th - 12th Grade
14 questions
Pseudocode Keywords

Quiz
•
11th Grade - University
12 questions
Theory

Quiz
•
10th - 12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
10 questions
AP Computer Science Principles - Unit 4: Variables, Conditionals

Quiz
•
9th - 12th Grade
10 questions
Python Review - Functions

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade