C949 WGU Terminology- Questions and Answers 100%
Solved
what is an advantage of a linked list over an array? CORRECT ANS-when inserting a new
item at the beginning it causes no shift to the data
ADT (Abstract data Type) CORRECT ANS-data type described by predefined user
operations, such as "insert data at rear", without indication how each operation is
implemented
list CORRECT ANS-ADT for holding ordered data
stack CORRECT ANS-ADT which items are only inserted on or removed from the top of a
stack
LIFO
Queue CORRECT ANS-ADT in which items are inserted at the end of the queue and
removed from the front of the queue
FIFO
deque ("deck") CORRECT ANS-ADT in which items can be removed at both the front and
back
Bag CORRECT ANS-ADT for stroing items in which the order does not matter and duplicate
items are allowed
Set CORRECT ANS-ADT for collection of distinct items
, C949 WGU Terminology- Questions and Answers 100%
Solved
common underlying DS: Binary search tree, hash table
Priority Queue CORRECT ANS-a queue in which the highest-priority elements are removed
first; within a priority value, the earliest arrival is removed first.
common underlying DS: heap
Dictionary (map) CORRECT ANS-ADT that associates (or maps) keys with values
common underlying DS: has table, binary search tree
List, Bag CORRECT ANS-ADTs with array, linked list as common underlying DS
Stack, Queue, Deque CORRECT ANS-ADTs with linked list as their only common underlying
DS
Peek CORRECT ANS-ADT operation for a queue that returns but does not remove item at
the front of the queue
identity CORRECT ANS-unique identifier that describes the object
// CORRECT ANS-symbol for floored division
tuple CORRECT ANS-behaves similar to a list but is immutable -- once created the els can
not be chagned
const array/list
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheeGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.