Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

University

10 Qs

quiz-placeholder

Similar activities

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Computer Architecture Unit 3

Computer Architecture Unit 3

University

15 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

Assessment 08

Assessment 08

University

15 Qs

Prework Etapa 1 - Bogotá

Prework Etapa 1 - Bogotá

University

10 Qs

Jaringan Nirkabel - Pertemuan 3

Jaringan Nirkabel - Pertemuan 3

University

10 Qs

CID421 Introduction to 3D CAD SOLIDWORK

CID421 Introduction to 3D CAD SOLIDWORK

University

12 Qs

Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

Assessment

Quiz

Computers

University

Hard

Created by

TechXNinjas undefined

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Write the single-line statement for the array initialization by considering the following points

array name: a

data type: integer

size of an array: 5

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the value of 'm' in the following 2-dimensional array?

0 0 0

0 0 0

0 0 0

0 0 0

int a [] [] = new int [m] [n];

3

2

4

0

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Choose the wrong array initialization from the following integer type array "arr" having size "n".

int arr [];

arr = new int [n];

int [] a = new int [n];

int a [] = new int [n];

int arr [];

arr [] = new int [n];

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly declares an array and a variable of the same integer type in a single line?

int [] arr, x ;

int x, arr [] ;

int arr [], x ;

int x = 5, arr [] ;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Guess the output of the following array snippet

int [] a = new int [4];

for(int i=0;i<4;i++) {

system.out.println(a[i]);

}

0000

4

4

4

4

4444

0

0

0

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Determine whether the following statement is true or false:

Statement: Arraylist and Vector come under the dynamic type of array

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Determine whether the following statement is true or false:

Statement: we can return anything inside a function with a "void return type".

True

False

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?