Array

Quiz
•
Computers
•
University
•
Hard
Michael Bensi
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to store multiple values of the same data type in a single variable?
Array
Constant
Variable
Class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following symbol is used when declaring an array?
<>
{}
()
[]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following property is used to find out how many elements an array has?
size
width
length
count
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way of creating an array of integers with an initial value?
int num[]= 1,2,3
int[] num= 1,2,3
int[] num={"1,2,3"}
int[] num={1,2,3}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following code: int[] = {7,9,5,6,7,8};
What is the value of age[2]?
9
7
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following code: int[] sum={6,8,7,9,3,2,1};
What is the index of 3?
3
2
4
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following code: int[] sum= {5,8,7,9,6,3,1,2,4};
What is the value of sum.length;?
8
7
9
6
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C# Structured, Selection and Iteration

Quiz
•
9th Grade - University
13 questions
PRF192 C Programming

Quiz
•
University
11 questions
Quiz 2

Quiz
•
University
5 questions
Semana 01

Quiz
•
University
10 questions
C Program Array and strings

Quiz
•
University
10 questions
csharp

Quiz
•
University
10 questions
Arrays in C (II yr 02.07.2020)

Quiz
•
University
6 questions
Java array

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University