subject

Suppose in a class of 100 students, there is a homework due every week. The professor wants to encourage students to hand in their homework early so, for each homework, he gives extra credit to the first 25 students who turn their homework in. The professor wants to have a record of which students get the extra credit for each week. So, for each week, he stores the list of 25 students who will get extra credit for that week.(a) The professor decides to store the results of each week by saving a list of PIDs of the students who got the extra credit. i. How many bits are required to store each result (each list consists of 25 PIDs and one PID is a string with 9 characters and each character can be stored as an 8-bit ASCII code.)? ii. If 1 KB is 8,192 bits, how many weeks of this data can the professor store? iii. Come up with a more efficient way to store PIDs using the fact that the first character is either A or U and the following 8 characters are digits (0,1,...,9).) Show that storing PIDs this way, the professor can almost triple the number of weeks he can store on 1 KB. (b) Devise an encoding scheme that can fit 100 weeks of data into 1 KB. (Describe the scheme and also how many bits you need for each week of data.)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Consider the series where in this problem you must attempt to use the ratio test to decide whether the series converges. compute enter the numerical value of the limit l if it converges, inf if it diverges to infinity, minf if it diverges to negative infinity, or div if it diverges but not to infinity or negative infinity.
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
You know the right answer?
Suppose in a class of 100 students, there is a homework due every week. The professor wants to encou...
Questions
question
Mathematics, 07.12.2021 05:10
question
Social Studies, 07.12.2021 05:10
question
Spanish, 07.12.2021 05:10
question
World Languages, 07.12.2021 05:10
Questions on the website: 13722363