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
What type of function is onKeyHold?
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 Wayground
10 questions
Google Sheets Vocab

Quiz
•
9th - 12th Grade
10 questions
Networks, WiFi and Encryption

Quiz
•
9th - 10th Grade
10 questions
Input and Output Devices Quiz

Quiz
•
9th Grade
10 questions
Introduction to Computer

Quiz
•
9th Grade - University
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
Excel Ribbon

Quiz
•
6th - 12th Grade
10 questions
Lesson 1 Database Basics

Quiz
•
9th - 11th Grade
10 questions
Unit 5 Review

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
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade