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 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
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
Chemistry, 09.04.2020 20:03
question
Mathematics, 09.04.2020 20:03