Java Loops

Java Loops

9th Grade - University

12 Qs

quiz-placeholder

Similar activities

Topic 3 & 4 Practice - ArrayList and String Methods

Topic 3 & 4 Practice - ArrayList and String Methods

12th Grade

15 Qs

NISD CS AP Exam Prep

NISD CS AP Exam Prep

10th - 12th Grade

12 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Latihan UPS2

Latihan UPS2

5th - 12th Grade

15 Qs

Arrays and Algorithms

Arrays and Algorithms

10th - 12th Grade

15 Qs

Area With Arrays

Area With Arrays

10th - 12th Grade

15 Qs

Java Arrays

Java Arrays

University

10 Qs

Java ArrayLists

Java ArrayLists

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?