
GD2 - 4.12 C++ The Standard Template Library Test

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

Cynthia Hardesty
Used 45+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
· In C++ A vector is
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
14 questions
1.2.4 - Starter Task/The Internet

Quiz
•
10th Grade
10 questions
Computer Graphics

Quiz
•
12th Grade
10 questions
Programming Basics

Quiz
•
9th - 10th Grade
10 questions
CPU Performance

Quiz
•
10th - 11th Grade
10 questions
MOAC Word 2016 Lesson 2

Quiz
•
8th - 12th 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
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade