Search Header Logo

3. Arrays Q (Java Introduction)

Authored by Anton Prafanto

Professional Development

University

Used 1+ times

3. Arrays Q (Java Introduction)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

3 mins • 1 pt

Media Image

Fill in the blanks to declare an array called names of type String.

(a)  

2.

FILL IN THE BLANKS QUESTION

3 mins • 1 pt

Media Image

What is the output of this code?

(a)  

3.

FILL IN THE BLANKS QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to create an array of Strings that will hold 8 items.

(a)  

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the 2nd element of an array? 

3

1

2

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Media Image

What is the output of this code?

(a)  

6.

FILL IN THE BLANKS QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to declare an array of 5 Strings, set the first item to the value "James". Then output the first item of the array.

(a)  

7.

FILL IN THE BLANKS QUESTION

5 mins • 1 pt

Media Image

Fill in the blanks to create an array, multiply the 2nd and the 4th items and output the result.

(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

Already have an account?