True
A map in c++ is the same as a _____ in Python
Dictionary
false
Au
Push, Front, Back, Pop, Size, Empty
What is linked to the 'value' in a c++ map?
A Key
True
What is the longest river in the world?
Nile River
First In First out
What data type is the Key and the Value stored in?
A pair
A person wants to search for a value in a list of numbers. What is the fastest way to do this?
Binary Search
A Zorse is....
A hybrid between a zebra and a horse
What is the EXACT syntax to making a queue in c++ or python?
c++: queue<data_type> queue_name;
python: (just a normal list) var_name = []
What is the command for finding a value in a map?
map.find()
What are the 2 ways to solve the problem 'anagram'?
1. Use a map
2. Sort the list
Programmer Grace Hopper invented the famous programming term...
bug
What is the time complexity for inserting into a queue? (Think: how many for loops will it take?)
O(1) (constant time, no for loops you are just inserting in the back)
What is the function to add a key and a value into a map?
make_pair(key, value)
A person wants to make a to-do list of all their homework tasks. However, they want to do all their tasks in order. What is the best data type to use for this to do list?
Queue
In which sport can a player score a "hat trick"?
Soccer/Football