What is wrong with this code? Select all that apply:

unit 3 karel code hs

Quiz
•
Computers
•
12th Grade
•
Hard
Robert Taylor
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
JavaScript and Karel Quiz Review

Quiz
•
9th - 12th Grade
10 questions
Java Script

Quiz
•
10th - 12th Grade
20 questions
IST CodeHS Unit 2 Robot Coding Review

Quiz
•
9th - 12th Grade
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
15 questions
JavaScript Knowledge & Skills

Quiz
•
9th - 12th Grade
17 questions
Cumulative Test Practice Units 1, 3, 4, 5, & 7

Quiz
•
9th - 12th Grade
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
16 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade