Java For Loop basic syntax

Java For Loop basic syntax

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Javascript Basics

Javascript Basics

9th - 12th Grade

16 Qs

Susulan PBO XIRPL (2021/2022)

Susulan PBO XIRPL (2021/2022)

11th Grade - University

20 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Loops Quiz

Loops Quiz

9th - 12th Grade

16 Qs

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

10th - 12th Grade

20 Qs

Quiz 2 Java

Quiz 2 Java

11th Grade

15 Qs

Java Loops

Java Loops

10th - 12th Grade

24 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Java For Loop basic syntax

Java For Loop basic syntax

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Brian Miller

Used 39+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This FOR loop starts counting at x = ___

10

0

x

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This FOR will keep repeating up through and including the x value of ___

10

0

x

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Each time through the FOR loop the value of x will increase by ___

10

0

x

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This loop will output

0

1

2

3

4

5

6

7

8

9

10

1 10

x

0 1 2 3 4 5 6 7 8 9 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

(Assuming no variables have been declared) What goes in the blank to make the x value start at 1?

x = 1

int x == 1

int x = 1

x == 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

(Assuming no variables have been declared) What goes in the blank to make the x value start at -10?

int x = -10

x = x - 10

int x = x - 10

x = -10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

(Assuming no variables have been declared) What goes in the blank to make the x value start at 5?

x <= 5

int x = 5

int x <= 5

x = 5

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?