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
15 questions
Sorting

Quiz
•
University
10 questions
Kuis 3 - ASD - A

Quiz
•
University
20 questions
RAID Storage

Quiz
•
University
10 questions
Weekly Contest #3 - TechXNinjas

Quiz
•
University
15 questions
C++Arrays Loops and Functions Review

Quiz
•
University
20 questions
Collections C#

Quiz
•
University
15 questions
Python Workshop Day - 2

Quiz
•
University
20 questions
Hash

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University