
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
Input & Output

Quiz
•
KG - 8th Grade
12 questions
STRUKTUR KAWALAN ULANGAN

Quiz
•
8th Grade
15 questions
Searches

Quiz
•
9th Grade
10 questions
Intro to Python

Quiz
•
8th Grade
15 questions
ICTLecture#2

Quiz
•
University
15 questions
computer flowchart

Quiz
•
7th Grade
11 questions
Flowchart Recap

Quiz
•
10th - 11th Grade
12 questions
STRUKTUR KAWALAN (TINGKATAN 1)

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade