1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
galina1969 [7]
3 years ago
9

The purpose of performance profiling (experimental analysis) is to measure the program/algorithm performance. Assume that you ha

ve performed an experimental analysis of an algorithm, and profiling returned the following
times: for instances of sizes 2^10, 2^11, 2^12, 2^13, 2^14
the corresponding times are approximately 300 , 510 , 905 , 1750 , 3305 milliseconds.
In these collected running times, there is an extra overhead resulting from clocking program performance and OS functions calls, and this overhead has to be considered in analyzing data. That is, the measured time consists of two components: the time for executing the operations, plus the overhead from profiling.
The estimated overhead due to profiling is about 100 milliseconds independently of the input size. (that is, 100 is always an additive ``constant'' in the collected times).
Based on these experimental results, what is the running time, as a function of the problem size, for executing this algorithm? (c is a constant).
A. O(underroot(n)).
B. O(n^2).
C. O(n).
D. None of the listed.
E. O(n log n).
Computers and Technology
1 answer:
Andru [333]3 years ago
8 0

Answer:

C. O(n).

Explanation:

for better understanding, the os is a program that helps in telling how much resources can be used and when processor can be accessed.

to each programme data structures would load and unload every time that a programme is to be run.

while a programme is being managed there would be extra overheads and based on whatever type of os or programme that this is, it may or may not have fixed overhead

from our question overhead is fixed at 100ms

we have,

net time as: 300-100, 510-100, 905-100, 1750-100, 3305-100,

which is, 200, 410, 805, 1650, 3205

when we double 2¹⁰ to 2¹¹ to 2¹² etc, the programme ran is also doubling

this says that run time is same as size of instance n

O(n)

You might be interested in
. In an airport, a system consisting of sensors, bar code readers and remote controls is MOST LIKELY used for
labwork [276]

Answer:

baggage handling

.......

3 0
3 years ago
Read 2 more answers
Editing tool for quickly making a repeated change throughout a document
miss Akunina [59]
The answer is "Find and Replace".
8 0
4 years ago
Write a summary, on the requirements for a home automation IoT network discussing whether Wi-Fi is the best network option, by c
Wewaii [24]

Answer:

following are the answer to this question:

Explanation:

In the given question, firstly we focus solely on the smart homes IoT systems criteria, that can access the whole IoT notion throughout two ways, which be defined as follows:

Initially, whenever it links with the smart home includes ventilation, flower arranging, smart house appliances, device, and the designers will use search engine support, etc. all of this, including several, includes certain components like sensors, hubs, doorbells, fire detector.

In the second way the cloud control devices described from first are provided, however, manufactures should be recorded here through cloud computing, and when the process, entirely controlled, can easily be managed remotely, because it is first performed.

The Zigbee is a great priority when it comes to energy usage due to the extremely reduced wattage or battery capacity, and when it comes with wifi capacity, the best solution is Zigbee and it is too expensive with memory footprint 9 because this is also a very big one) It also allows all of the implements to enter even before wifi permits.  

Even so, in wifi, we will not ever realize if it will fall to the ground, however in ZigBee and at the start, they only have to pay tremendous like wifi but it has some repayment options, that lead the user can decide whatever they want. It can pay for our consumption levels.

5 0
3 years ago
How does the movement of earth in space create cycles we all experience?
Contact [7]
Actually, humans can not feel the Earth's movement because of our atmosphere(:
5 0
4 years ago
What is the flow of electrons called?
kondaur [170]

Answer:

Electricity is the flow of electrons through a conductor, usually in the form of a wire, this flow is called an electric current.

4 0
3 years ago
Other questions:
  • If you are asked to bring in agile way of working into the way a meeting runs, which one among the listed options will you imple
    11·1 answer
  • Cd-roms typically use the _______ filesystem type.
    11·1 answer
  • A group of computers that are interconnected order to share information or document is called a
    12·2 answers
  • We discussed making incremental dumps in some detail in the text. In Windows it is easy to tell when to dump a file because ever
    5·1 answer
  • I don't understand how to write code for this in Java using nested for loops only. The official question is: write a program tha
    8·1 answer
  • Random letter of the alphabet for Python coding
    11·2 answers
  • Firewall ____ indicate whether a large number of echo messages are being received.
    9·1 answer
  • What two tools can be used to disable a service and to give a list of all currently running services, respectively?
    7·1 answer
  • Does anyone know what's wrong with this code in Unity? HELP FAST PLEASE! This is for my game design course, I will give brainies
    11·1 answer
  • Your task is to design a method int[] allMatches(int[] values, int size, int a, int b) that returns all values between a and b i
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!