
Summative Assessment — Karel Programming
Authored by Guranda Gogaladze
Information Technology (IT)
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Karel, what is a function (procedure) and how is it different from a command in the API? Explain with: how it's defined, how it's called, and why naming/indentation matter.
Time allowed: 1 minute
A function in Karel is a user-defined set of instructions, defined with a name and called in the program, while API commands are built-in; naming and indentation help organize and clarify code.
A function in Karel is a built-in command, while API commands are user-defined; naming and indentation do not matter.
A function in Karel is only used for moving Karel, while API commands are for turning; naming and indentation are not important.
A function in Karel and an API command are the same, and there is no difference in how they are defined or called.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following best defines sequencing, selection, and iteration in Karel, and provides a correct example for each?
Time allowed: 1 minute
Sequencing is executing steps in order, selection is making decisions, iteration is repeating actions; e.g., move; if(frontIsClear()){move();}; repeat(3){move();}
Sequencing is repeating actions, selection is executing steps in order, iteration is making decisions; e.g., repeat(3){move();}; move; if(frontIsClear()){move();}
Sequencing is making decisions, selection is repeating actions, iteration is executing steps in order; e.g., if(frontIsClear()){move();}; repeat(3){move();}; move
Sequencing, selection, and iteration all mean executing steps in any order; e.g., move; turnLeft(); putBeeper();
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following best describes Karel’s API and provides three commands from the API with their expected effects?
Karel’s API is a set of commands for controlling the Karel, such as move() to move forward, turn_left() to turn left, and put_ball() to place a ball
Karel’s API is a list of programming languages, such as Python, Java, and C++, each with its own syntax.
Karel’s API is a collection of mathematical formulas used to solve equations, like add(), subtract(), and multiply().
Karel’s API is a set of drawing tools, such as drawCircle(), drawSquare(), and erase().
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
An interface in this context is:
A set of commands that allows your program to interact with the Karel world.
A graphical representation of Karel's movements.
A physical device used to control Karel.
A programming language unrelated to Karel.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Abstraction can be explained as hiding complex details and showing only the necessary features. Which of the following is a correct example of abstraction in real life and in Karel?
Time allowed: 1 minute
A TV remote (real life) and using a helper function to turn right in Karel (Karel example)
A car engine (real life) and writing all code in main (Karel example)
A book cover (real life) and repeating the same code everywhere in Karel (Karel example)
A pencil (real life) and not using any functions in Karel (Karel example)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Top-down design and decomposition are important concepts in planning a larger Karel program. You have 1 minute to answer: Which statement best defines their relationship?
Top-down design involves breaking a problem into smaller parts (decomposition) to make programming easier.
Decomposition means writing code without any structure, while top-down design ignores decomposition.
Top-down design and decomposition are unrelated concepts in programming.
Decomposition is only used after a program is fully written, not during planning.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The behavioral difference between 'if' and 'if/else' in Karel is that 'if' only executes code if a condition is true, while 'if/else' executes one block if the condition is true and another if it is false. You have 1 minute to answer: Which situation requires 'if/else' rather than just 'if'?
When you need to perform one action if a condition is true and a different action if it is false.
When you only need to check a condition and do nothing if it is false.
When you want to repeat an action multiple times.
When you want to check multiple unrelated conditions.
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
18 questions
Asesmen Harian Informatika Kelas 7
Quiz
•
7th Grade - University
15 questions
SUMATIF FASE E (Berpikir Komputasional)
Quiz
•
10th Grade
22 questions
Internet and App script
Quiz
•
5th Grade - University
20 questions
Программирование на Python
Quiz
•
10th Grade
20 questions
Tugas Latihan Soal Informatika 9
Quiz
•
9th - 12th Grade
15 questions
IP and IPv4 Basics
Quiz
•
10th Grade
15 questions
LibreOffice Writer Styles Quiz
Quiz
•
10th Grade - University
20 questions
DPK 2.2
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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Parallel Lines Cut by a Transversal
Quiz
•
10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University