Which of the following data structures are ordered?
List
Array
Tuple
Which of the following data structures can store multiple data types?
List
Record
Tuple
Which of the following data structures are immutable (read-only)?
Tuple
Contents cannot be modified at run-time
Which of the following data structures have no predefined scope (dynamic)?
List
Which of the following data structures can store multiple values under one identifier?
All of them
List
Record
Tuple
Array
Which of the following data structures are accessed using an index?
List
Tuple
Array
What is the purpose of the pointers in a queue?
How many pointers are used in a stack?
1 - Top
What pointer is impacted when you enqueue an item in a queue
Rear/Tail - Incremented by one
What pointer is impacted when you dequeue an item from a queue?
Front/Head - incremented by one
Which data structure operates on a FIFO basis?
Queue
First in first out
Which data structure operates on a LIFO basis?
Stack
Last in first out
Where might a queue be used?
Where might a stack be used?
What is the process for pushing an item to a stack?
The last two bullet points could happen in the opposite order depending on the stack implementation
What type of error could occur if an item is added to a full stack or queue?
Overflow Error
What type of error could occur if an item is removed from to an empty stack or queue?
Underflow Error
What is the process for enqueuing an item to a queue?
The last two bullet points could happen in the opposite order depending on the queue implementation
What is the process for dequeuing an item from a queue?
What is the process for popping an item from a stack?
The last two bullet points could happen in the opposite order depending on the stack implementation
How does a hash table function? What is the benefits of using one?
A data structure which allows direct access to a record, and takes the same time to search no matter how big it gets (Big-O - Constant)
What is linear probing?
What keywords can be used to describe a Binary Search Tree (BST)?
How is data found when searching a Binary Search Tree (BST)?