
Unit 2 Knowledge Test Make Up
Authored by Miguel [SCHS]
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to define a turnRight function in Karel?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, how many times is the dance function called and how many times is it defined?
Called 3 times, defined 3 times
Called 1 time, defined 1 time
Called 1 time, defined 3 times
Called 3 times, defined 1 time
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this for loop?
I. The for loop uses commas instead of semicolons
II. It should say i++ instead of i + 1
I
II
I and II
The loop is correct.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper format for a multi-line comment in Karel?
{This is a comment}
// This is a comment
/* This is a comment
This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What condition should be used in this while loop to get Karel to pick up all the tennis balls on the current location?
noBallsPresent()
ballsPresent()
frontIsClear()
takeBall()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we teach Karel new commands?
For loop
While loop
The start function
Define a new function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we improve the following program?
Fix the indentation of this program
Use a while loop to repeat the move command
Break down this program into more functions
Use a for loop to repeat the move command
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
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
10 questions
Treasure Hunt
Quiz
•
12th Grade
16 questions
Serial Communication - Sensors
Quiz
•
9th Grade
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
Greetings
Quiz
•
1st Grade - University
10 questions
DATA STRUCTURES
Quiz
•
12th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
10 questions
python
Quiz
•
10th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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