
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
32 questions
C Language

Quiz
•
University
30 questions
TN222 - FINAL QUIZ

Quiz
•
University
30 questions
JavaScript

Quiz
•
University
26 questions
Sethu Testing C#

Quiz
•
University
30 questions
Quiz Algoritma dan Struktur Data

Quiz
•
University
22 questions
PRP161 Day 1

Quiz
•
University
30 questions
Computer Fundamentals

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

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University