Search Header Logo

Arrays & Strings

Authored by SrinivasaRao SrinivasaRao

Computers

Professional Development

Used 14+ times

Arrays & Strings
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these operators is used to allocate memory to array variable in Java?

malloc

alloc

new

new malloc

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an incorrect Statement?

It is necessary to use new operator to initialize an array.

Array can be initialized using comma separated expressions surrounded by square braces.

Array can be initialized when they are declared.

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is necessary to specify at time of array initialization?

Row

Column

Both Row and Column

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of this program?

1 3 5 7 9

0 2 4 6 8

0 1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9 10

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of this program?

11

10

13

14

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of this program?

3

0

6

1

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of this program?

1 2 3 4 5 6 7 8 9 10

0 1 2 3 4 5 6 7 8 9 10

i j k l m n o p q r

i i i i i i i i i i

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?