Search Header Logo

Java Level 1 - C

Authored by Tom Dawson

Computers

12th Grade

Used 1+ times

Java Level 1 - C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What commands can execute a block of code until a specified condition is reached?

floats

Loops

System.out

Arrays

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A while loop is a control flow statement that allows code to be executed repeatedly based on what type of condition.

Loop

int

Boolean

else

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What statement can be used to jump out of a loop condition?

if

char

switch

break

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What statement can break an iteration in the loop, if a specified condition occurs, then continue to the next iteration in the same loop?

i++

continue

while

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which keyboard character is used to define a variable type in a statement?

{ }

[ ]

( )

// //

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Create an array of type String called cars?

_____ cars = {"Volvo", "BMW", "Ford"};

Char[]

string[]

String[]

/double/

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Is Java case sensitive?

Yes

No

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?