
Array Basics Quiz

Quiz
•
Other
•
University
•
Easy
Robin Arcilla
Used 3+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is false?
The elements in an array are related in some way.
All of the elements in an array have the same data type.
All of the elements in an array have the same subscript.
All of the elements in an array have the same name.
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Elements in an array are identified by a unique_____________.
data type
order
subscript
symbol
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
The third subscript in a 25-element array is the number____________.
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
The last subscript in a 225-element array is the number____________.
225
224
223
222
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
The cout<
display 22000
display 10000 + 12000
display sales[0] + sales [1]
result in an error
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
The sales[4] = sales[4-2]; statement will_________________.
replace the 20000 amount with 900
replace the 20000 amount with 19998
replace the 500 amount with 12000
result in an error
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
The sales[3] = sales[3] + 10; statement will_________________.
replace the 500 amount with 10
replace the 500 amount with 510
replace the 900 amount with 910
result in an error
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Java and C Programming Quiz

Quiz
•
University
25 questions
Conceptos básicos de C++

Quiz
•
University
25 questions
Con trỏ

Quiz
•
University
30 questions
Computer Fundamentals

Quiz
•
University
32 questions
C Language

Quiz
•
University
25 questions
котлин 125-150 палау

Quiz
•
University
25 questions
75-100 котлин палау

Quiz
•
University
22 questions
TechOrda Frontend үміткерлеріне арналған тест

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade