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
15 questions
Area and Arrays

Quiz
•
10th - 12th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
12 questions
Javascript Arrays

Quiz
•
9th - 12th Grade
10 questions
Array

Quiz
•
10th Grade
12 questions
Массивы C++

Quiz
•
10th - 11th Grade
17 questions
AP CS ArrayLists

Quiz
•
12th Grade
15 questions
Area With Arrays

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
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
Discover more resources for Science
45 questions
Final Review (Part 1)

Quiz
•
8th Grade
37 questions
ESRT Review

Quiz
•
7th - 10th Grade
80 questions
Wave Interactions and Properties

Quiz
•
6th - 8th Grade
21 questions
8th grade Final Exam Part 2 of 2

Quiz
•
8th Grade
50 questions
Earth Science Regents Review 819

Quiz
•
9th Grade
17 questions
Amplify Rock Transformation

Quiz
•
8th Grade
44 questions
Living Environment Regents Review

Quiz
•
9th Grade
40 questions
8R Science Final Review #4 - Astronomy, Seasons,Rocks,Weathering

Quiz
•
8th Grade