For loop

For loop

8th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

Python Loops

Python Loops

9th - 12th Grade

10 Qs

Mikrobit

Mikrobit

4th - 11th Grade

10 Qs

Lesson 39 Test-5

Lesson 39 Test-5

5th - 8th Grade

10 Qs

Flowcharts and algorithms

Flowcharts and algorithms

8th - 10th Grade

8 Qs

Fingerprint Classification

Fingerprint Classification

9th - 12th Grade

10 Qs

Control Structure

Control Structure

9th Grade

11 Qs

While and do while loops

While and do while loops

8th - 9th Grade

10 Qs

Scratch

Scratch

6th - 8th Grade

15 Qs

For loop

For loop

Assessment

Quiz

Education

8th - 9th Grade

Medium

Created by

Learn CSharp with Sharpi

Used 40+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the for loop?

Conditional statement

Iteration statement

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Make that line correct:

For (int i == 0, i <= 10, i++;)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is that correct?

for (i = 0; i < 10; i++)

No

Yes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you will use the for loop?

When I want to loop through multiple elements.

When I want to declare a new variable.

When I want to check my expression.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Do you need to check the condition in the for loop each time when you are increasing the iterator?

No

Yes

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

When do you stop executing the code inside the for loop body?

When the condition evaluates to true

When I print "Stop"

When the condition evaluates to false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is that correct?

for (int i = 0; i <= 20; i+=2)

No

Yes

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?