subject

For each of the following data storage needs, describe which abstract data types you would suggest using. Natural choices would include list, set, map, but also any simpler data types (string, int, double) that you may have learned about before.
Try to be specific, e. g., rather than just saying "a list", say "a list of integers" or "a list of names (strings) and a GPA (double)". If you specify a map please describe what the key and value will be. Also, please give a brief explanation for your choice: we are grading you at least as much on your justification as on the correctness of the answer. Also, if you give a wrong answer when you include an explanation, we'll know whether it was a minor error or a major one, and can give you appropriate partial credit. Also, there may be multiple equally good options, so your justification may get you full credit.
a. a data type that allows quick retrieval of the name of a song given the name of a playlist (or album) and the track number
b. a data type to store the text of the steps of a recipe for how to bake a cake
c. a data type that associates a file extension with the possible programs that are able to read/open that kind of file
d. a data type that stores all the TV station identifications (e. g. KABC, KNBC, etc.)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:50
The instruction ishl (shift left integer) exists in jvm but not in ijvm. it uses the top two values on the stack, replacing the two with a single value, the result. the sec- ond-from-top word of the stack is the operand to be shifted. its content is shifted left by a value between 0 and 31, inclusive, depending on the value of the 5 least signifi- cant bits of the top word on the stack (the other 27 bits of the top word are ignored). zeros are shifted in from the right for as many bits as the shift count. the opcode for ishl is 120 (0x78).a. what is the arithmetic operation equivalent to shifting left with a count of 2? b. extend the microcode to include this instruction as a part of ijv.
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
question
Computers and Technology, 24.06.2019 03:00
With editing, word automatically displays a paste options button near the pasted or moved text. a. cut-and-paste b. drag-and-drop c. inline d. copy-and-carry
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
You know the right answer?
For each of the following data storage needs, describe which abstract data types you would suggest u...
Questions
question
English, 23.02.2021 14:00
question
Computers and Technology, 23.02.2021 14:00
question
Mathematics, 23.02.2021 14:00
question
Mathematics, 23.02.2021 14:00
question
English, 23.02.2021 14:00
Questions on the website: 13722360