Repetition and Loops Quiz

Repetition and Loops Quiz

12th Grade

55 Qs

quiz-placeholder

Similar activities

Tik kelas x

Tik kelas x

11th Grade - University

60 Qs

UH2 KKT 242 ganjil 2025-2026

UH2 KKT 242 ganjil 2025-2026

12th Grade - University

60 Qs

Asesmen Diagnostik Kelas 12 RPL 4

Asesmen Diagnostik Kelas 12 RPL 4

12th Grade

50 Qs

Ujian Informatika Kelas 10

Ujian Informatika Kelas 10

10th Grade - University

50 Qs

SOAL AKHIR SEMESTER 1

SOAL AKHIR SEMESTER 1

8th Grade - University

50 Qs

Dell Techcrew Certification Exam Practice

Dell Techcrew Certification Exam Practice

12th Grade

50 Qs

NEW Informatics Quiz for Grade 7 2526

NEW Informatics Quiz for Grade 7 2526

7th Grade - University

53 Qs

XI LAT. SOAL 2 PSAS INF XI F

XI LAT. SOAL 2 PSAS INF XI F

9th - 12th Grade

50 Qs

Repetition and Loops Quiz

Repetition and Loops Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Medium

Created by

Duan Steyn

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of a loop in programming?

To execute a block of code repeatedly

To store data temporarily

To manage memory allocation

To create a user interface

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of loop?

For loop

While loop

Switch loop

Do...While loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a counted loop require to function correctly?

A string variable

A user input

A random number generator

A counter variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a for loop, what does STEP 1 signify?

Resetting the counter

Decrementing the counter

Stopping the loop

Incrementing the counter

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following loop:
For x = 0 TO 4 STEP 1
Display x

0 1 2 3 4

0 1 2 3 4 5

1 2 3 4 5

5 4 3 2 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a sentinel value?

A value that indicates the end of a loop

A value that starts a loop

A random number

A string input

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop will execute at least once regardless of the condition?

Do While loop

While loop

Counted loop

For loop

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?