C++ Array Quiz
Quiz
•
Computers, Science
•
University
•
Practice Problem
•
Medium
M.Syafiq Asyraff
Used 125+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
To access an array element, use the array name and the element's
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Kuis Career Day Chapter 1
Quiz
•
University
10 questions
Quiz- uncertainty and flow
Quiz
•
University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
PBFP - Phases of Matter
Quiz
•
University
10 questions
TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)
Quiz
•
University
10 questions
MAGIC OF LIGHT TRAVEL
Quiz
•
12th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
