Computers and Technology

A disk contains a B blocks, F of which are free. A bitmap needs 1 bit for each block, both free and occupied. A linked list needs 2 integers for each free block to link together all free blocks. The bitmap and linked list occupy a dedicated portion of the disk. (a) Determine what fraction of blocks must be free such that the bitmap and the linked list occupy the same amount of disk space.
(b) Determine the same fraction as above when the linked-list method connects groups of adjacent blocks, rather than individual blocks. The average group size is 10 blocks. Each group needs 2 integers for the link and 1 integer to record the number of blocks in the group.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:00, sebcbal
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
image
Computers and Technology, 23.06.2019 17:30, Annlee23
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2ă—, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5ă— slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
image
Computers and Technology, 24.06.2019 00:30, petergriffin6772
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
image
Computers and Technology, 24.06.2019 07:50, treytonmesser
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u. s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
Do you know the correct answer?
A disk contains a B blocks, F of which are free. A bitmap needs 1 bit for each block, both free and...

Questions in other subjects:

Konu
Mathematics, 02.07.2019 00:00
Konu
Mathematics, 02.07.2019 00:00
Konu
Mathematics, 02.07.2019 00:00
Konu
Mathematics, 02.07.2019 00:00