Computers and Technology, 28.05.2021 18:00, ibrahimuskalel
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.
Answers: 1
Computers and Technology, 22.06.2019 05:10, kellysimkin6196
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
Computers and Technology, 22.06.2019 08:40, batman48000
1. the program must provide following functions to extract some statistics. note that the data_list parameter specified in these functions may be the same for all functions or different for different functions—that is your choice. a skeleton file is provided on mirmir. a) open_file()prompts the user to enter a year number for the data file. the program will check whether the year is between 1990 and 2015 (both inclusive). if year number is valid, the program will try to open data file with file name ‘year. txt’, where is the year. appropriate error message should be shown if the data file cannot be opened or if the year number is invalid. this function will loop until it receives proper input and successfully opens the file. it returns a file pointer and year. i. hint: use string concatenation to construct the file name b) read_file(fp)has one parameter, a file pointer read. this function returns a list of your choosing containing data you need for other parts of this project. c) find_average(data_list) takes a list of data (of some organization of your choosing) and returns the average salary. the function does not print anything. hints: i. this is not the average of the last column of data. it is not mathematically valid to find an average by finding the average of averages—for example, in this case there are many more in the lowest category than in the highest category. ii. how many wage earners are considered in finding the average (denominator)
Answers: 1
Computers and Technology, 22.06.2019 15:30, micahpauleen748
In a compound condition, both conditions on either side of the logical operator and must be true for the overall condition to be true. a: true b: false
Answers: 1
Computers and Technology, 22.06.2019 19:30, tfaulk2884
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
A disk contains a B blocks, F of which are free. A bitmap needs 1 bit for each block, both free and...
Computers and Technology, 20.08.2021 07:50
Mathematics, 20.08.2021 07:50
Mathematics, 20.08.2021 08:00
Business, 20.08.2021 08:00
Mathematics, 20.08.2021 08:00
French, 20.08.2021 08:00
Mathematics, 20.08.2021 08:00