Unit 2 Knowledge Test Make Up

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Miguel [SCHS]
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
12 questions
Python Loops

Quiz
•
9th - 11th Grade
6 questions
if statements

Quiz
•
9th Grade
14 questions
Code.org Unit 3

Quiz
•
9th - 12th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
14 questions
Informatics Practices Quiz (SARAFALI. P)

Quiz
•
11th Grade
12 questions
Homework 1 Edublocks

Quiz
•
7th - 9th Grade
10 questions
PRLD - Looping

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade