1. Imagine data is being gathered from a number of sources, all at irregular int
ID: 3692831 • Letter: 1
Question
1. Imagine data is being gathered from a number of sources, all at irregular intervals. Some data is visual, some audio, some electronic. All data have ID numbers and a time stamp which is a string such that year|month|day is represented as 20160730 would be July 30th 2016. They also contain a character identifier V, A, E for the specific type of data. Each also has a report that will represented as V1, A5, E8 etc. The integers represent the relative importance of the data (1 being the highest, 8 being the lowest).
Create a list of priority queues based on their importance and by date of arrival. This will be a simulation where:
1. 0 – 2 new (random) data arrives in each category each time through the loop
2. The data is sorted and entered into the appropriate priority queue.
3. User can access the front of any or all of the queues and when they do the data is considered dealt with and discarded.
4. All the user to quit when they are finished.
Explanation / Answer
Ans;
1. 0 – 2 new (random) data arrives in each category each time through the loop
Justification;
Each also has a report that will represented as V1, A5, E8 etc. The integers represent the relative importance of the data (1 being the highest, 8 being the lowest).is 0 – 2 new (random) data arrives in each category each time through the loop
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.