Java Loops

Java Loops

9th Grade - University

12 Qs

quiz-placeholder

Similar activities

Array and ArrayLists in Java

Array and ArrayLists in Java

10th Grade

11 Qs

Arrays and ArrayLists in Java

Arrays and ArrayLists in Java

10th Grade

11 Qs

Java ArrayLists

Java ArrayLists

10th Grade

11 Qs

CodeHS Arraylist

CodeHS Arraylist

10th Grade

11 Qs

Java 1D Arrays

Java 1D Arrays

9th Grade - University

14 Qs

[20224] CSC301 Quick Exercise 7-1

[20224] CSC301 Quick Exercise 7-1

University

10 Qs

Arrays

Arrays

10th - 12th Grade

10 Qs

AP CSA Array List

AP CSA Array List

10th Grade

11 Qs

Java Loops

Java Loops

Assessment

Quiz

Computers

9th Grade - University

Medium

Created by

Marat Jumadilov

Used 43+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is returned by values[5]?
9
12
6
8

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is the value of values.length?
0
5
6
7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following segment of code print out? int[] numArray = { 2, 7, 4, 12, 0, 2 };
System.out.println("Number: " + numArray[2]);
Number: 2
Number: 7
Number: 4
Number: 12

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

True or False:  An array can be store different types of data (like store both doubles and ints).
True
False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to create an array with these three numbers: 12  8  15
int[] = {12, 8, 15};
int[] nums = {12  8  15};
int[] nums = {12, 8, 15}
int[] nums = {12, 8, 15};

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

array

arr

array[ ]

arr [ ]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

23 4

2 8

23 8

2 4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?