
Unit 1
Quiz
•
Other
•
10th - 12th Grade
•
Practice Problem
•
Medium
Spartan Coders
Used 8+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is a condition in Karel programming?
The place in code where the program stops running.
A method that returns a true or false answer. Typically used within a control structure.
The number of times a program loops.
What karel does during the program.
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is wrong with the style of this method declaration?
private void spinKarel() {
turnLeft();
turnLeft();
turnLeft();
turnLeft();
}
(I) Indenting is wrong
(II) No comment
(III) Not using camelCasing for name
(IV) Brackets are not on their own line
I only
I and II
IV only
I onlyI and IIIV onlyI, II, and IV
II and III
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is wrong with this method declaration?
public karelDance()
[
move();
turnLeft();
move();
turnLeft();
move();
]
(I) Not using curly brackets
(II) Missing void
(III) Using public instead of private
(IV) Illegal characters in the method name
I only
I and II
I onlyI and III, II, and III
I, II, III, IV
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
How can we teach Karel new commands?
A for loop
A while loop
Define a new method
The run method
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Why does a programmer indent their code?
Helps show the structure of the code.
Easier for other people to understand.
A key part of good programming style!
All of the above
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of these is a valid Karel command in Java?
move();
MOVE
move;
move()
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of these is a valid Karel command in Java?
turnLeft();
turnleft();
turnLeft()
TurnLeft
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?
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