· In C++ A vector is

GD2 - 4.12 C++ The Standard Template Library Test

Quiz
•
Computers
•
10th - 12th Grade
•
Medium

Cynthia Hardesty
Used 44+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An object with magnitude and direction
a kind of sequential container provided by the STL. It acts like a dynamic array.
just another name for an array
None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or false, · It’s very efficient to iterate through a vector. It’s also very efficient to insert or remove an element from the end of a vector.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It can be inefficient to insert or delete elements from the middle of a vector, especially if the vector is large.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
vector.push_back removes a value to the end of the vector
true
false
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
vector.pop_back removes a value to the end of the vector
true
false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It’s not very efficient to iterate through a vector.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It’s not very efficient to insert or remove an element from the end of a vector.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Is technology bad for the environment?

Quiz
•
8th - 10th Grade
10 questions
Online Help Quiz

Quiz
•
11th Grade
9 questions
Internet Research

Quiz
•
KG - 10th Grade
15 questions
Bitmap and Vector Graphics

Quiz
•
7th - 10th Grade
10 questions
Vector Graphics

Quiz
•
11th Grade
15 questions
iMedia

Quiz
•
10th - 12th Grade
11 questions
Digital Devices (BTEC Unit 1)

Quiz
•
10th - 12th Grade
14 questions
1.2.4 - Starter Task/The Internet

Quiz
•
10th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade