C++ Arrays and Vectors Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Michael Ask
Used 13+ times
FREE Resource
Enhance your content
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
12
13
14
1
No output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
CAR
ARC
RAC
No output
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the following code, which code-snippet will access the string "Oscar the Grouch"?
cast[3]
cast[2]
cast.at(2)
cast{2}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
1
2
3
123
1 2 3
No output
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
In the included code, the programmer is attempting to find the sum of all elements of the array 'x'. But, they've forgotten at what value to start the variable 'sum'. What number should go where the '?' is in the code?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the included code?
321
123
32
111
No output
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the included code?
14
13
12
2
No output
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Arithmetic Operators in C
Quiz
•
12th Grade
10 questions
LIST - 1 - PYTHON 11
Quiz
•
11th Grade
12 questions
IMedia Recap
Quiz
•
9th - 11th Grade
10 questions
BTEC modern technologies
Quiz
•
11th Grade
10 questions
A Level - Data Structures 1
Quiz
•
11th Grade
10 questions
Layout and Composition Comp1 LR
Quiz
•
10th Grade
10 questions
Kuis Hardware Komputer
Quiz
•
10th Grade
10 questions
IGCSE Comp Sci - Security revision
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade