
Q&A – Predicting Outcomes of Repetition (Primary 4 – 4CT.05)

Quiz
•
Computers
•
4th Grade
•
Hard
Shervon Yak
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The algorithm below will output “Hi” 3 times. Repeat 3 times OUTPUT "Hi"
True
False
Answer explanation
The algorithm repeats the output "Hi" 3 times as specified. Therefore, the statement is true.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this algorithm? Repeat 4 times OUTPUT "Clap"
Clap
Clap Clap
Clap Clap Clap Clap
No output
Answer explanation
The algorithm repeats the output "Clap" 4 times. Therefore, the correct output is "Clap Clap Clap Clap", which corresponds to the choice "Clap Clap Clap Clap".
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Repeat 2 times OUTPUT "Good" OUTPUT "Morning" What will the output be?
Good Morning Good Morning
Good Good Morning Morning
Good Morning Good Morning
Morning Good Morning Good
Answer explanation
The instructions state to repeat the outputs "Good" and "Morning" two times. Therefore, the correct output is "Good" followed by "Morning", repeated twice: "Good", "Morning", "Good", "Morning".
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What numbers will be printed?
1, 2, 3
2, 3, 4
3, 4, 5
4, 5, 6
Answer explanation
The code likely prints the first three numbers starting from 1. Therefore, the correct output is 1, 2, 3.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed?
5, 4, 3
3, 4, 5
4, 5, 3
5, 3, 4
Answer explanation
The code likely prints the values in the order they are defined. The correct choice is '5, 4, 3', indicating that the first value printed is 5, followed by 4, and then 3.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This algorithm will print “Star” forever: Forever OUTPUT "Star" True or False?
True
False
Answer explanation
The algorithm is designed to run indefinitely in a loop, continuously outputting 'Star'. Therefore, the statement is true: it will print 'Star' forever.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the total number of outputs? Repeat 3 times OUTPUT "Yes" OUTPUT "No"
2
3
6
Infinite
Answer explanation
The outputs "Yes" and "No" are repeated 3 times each. Therefore, 3 "Yes" outputs and 3 "No" outputs result in a total of 6 outputs. Thus, the correct answer is 6.
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
LESSON 8 - Games & Apps

Quiz
•
1st - 5th Grade
10 questions
CS 50 Terminology

Quiz
•
6th - 10th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
10 questions
Scratch Basics - Grade 4

Quiz
•
4th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
15 questions
Python Basics Quiz 1

Quiz
•
8th Grade - University
14 questions
Ôn tập Logo- lớp 5

Quiz
•
5th Grade
14 questions
Linear Search

Quiz
•
10th Grade
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
20 questions
Place Value

Quiz
•
4th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
20 questions
place value

Quiz
•
4th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
12 questions
Text Structures

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade