Java Loops

Java Loops

9th Grade - University

12 Qs

quiz-placeholder

Similar activities

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

12 Multimedia - Quiz BAB 3 -  DMI

12 Multimedia - Quiz BAB 3 - DMI

10th Grade

10 Qs

SAN Module 4 Quiz

SAN Module 4 Quiz

University

15 Qs

Porcentajes

Porcentajes

University

12 Qs

مراجعة حاسب2 ثلاث وحدات

مراجعة حاسب2 ثلاث وحدات

11th Grade

16 Qs

Week 4

Week 4

University

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

XI_осн_веб_кон

XI_осн_веб_кон

9th - 12th Grade

10 Qs

Java Loops

Java Loops

Assessment

Quiz

Computers

9th Grade - University

Practice Problem

Medium

Created by

Marat Jumadilov

Used 45+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?