GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

A ______ is generally defined as a range of conditions that…

A ______ is generally defined as a range of conditions that cause or affect mood, thinking, and behavior), such as schizophrenia, paranoia, or schizoaffective disorder.

Read Details

According to research from the Johns Hopkins, ______ are now…

According to research from the Johns Hopkins, ______ are now the leading cause of death among children and adolescents in the United States.

Read Details

According to the textbook, which of the following drugs is i…

According to the textbook, which of the following drugs is it easiest for someone to make themselves in their home?

Read Details

RioVista The context for this question is the same as the pr…

RioVista The context for this question is the same as the previous question. A program using Vista and running on a system with the Rio file cache is trying to atomically update the variables foo and bar within a transaction, where both are within the specified data range. The initial value of each is set to TRUE. Within the transaction, foo is set to FALSE and later bar is set to FALSE. For each question, explain your choice using 1-2 succinct bullets. c) [2 points] The system crashes just after the end_xact() has finished. What will be the persisted values in foo and bar after the system recovers? 

Read Details

Giant Scale Services The context for this question is the sa…

Giant Scale Services The context for this question is the same as the previous question. You are an engineer working on a search service that can sustain 60,000 shard visits per second. Under normal operation, each query visits 120 shards, so the service sustains 500 queries per second.  Assume the traffic spikes to 750 queries per second, and you want to preserve yield.  b) [2 Points] If each shard contributes equally to answer completeness, what is the harvest during the spike? Briefly show your work.

Read Details

A majority of citizens (52%) believe local economies benefit…

A majority of citizens (52%) believe local economies benefit from recreational _______ usage.

Read Details

PTS Jiahao is implementing a situation-aware application usi…

PTS Jiahao is implementing a situation-aware application using PTS.  There are three sensor sources: camera, audio from a microphone, and smoke detector.  The camera images are accumulated in Channel Ch1; samples from the microphone are periodically recorded in Channel Ch2; smoke detector sample levels are recorded in Channel Ch3.  Jiahao’s application reads the most recent camera image; it then uses the timestamp associated with the camera image to get the closest (in time) samples from the other two channels.  Here are the states of the channels at some point of time:  Ch1 contains items with timestamps: 50, 100, 150, 200 Ch2 contains items with timestamps: 60, 120, 180 Ch3 contains items with timestamps: 30, 60, 90, 120, 150, 180, 210  Here are the APIs that PTS exposes to Jiahao:  Get(ch, ts) returns the item with timestamp closest to ts  Get(ch, “oldest”) returns the earliest timestamp  Get(ch, “now”) returns the most recent timestamped item in a channel  To use the Get primitive, one would write:  = Get(ch1, ); //timestamp can be a specific value “ts”, “oldest”, or “now”  a) [3 points] Please help Jiahao by filling in the timestamp fields in the following code snippet for accomplishing his desired outcome.  = Get(ch1, ______);  = Get(ch2, ______);  = Get(ch3, ______);   

Read Details

RioVista The context for this question is the same as the pr…

RioVista The context for this question is the same as the previous question. A program using Vista and running on a system with the Rio file cache is trying to atomically update the variables foo and bar within a transaction, where both are within the specified data range. The initial value of each is set to TRUE. Within the transaction, foo is set to FALSE and later bar is set to FALSE. For each question, explain your choice using 1-2 succinct bullets. d) [2 points ] The system crashes just after setting the value of foo. It then crashes again during the recovery process. Does the second crash affect the contents of the persisted data after recovery?

Read Details

RioVista [2 points] A system with a battery-backed RIO file…

RioVista [2 points] A system with a battery-backed RIO file cache is running Satya’s LRVM (not Vista). With a couple of succinct bullets, explain whether this system would be more performant than running LRVM on a traditional file system without the RIO file cache.

Read Details

LRVM [3 points] Provide the three steps LRVM takes upon cras…

LRVM [3 points] Provide the three steps LRVM takes upon crash recovery.

Read Details

Posts pagination

Newer posts 1 … 59 60 61 62 63 … 84,319 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top