ar
, given the following declaration:int[] ar = {2, 4, 6, 8 }
Introduction to Arrays
Quiz
•
Computers
•
KG - University
•
Hard
Ryan Goulet
Used 167+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ar
, given the following declaration:int[] ar = {2, 4, 6, 8 }
0, 1, 2, 3
1, 2, 3, 4
0, 2, 4, 6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
named img
?3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int[] ar = {2, 4, 6, 8 }; System.out.println( ar[0] + " " + ar[1] );
2 6
2 4
6 8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int[] ar = {2, 4, 6, 8 }; ar[0] = 23; ar[3] = ar[1]; SOP( ar[0] + " " + ar[3] );
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int[] y = new int[5]; y[0] = 34; y[1] = 88; SOP( y[0] + " " + y[1] + " " + y[5] );
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int[] z = new int[9]; z[0] = 7; z[1] = 3; z[2] = 4; SOP(z[0] + z[1] + " " + z[5] );
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
15 questions
2D Arrays
Quiz
•
9th - 12th Grade
10 questions
Array in C
Quiz
•
University
10 questions
Programming
Quiz
•
1st - 10th Grade
10 questions
exception
Quiz
•
University
10 questions
C Programming
Quiz
•
Professional Development
14 questions
Exploring Computer Science
Quiz
•
10th - 12th Grade
10 questions
Arrays
Quiz
•
10th - 12th Grade
12 questions
Arrays Intro
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
10 questions
Identifying equations
Quiz
•
KG - University
15 questions
Music 2016
Quiz
•
KG - 12th Grade
44 questions
logos
Quiz
•
KG - University
20 questions
Disney Characters
Quiz
•
KG
20 questions
Kids shows
Quiz
•
KG
20 questions
Guess that Disney
Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!
Quiz
•
KG - 5th Grade