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

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

4th Grade

10 Qs

quiz-placeholder

Similar activities

code.org Angry Birds Course BL4

code.org Angry Birds Course BL4

3rd - 4th Grade

10 Qs

Python Knowledge and Skills Diagnostic

Python Knowledge and Skills Diagnostic

9th Grade

15 Qs

แบบทดสอบก่อน-หลังเรียนหน่วยที่ 10 เรื่องการทำงานแบบวนซำ้

แบบทดสอบก่อน-หลังเรียนหน่วยที่ 10 เรื่องการทำงานแบบวนซำ้

12th Grade

10 Qs

If Statements

If Statements

6th Grade

11 Qs

CS First Vocabulary

CS First Vocabulary

5th - 6th Grade

10 Qs

Computer science paper 2

Computer science paper 2

10th Grade

15 Qs

Intermediate Python

Intermediate Python

9th - 11th Grade

15 Qs

Ms. Molloy Computer Science quick quiz

Ms. Molloy Computer Science quick quiz

7th Grade

10 Qs

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

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

Assessment

Quiz

Computers

4th Grade

Hard

Created by

Shervon Yak

FREE Resource

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”

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?