Search Header Logo

Q&A – Repetition & Indefinite Loops (Primary 4 – 4CT.01)

Authored by Shervon Yak

Computers

4th Grade

Q&A – Repetition & Indefinite Loops (Primary 4 – 4CT.01)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A loop is used in algorithms to repeat steps.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop runs forever until the program is stopped?

Repeat 5 times

While number < 10

Forever loop

Repeat until score = 100

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trace the Algorithm: Repeat 3 times OUTPUT "Hello" What will the output be?

Hello Hello Hello

Hello Hello

Hello

Hello Hello Hello

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many outputs in total?

4 outputs (2 × each message).

2 outputs (1 × each message).

6 outputs (3 × each message).

8 outputs (4 × each message).

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q5. Correct the Algorithm The program below should say “Clap” 5 times, but it only prints once: OUTPUT "Clap" How should we correct it?

Repeat 5 times OUTPUT "Clap"

OUTPUT "Clap" 5 times

Repeat OUTPUT "Clap" 5 times

OUTPUT "Clap" x 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An indefinite loop stops automatically after 10 steps.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an indefinite loop?

Repeat 4 times → Jump

Forever → Spin

Repeat until ball touches wall → Move forward

Repeat 10 times → Print “Star”

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?