

C++ Arrays and Average Calculator Quiz
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Jennifer Brown
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main topic covered in this tutorial?
Pointers in C++
Arrays in C++
Classes in C++
Functions in C++
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array in C++?
A class with multiple methods
A single value variable
A variable that contains multiple values
A function that returns multiple values
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array in C++?
int[5] array;
int array[5];
array int[5];
array[5] int;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to output array values in C++?
cout
printf
output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first element in an array?
0
1
3
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the average calculator in this tutorial?
To calculate the average of grades
To sort the array in ascending order
To find the maximum value in an array
To calculate the sum of numbers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used for the grades in the average calculator?
bool
char
float
string
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?