
Codesters_QZ1
Authored by Bhavika shonal
Computers
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code do?
The user’s projectile is triggered by the space key being pressed every 2 seconds
The computer’s projectile is an interval event that happens every 2 seconds.
It says user’s projectile and the computer’s projectile is very similar.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
How do we call the function when the space key is pressed?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we check what sprite is being hit?
We set up a conditional statement that checks if the hit sprite (that is being passed to this function as a parameter) is the rocket sprite
We set up a conditional statement that checks if the hit sprite (that is being passed to this function as a parameter) is the enemy sprite.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the ball in the hole Game.
How can we make the ball stop moving while we wait?
We can set the x and y speeds to zero before calling the wait function.
We can set the x and y speeds to one before calling the wait function.
We can set the x and y speeds to 2 before calling the wait function.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In snowman game How can we ask for letters over and over again?
Using repeat loop
Using forever
Using while loop
Using for loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we check if the player has lost? What additional code will we need to add to handle this?
The player has lost if guesses drop to zero.
To handle this we will need to add code to decrease the value of guesses if the letter guessed is not in the word.
The player has lost if guesses drop to zero.
To handle this we will need to add code to decrease the value of guesses if the letter guessed is not in the word.
We should also add a print statement letting the user know how many guesses they have left.
We can change the while loop condition to only run if guesses is greater than zero and that word guessed has returned False.
The player wins if they guess all the letters in the word.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Now that we have lists to store our questions, answers, and correct answers how can we actually add information into these lists?
We can use the list function .append() to add items to our lists. Since we are working with parallel lists we want to make sure that we append the same amount of items to each list.
We can use the list function .pop() to add items to our lists. Since we are working with parallel lists we want to make sure that we append the same amount of items to each list.
We can use the list function .pop() to remove items to our lists. Since we are working with parallel lists we want to make sure that we append the same amount of items to each list.
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
10 questions
Kuiz Senang
Quiz
•
7th - 9th Grade
10 questions
Computer Education Grade 3 Volume 4 Quiz
Quiz
•
3rd Grade - University
10 questions
tin 9 bài 5
Quiz
•
6th - 9th Grade
13 questions
Quiz 3: Internet safety, cyber security and encryption
Quiz
•
7th - 8th Grade
10 questions
Year 8 - Progress Check 1 (Python Turtle Shapes)
Quiz
•
8th - 9th Grade
10 questions
Social media influencers
Quiz
•
6th - 12th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
12 questions
Revision quiz on Access
Quiz
•
8th 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