
Introduction to Programming Quiz
Authored by Mercy Omwoyo
Computers
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
What's wrong with this code?
The go function is called twice
The go function has a syntax error
The go function has been defined twice
go is not a command that Karel understands
2.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
How many total times will Karel move in this program?
move()
move()
move()
move()
move()
move()
1
5
6
7
3.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
What is the proper format for a single line comment in Karel?
# This is a comment
// This is a comment
/* This is a comment
This is a comment
4.
MULTIPLE SELECT QUESTION
2 mins • 4 pts
Why does a programmer indent their code?
Helps show the structure of the code.
Easier for other people to understand.
In Python, it is used to help determine what parts of a code are included in a code block, such as an if statement or for loop.
All of the above
5.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
How can we teach Karel new commands?
For loop
While loop
Define a new function
The main function
6.
MULTIPLE SELECT QUESTION
2 mins • 4 pts
Super Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs?
move()
move()
turn_right()
move()
Karel ends on street 1, avenue 3
Karel ends on street 2, avenue 3
This code won't run because of a syntax error
Karel will crash into a wall
7.
MULTIPLE SELECT QUESTION
2 mins • 4 pts
Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs? move() putball() move() move() move() move() move()
Karel will end on Street 1, Avenue 2
Karel will end on Street 1, Avenue 7
This code won't run because of a syntax error
Karel will crash into a wall
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
20 questions
05 - The Internet Quiz
Quiz
•
9th - 12th Grade
20 questions
CODEHS KAREL
Quiz
•
7th - 9th Grade
20 questions
Quiz
•
7th - 12th Grade
20 questions
Eduqas Computer Science 1.5 Operating Systems
Quiz
•
9th - 11th Grade
20 questions
Scratch Programming
Quiz
•
9th - 12th Grade
20 questions
Python turtle year 8 assessment
Quiz
•
7th - 9th Grade
20 questions
Computing Rules
Quiz
•
7th - 11th Grade
20 questions
MS Excel Basics
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade