Seatwork (SEQUENTIAL CONTAINER TYPES) data structure

Quiz
•
Computers
•
University
•
Easy
Ronnel Agulto
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
TRUE OR FALSE
The 'vector' essentially means double-ended-queue and works similar in a fashion as queues.
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
TRUE OR FALSE
Forward List is preferred over the list when only forward traversal is required (same as the singly linked list is preferred over doubly linked list) as we can save space. Some example cases are, chaining in hashing, adjacency list representation of the graph, etc.
True
False
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
TRUE OR FALSE
Forward list are sequence containers that allow constant time insert and erase operations anywhere within the sequence.
TRUE
FALSE
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
TRUE OR FALSE
With C++11, it is not possible for vector or deque to release unneeded memory back to the system with the help of a function called shrink_to_fit().
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
TRUE OR FALSE
Compared to static sequence containers, both forward_list and list are fast to find a location in the list.
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
It uses vector as its core data structure implementation and can be expanded and contracted
Vector
Array
Forward list
Deque
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This function removes the particular element from the forward list mentioned in its argument.
remove_if()
remove()
clear()
splice_after()
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Semi-Final Exam - DV - Part 1

Quiz
•
University
10 questions
Quiz 8: Arrays&Vector

Quiz
•
University
15 questions
Linked List (Chapter 2)

Quiz
•
University
16 questions
Linked List and Arrays in JAVA

Quiz
•
University
18 questions
Data Structures Quiz 1

Quiz
•
12th Grade - University
17 questions
Java Collection Framework

Quiz
•
University
12 questions
R variable Data Type and Flow Control Quiz

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade