Search Header Logo

2. Control Flow Q (Java Introduction) 2

Authored by Anton Prafanto

Professional Development

University

Used 5+ times

2. Control Flow Q (Java Introduction) 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

Fill in the missing symbols to create a valid for loop.

2.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to output Passed if the grade value is greater than 70, and Failed, if it's not.

3.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to to create a program that takes a number as input, and checks if it's in the range of 1 to 5. 

In case it is, output Correct.

4.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to create a loop that outputs all the numbers from 1 to 100, except the number 42.

5.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

How many numbers will the following while loop output?

6.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to create a valid switch statement that outputs the first 3 letters by their position in the alphabet.

7.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

How many numbers will the following loop output?

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?