subject

Alice p. hacker has two types of memory that she's using to build her system to store her objects. the first type, type a is extremely fast, but it's expensive and she doesn't have much of it. she has 10gb of type a memory that can being used to store objects, and reading an object from this memory takes 5ms. the second type of memory, type z, is a lot slower, but it's cheap, and so alice bought a lot of it. she has 1tb of the second type of memory that she can use to store objects, and reading an object from this memory takes 200ms. alice decides she's going to build a system where she keeps all of her objects in the second type of memory, and then also keeps copies of some of those objects in the first type so that she can do some of her reads more quickly. alice has 2048 objects, all of the same size, which use up all of her second type of memory storage. alice decides to analyze different ways to pick and choose what she keeps in her type a memory, and how they affect her expected object read performance. round all answers to 3 decimal places. if alice is naive and decides to randomly fill her type a memory with objects and never change it, what is her expected time to read 10 randomly selected objects out of the 2048 (in ms)? alice now runs a workload where she reads 20 objects per minute. 50% of the objects she reads are objects she's seen in the past 30 seconds, and the other 50% of the objects are randomly chosen from the full 2048. using the same naive strategy as before, what is her expected average read time for an object with this workload? alice tries to improve her performance. she decides that every time she reads an object, if it is not in her type a memory, she will put it there. when she needs to remove something, she will remove the thing that she read least recently what is alice's average read time per object in the best case scenario? what is alice's average read time per object in the worst case scenario?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname,firstname with no spaces in it) or a name (lastname,firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none.txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
The a great imaginary circle, or reference line, around earth that is equally distant from the two poles and divides earth into the northern and southern hemispheres.
Answers: 1
You know the right answer?
Alice p. hacker has two types of memory that she's using to build her system to store her objects. t...
Questions
question
Mathematics, 10.02.2022 07:40
question
History, 10.02.2022 07:50
Questions on the website: 13722367