Unlike regular variables, __________ can hold multiple values.
C++ Arrays

Quiz
•
Science, Computers
•
8th - 12th Grade
•
Medium
Natalia Fumero
Used 423+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
constants
named constants
arrays
floats
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Unlike regular variables, __________ can hold multiple values.
constants
named constants
arrays
floats
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the last legal subscript that can be used with the following array?
int values[5];
0
5
6
4
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Given the following declaration, where is the value 77 stored in the scores array?
int scores[] = {83, 62, 77, 97, 86}
scores[0]
scores[1]
scores[2]
scores[3]
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
To pass an array as an argument to a function, pass the __________ of the array.
contents
size, expressed as an integer
name
value of the first element
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will the following code display?
int numbers[5] = {99, 87, 66, 55, 101};
for (int i = 1; i < 4; i++)
cout << numbers[i] << " ";
99 87 66 55 101
87 66 55 101
87 66 55
Nothing. This code has an error.
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Java ArrayLists

Quiz
•
10th Grade
14 questions
Exploring Computer Science

Quiz
•
10th - 12th Grade
10 questions
Arrays

Quiz
•
10th - 12th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
15 questions
Data Structures

Quiz
•
12th Grade
10 questions
Arrays

Quiz
•
11th Grade
12 questions
Unit 7 - ArrayList - Test Review

Quiz
•
9th - 12th Grade
10 questions
Programming

Quiz
•
1st - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade