Coding Quiz (3)

Quiz
•
Computers
•
7th Grade
•
Medium
Samantha Bruce
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This block is a condition like the ones that you have seen in an If statement (selection). When will this condition be 'true'?
This condition will be true when the sprite is in the x position that is higher than -22.
This condition will not be true when the sprite is in the x position that is higher than -220.
This condition will be true when the sprite is in the x position that is higher than -220.
This condition will not be true when the sprite is in the x position that is higher than -22.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When will this condition be 'false'?
This condition will be false when the y position is more than -220.
This condition will be false when the y position is less than -220.
This condition will be false when the x position is more than -220.
This condition will be false when the x position is less than -220.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What specifically will happen when this block of code is executed?
For as long as the x position is less than -220 the sprites’ y position will change by -10. This is making the sprite move left along the screen until it gets to the edge.
For as long as the x position is less than -220 the sprites’ x position will change by -10. This is making the sprite move left along the screen until it gets to the edge.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All of the code underneath When green flag clicked is surrounded by a Forever block. What do you think the Forever block is being used for?
The Forever block is repeating whatever is inside the loop, over and over again. It will keep doing this until the game is physically stopped by the user.
The Forever block is repeating whatever is inside the loop, over and over again. It will keep doing this.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When will the Forever block stop running?
It wont
It will only stop running if the game is physically stopped by the user.
Not sure
Never
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Repeat until block repeats until the condition becomes 'true'. Why does the loop start again once the building has left the screen?
Because it wants to!
Because the whole loop is inside a Forever loop. This means that the Repeat until loop will run until the sprite gets to the left of the screen (at position -220) and then the loop will break. Because the loop is inside a Forever loop, it starts again.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain how a Forever loop works.
A Forever loop will continuously repeat the blocks of code within it until it is physically stopped by the user.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain how a Repeat until loop works.
A Repeat until loop will repeat the blocks of code inside it until the condition is ‘true’.
Similar Resources on Wayground
11 questions
Python Projects Quiz

Quiz
•
6th Grade - University
10 questions
CodeHS Intro to Programming - Karel Review

Quiz
•
7th Grade
10 questions
Types of algorithm

Quiz
•
3rd Grade - University
10 questions
แบบทดสอบ หน่วยการเรียนรู้ที่ 1 การออกแบบและการเขียนอัลกอริทึม

Quiz
•
6th - 8th Grade
10 questions
while_Python

Quiz
•
7th Grade
9 questions
Quiz - Arduino Challenge 1

Quiz
•
6th - 8th Grade
13 questions
NRW 2022

Quiz
•
7th - 12th Grade
10 questions
Programming Constructs, Variables, and Procedures

Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade