What type of function is onKeyHold?
U5-Set 7 CMU Unit 5.2 onKeyHold - lists

Quiz
•
Computers
•
9th Grade
•
Medium
Joan Goldberg
Used 29+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
User defined function
Helper Function: A code body that has a name. The name can be called to repeat the code body. It can take in parameters, or data to act upon.
Event Function: Event-based functions will be called when certain actions or events occur.
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is onKeyHold called?
function that is called repeatedly while keys are held down
function that is called whenever a key stops being held down
function that is called whenever a key is pressed
function that is called while the mouse is both clicked and moved
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data is keys?
string
list - stores a collection of data
boolean
integer
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data is keys?
string
list - stores a collection of data
boolean
integer
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data is 'right'?
string
list - stores a collection of data
boolean
integer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial (x, y) location of dot?
(0,0)
(200, 200)
(240, 200)
(200, 240)
Cannot be determined
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the location of dot after you run the test case
onKeyHolds(['right'], 4)?
(0,0)
(200, 200)
(240, 200)
(200, 240)
Cannot be determined
Similar Resources on Quizizz
10 questions
Programming - Data Types

Quiz
•
1st - 10th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
10 questions
Code.org CS Discoveries U3L15 Keyboard Input

Quiz
•
9th Grade
10 questions
Programming basics

Quiz
•
9th - 12th Grade
10 questions
Python Input/Output

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

Quiz
•
9th - 12th Grade
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University