Arrays Intro
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
DVHSAPCS undefined
Used 86+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which declaration creates an array that holds 5 ints?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the array:
double[] stats = new double[3];
What is the range of the index?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
//Which array will win?
string status = "Win";
if(player[3] == 4)
status = "lose";
if(player[1] == 3)
status = "lose";
if(player[2] == 2)
status = "lose";
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
//Which array will lose?
string status = "Win";
if(player[3] == 4)
status = "lose";
if(player[1] == 3)
status = "lose";
if(player[2] == 2)
status = "lose";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0; i<10; i++)
numbers[i] = 2 * i + 1;
// Which index of the array holds the value of 5?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0;i<10;i++)
deck[2*i] = 5;
// Which statement will not print out 5?
Console.WriteLine(deck[18]);
Console.WriteLine(deck[0]);
Console.WriteLine(deck[10]);
Console.WriteLine(deck[20]);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i = 1; i<=100; i++)
numbers[i-1] = i/10;
//At what index will the first 2 occur?
1
2
19
20
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
Intro to Robotics
Quiz
•
9th Grade
15 questions
Pretest Aplikasi Pengolah Angka
Quiz
•
10th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
حاسب2 / اختبار الوحدة الثالثة
Quiz
•
10th - 12th Grade
13 questions
Białka, cukry i lipidy
Quiz
•
1st - 9th Grade
15 questions
FQCTEST
Quiz
•
10th Grade
15 questions
Virtual Private Server
Quiz
•
12th Grade
10 questions
Pengenalan Perwakilan Data
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
