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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:30, alexdub9649
What is a costume plot? why is it important to a film or theater production?
Answers: 2
image
Computers and Technology, 23.06.2019 00:50, AmbitiousAndProud
Representa os dados de um banco de dados como uma coleç? o de tabelas constituídas por um conjunto de atributos, que definem as propriedades ou características relevantes da entidade que representam. marque a alternativa que representa o modelo descrito no enunciado. escolha uma:
Answers: 3
image
Computers and Technology, 23.06.2019 01:30, bri2728
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
image
Computers and Technology, 23.06.2019 22:30, ghari112345
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
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 in other subjects:

Konu
Mathematics, 17.07.2021 03:50
Konu
Mathematics, 17.07.2021 03:50