Search Header Logo

MOCK TEST JAVA PART 1

Authored by REBEKAH PRESORES

Other

11th Grade

Used 5+ times

MOCK TEST JAVA PART 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

2.0

2.5

2

Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

10

10.5

9

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What should you put in the blank to have an output of JAVA?

name.toUpperCase

name.toUpperCase()

Java.toUpperCase()

toUpperCase()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the result?

true

false

1

0

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

Even

Odd

0

10

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the correct way of declaring an array in the blank to have an output of 1,2,3?


int[] numbers = (1, 2, 3);



int[numbers] = {1, 2, 3};


int[] numbers = {1, 2, 3};


int[3] numbers;


7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What is the output?

15

16

17

18

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?