stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Karel Quiz 1 Flashcards | StudBud
Explore
/
Karel Quiz 1
Karel Quiz 1
15 terms
·
StudBud Administration
·
15 plays
This is an introduction to Karel and the first lesson.
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
What is the dog's name?
Scruffy
Spot
Pookie
Karel
2
How many turnLeft(); commands does it take to make Karel turn right?
1
3
2
4
3
Which code is correct?
PutBall();
putBall():
putball():
putBall();
4
What does Karel do with these commands?
moves forward two spaces
moves forward one space and puts the ball down
puts the ball down
moves forward two spaces and puts the ball down
5
What is "syntax" in computer code?
set of rules that defines how a program will be written and interpretted
punctuation inside code
the way code can be used for bad purposes (SIN-tax)
money paid to the government for code (syn-TAX)
6
Which of these is NOT a basic command that Karel knows?
turnLeft();
move();
moveBack();
putBall();
7
Which of these is not one of the basic commands Karel knows?
turnLeft();
takeBall();
move();
turnRight();
8
What is this symbol called?
right smiley
open parenthesis
left smiley
semi-paren
9
What is "lower camel case"?
a type of punctuation used in coding
part of the Camel Syntax
a game where camels are put in a case
a naming convention where two words are joined, the second is capitalized
10
Which is an example of lower Camel Case?
putBall();
PutBall();
none of these answers
putball();
11
What is the correct way to type this command
move();
move():
Move()
move()
12
How do you spell-say this command?
m-o-v-e open paren close paren semi-colon
m-o-v-e close paren semi-colon
m-o-v-e open paren semi-colon
m-o-v-e open paren close paren colon
13
What is this symbol called?
colon
semi-colon
parenthesis
comma
14
What is a "command" in Karel programming?
a direction to "stop"
a type of code
an instruction that tells Karel what to do
a building block
15
How many basic commands does Karel know?
4
1
3
2