
sonam IT
Quiz
•
Information Technology (IT)
•
5th Grade
•
Hard
Sonam Tenzin
FREE Resource
Enhance your content
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What does an 'until loop' do in coding?
It runs the code only one time
It repeats until a condition is true
It never stops running
It runs only if the condition is false
Answer explanation
An 'until loop' keeps running the code inside it until a certain condition becomes true. It stops as soon as the condition is met. It is not the same as running forever or running only once.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use the 'wait' function in a program?
To make the program run faster
To pause the program for a short time
To stop the program forever
To repeat the code many times quickly
Answer explanation
The 'wait' function pauses the program for some time, so things don't happen too fast. It helps to see what is going on or to give time for something else to happen
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is true about an 'until loop'?
It runs only if the condition is true at the start
It never checks the condition
It runs code only once no matter what
It stops running when the condition becomes true
Answer explanation
An 'until loop' runs the code inside it until the condition becomes true. It does not run when the condition is already true at the start.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want your program to wait 2 seconds before moving on, what should you do?
Use wait(2) to pause for 2 seconds
Use until loop for 2 seconds
Use wait(0) to pause for 2 seconds
Use repeat loop 2 times
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the condition in an 'until loop' is already true before the loop starts?
The loop runs forever
The loop runs one time
The loop does not run at all
The loop waits for the condition to become false
Answer explanation
The 'until loop' will not run its code at all if the condition is true at the start because it only runs until the condition becomes true
Similar Resources on Wayground
10 questions
Ethical and legal practices – Grade 5
Quiz
•
5th Grade
10 questions
Digital Literacy Quiz
Quiz
•
1st - 5th Grade
10 questions
Neurons and AI
Quiz
•
5th Grade
10 questions
Grade 5 Hyperlink - Ancient PH History
Quiz
•
5th Grade
10 questions
Looking after yourself online
Quiz
•
1st - 6th Grade
10 questions
Fungsi Mail Merge dalam Microsoft Word
Quiz
•
5th Grade
10 questions
Search Engine Optimization Quiz
Quiz
•
5th Grade
6 questions
5 grade. cycle 2. virtual
Quiz
•
5th 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 Information Technology (IT)
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
Finding Volume of Rectangular Prisms
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
States of Matter
Quiz
•
5th Grade
19 questions
Order of Operations
Quiz
•
5th Grade
18 questions
Main Idea & Supporting Details
Quiz
•
5th Grade