
Karel Exam 2.1 - 2.9
Presentation
•
Mathematics
•
12th Grade
•
Practice Problem
•
Easy
+10
Standards-aligned
Maria Cruz Farooqi
Used 34+ times
FREE Resource
0 Slides • 22 Questions
1
Multiple Choice
Which of these is a valid Karel command?
move( )
move( );
MOVE
move ;
2
Multiple Choice
What is a street in a Karel world?
A column
A row
A single point
Karel's position
3
Multiple Choice
What is an avenue in a Karel world?
A column
A row
Karel's position
A single point
4
Multiple Choice
If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will Karel be on after this code runs?
move();
move();
move();
turnLeft();
move();
Street 4 and Avenue 4
Street 1 and Avenue 3
Street 2 and Avenue 6
Street 6 and Avenue 2
5
Multiple Choice
If Karel is facing North and the code
turnLeft( );
turnLeft( );
runs; which direction is Karel facing now?
North
East
West
South
6
Multiple Choice
How many times should Karel turn left in order to turn right?
1
2
3
4
7
Multiple Choice
What can be used to teach Karel to turn right?
Variables
Dog Treats
Karel can't turn right
Functions
8
Multiple Choice
Which is the correct way to write the turnRight function?
function turnRight( ){
turnLeft( );
turnLeft( );
}
function turnRight( ){
turnLeft( );
turnLeft( );
turnLeft( );
}
function turnRight( )
turnLeft( )
turnLeft( )
function turnright( ){
turnLeft( );
turnLeft( );
turnLeft( );
}
9
Multiple Choice
Which function will teach Karel how to spin in a circle one time?
function spin( ) {
turnRight( );
}
function spin( ) {
turnLeft( );
turnLeft( );
turnLeft( );
turnLeft( );
}
function spin( ) {
turnLeft( );
turnLeft( );
}
function spin( ) {
move( );
move( );
move( );
move( );
}
10
Multiple Choice
How many times should the start function be defined in a program?
0
1
2
3
11
Multiple Choice
How many times should you call the start function in a program?
0
1
2
3
12
Multiple Choice
Why do we use functions in programming?
Break down our program into smaller parts
Avoid repeating code
Make our program more readable
All of the above
Answered
13
Multiple Choice
What is top down design?
Top down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.
Top down design is a way that you can create designs on a computer to put on a web page
Top down design is a way of designing your programs starting with the individual commands first
Top down design is a way to use loops and classes to decompose the problem
14
Multiple Choice
What is a code comment?
A place to write whatever you want in your code
A message to your teacher in code
A way to teach Karel a new word
A way to give notes to the reader to explain what your code is doing
15
Multiple Choice
Each of the following answer choices describes a basketball game.
Which answer choice describes the game with the lowest level of abstraction?
The Warriors won by 10 points.
The Warriors had an early lead, but were down by 4 at halftime. They tied it up in the 4th quarter and the game went into overtime. They won by 10 points in overtime.
First, Steph Curry jumped in the air and grabbed the ball. Then he dribbled it three times and passed it to Klay Thompson…
First, Steph Curry flexed his left and right quad muscles at the exact same time, then he flexed each muscle in his fingers…
16
Multiple Choice
What commands does SuperKarel know that regular Karel does not?
turnLeft( ) and jump( )
turnAround( ) and turnRight( )
turnRight( )
and jump( )
turnAround( ) and jump( )
17
Multiple Choice
18
Multiple Choice
Which command is written incorrectly?
putBall();
putball();
turnLeft();
takeBall();
19
Multiple Choice
20
Multiple Choice
How many times does Karel move with this loop?
9
0
10
1
21
Multiple Choice
Which Karel command is written correctly?
move;
Putball()
turnLeft();
move(;
22
Multiple Choice
Which line contains the bug?
1 and 5
2 only
3 only
5 only
Which of these is a valid Karel command?
move( )
move( );
MOVE
move ;
Show answer
Auto Play
Slide 1 / 22
MULTIPLE CHOICE
Similar Resources on Wayground
17 questions
Trigonometry and Logs quizizz
Presentation
•
12th Grade
17 questions
Compound Probability
Presentation
•
11th - 12th Grade
19 questions
More Venn Diagrams
Presentation
•
11th - 12th Grade
19 questions
Inverse Functions
Presentation
•
11th Grade
18 questions
4.1 Introduction to Polynomial Functions
Presentation
•
12th Grade
18 questions
In-Text Citation (Direct Quote, Paraphrasing, Summarizing)
Presentation
•
12th Grade
15 questions
digestive system
Presentation
•
12th Grade
17 questions
Mon(12/7) Quantitative Algebra
Presentation
•
12th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade