To access an array element, use the array name and the element's
C++ Array Quiz

Quiz
•
Computers, Science
•
University
•
Medium
M.Syafiq Asyraff
Used 100+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
data type
subscript
name
value
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A two-dimensional array is like _____ put together.
an array and a function
several identical arrays
two functions
two arrays of different types
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A two-dimensional array can be viewed as _______ and ________.
rows, columns
arguments, parameters
increments, derements
All of these
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid C++ array definition?
int scores [0];
float $payments [10];
int readings [4.5];
int scores [10];
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
An array can store a group of values, but the values must be .....
the same data type
each of a different data type
constants
integers
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
To assign the contents of one array to another, you must use
the assignment operator with the array names
the equality operator with the array names
a loop to assign the elements of one array to the other array
Any of these
7.
MULTIPLE CHOICE QUESTION
20 sec • 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
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Array Java

Quiz
•
University
12 questions
Array

Quiz
•
University
12 questions
C++ Basics (1)

Quiz
•
University
10 questions
Introduction to Arrays

Quiz
•
KG - University
10 questions
Arrays in C (II yr 02.07.2020)

Quiz
•
University
10 questions
BCSC0006 - Quiz 1 - Arrays

Quiz
•
University
10 questions
reFRESHIEr ICS2602 Quiz

Quiz
•
University
10 questions
C Program Array and strings

Quiz
•
University
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