
unit 3 karel code hs
Authored by Robert Taylor
Computers
12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is wrong with this code? Select all that apply:
the function name should be Start()
the move() command is undefined
the go() function is undefined
the go() function is called twice in a row
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is wrong with this Karel command? Select all that apply: Move;
this command is correct
it should have a lower case m
it should have parentheses
it should not have a semi-colon ;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an avenue in a Karel world?
A column
A row
A single point
Karel’s position
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Assuming turnRight has already been defined, Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs?
move()
move()
turn_right()
move()
Karel ends on street 1, avenue 3
Karel will crash into a wall
Karel ends on Street 2, avenue 3
This code won’t run because of a syntax error
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does a Karel run method look like?
public run() { //code }
public run(){ //code }
public void run { //code }
public void run() { //code }
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Non-executing program statements that provide documentation are ___________.
Comments
Commands
Classes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Karel begins at Street 2, Avenue 3 facing North. What is her ending location and direction after running the code?
Street 4, Avenue 4, Facing East
Street 2, Avenue 4, Facing West
Street 4, Avenue 2, Facing West
Karel crashes into a wall
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
20 questions
Proxy Quiz
Quiz
•
11th - 12th Grade
17 questions
PHP MySQL
Quiz
•
7th Grade - Professio...
19 questions
JavaScript Data Structures
Quiz
•
9th - 12th Grade
20 questions
Framework Aplikasi Web PHP
Quiz
•
12th Grade
17 questions
Lección1 - JavaScript
Quiz
•
1st Grade - Professio...
20 questions
ภาษาC++ ม.5/2
Quiz
•
9th - 12th Grade
17 questions
Exceptions in Pythons
Quiz
•
12th Grade
20 questions
Documente Web. Formatul HTML
Quiz
•
9th Grade - University
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