GD2 - 4.12 C++ The Standard Template Library Test

GD2 - 4.12 C++ The Standard Template Library Test

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Vectors C++

Vectors C++

9th Grade - University

10 Qs

Bitmap & Vector Graphics

Bitmap & Vector Graphics

8th - 11th Grade

10 Qs

The CPU

The CPU

KG - University

11 Qs

Raster vs. Vector Images

Raster vs. Vector Images

8th - 12th Grade

14 Qs

Adobe photoshop True False Chapter 2.1

Adobe photoshop True False Chapter 2.1

9th - 12th Grade

12 Qs

Linear Search

Linear Search

12th Grade

10 Qs

Introduction to IT-ITeS

Introduction to IT-ITeS

8th - 10th Grade

14 Qs

ICT 10 - REVIEWER

ICT 10 - REVIEWER

10th Grade

15 Qs

GD2 - 4.12 C++ The Standard Template Library Test

GD2 - 4.12 C++ The Standard Template Library Test

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Cynthia Hardesty

Used 44+ 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?