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...

11 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

3 mins • 1 pt

Media Image

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

(a)  

2.

FILL IN THE BLANKS 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.

(a)  

3.

FILL IN THE BLANKS 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.

(a)  

4.

FILL IN THE BLANKS 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.

(a)  

5.

FILL IN THE BLANKS QUESTION

3 mins • 1 pt

Media Image

How many numbers will the following while loop output?

(a)  

6.

FILL IN THE BLANKS 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.

(a)  

7.

FILL IN THE BLANKS QUESTION

3 mins • 1 pt

Media Image

How many numbers will the following loop output?

(a)  

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?