Weekly Contest #3 - TechXNinjas

Quiz
•
Computers
•
University
•
Hard
TechXNinjas undefined
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Arrays and Pointers in C

Quiz
•
University
12 questions
Python Quiz 1.6

Quiz
•
University
10 questions
DSA(UNIT 1) Test 1

Quiz
•
University
15 questions
ARRAYS AND FUNCTIONS

Quiz
•
University
10 questions
cp06-01-1D-Array

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
12 questions
Arrays C++

Quiz
•
University
12 questions
JavaScript Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University