
Programming Functions Quiz
Quiz
•
Other
•
10th Grade
•
Practice Problem
•
Easy
Jared Lewis
Used 14+ times
FREE Resource
Enhance your content in a minute
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in programming?
A line of code
A reusable block of code that performs a task
A variable name
A programming language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Karel, what does the command move() do?
Turns Karel left
Moves Karel one space forward
Stops Karel
Places a beeper
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to turn Karel 90 degrees to the left?
turnLeft();
move();
turnRight();
pickBeeper();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of defining a function in Karel?
To add errors to the program
To simplify the program and avoid repeated code
To create variables
To stop the program
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a function call?
turnLeft();
function turnAround() { ... }
int x = 5;
if (x == 0)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if Karel tries to move into a wall?
Karel stops and the program continues
Karel turns around
The program throws an error
Karel moves to the next available space
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does takeBall() ; do in Karel?
Moves Karel forward
Karel picks up a ball from the current position
Turns Karel left
Stops the program
Access all questions and much more by creating a free account
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
40 questions
Fil9 Q1M3M4 : Nobela at Teleseryeng Asyano
Quiz
•
7th - 10th Grade
38 questions
Introduction to Animation
Quiz
•
10th Grade
34 questions
Sketching and Shading Quiz
Quiz
•
6th Grade - University
38 questions
Vital Signs Review
Quiz
•
9th - 12th Grade
39 questions
2.00 Healthy interpersonal relationship/ Counseling MH
Quiz
•
9th - 12th Grade
35 questions
Summative Test in Music 10
Quiz
•
10th Grade
33 questions
Instagram for Business
Quiz
•
9th - 12th Grade
33 questions
SEJARAH T4/B4
Quiz
•
5th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
