
APCSP1

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Thomas Burns
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not a valid condition to go in a while loop for Karel?
facingNorth()
frontIsBlocked()
turnAround()
noBallsPresent()
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is one way to create an abstraction in Karel coding?
Use a while loop
Use a for loop
Create a function
Use an if statement
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Say you want to write a program that has Karel run to the other side of first street, jumping over all of the hurdles. Karel should only jump if there is a hurdle blocking the way. However, the hurdles can be in random locations. The world is fourteen avenues long. What is the best control structure to use?
If statement
While loop
Nested while loop
For loop
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Super Karel starts at Street 2, Avenue 1, facing North in a 5 x 5 world. What will happen after this code above runs?
Karel will end at Street 2 Avenue 3
Karel will end at Street 3 Avenue 2
A syntax error will occur
Karel will run into a wall
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following problem solving strategies breaks down different parts of a function into their own functions to make the code more readable?
Indenting code
Debugging code
Top Down Design
Loops
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In the above code, what would be a good Postcondition to write?
Karel is in the same spot
Karel has moved up and over two spots and is facing South
Karel has moved up and over two spots and is facing East
Karel has moved up and over to spots to the right facing North
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If you want to repeat something a fixed number of times, which of the following
would you use?
If statement
For loop
While loop
If/Else statement
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
1.1.5 CSE Iteration and Loops

Quiz
•
9th - 12th Grade
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
9 questions
Swift Playgrounds

Quiz
•
9th Grade
10 questions
Thinking Logically (1)

Quiz
•
12th Grade
11 questions
Python strings

Quiz
•
8th - 9th Grade
10 questions
CodeHS 2.10 While Loops

Quiz
•
9th - 12th Grade
15 questions
TY Python Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade