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
arlik [135]
3 years ago
11

Use a physical stopwatch to record the length of time it takes to run the program. Calculate the difference obtained by calls to

the method System.currentTimeMillis() just before the start of the algorithm and just after the end of the algorithm. Calculate the difference obtained by calls to the method System.currentTimeMillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. Use the value returned by the method System.currentTimeMillis() just after the end of the algorithm as the elapsed time.
Computers and Technology
1 answer:
Otrada [13]3 years ago
4 0

Answer:

Calculating the Elapsed Running time of algorithm , we put System.currentTimeMillis() at the start of main method and at the end of main Method and calculate the difference.

long end = System.currentTmeMillies();

------Program -------

long end = System.currentTmeMillies();

long elapsedTime = end-start

Explanation:

You might be interested in
Sharon is thinking about opening a bakery. She knows she wants to set her own hours, reduce her stress and make a profit. But sh
kondaur [170]
C would not be a beginner move.

hope it helps
6 0
3 years ago
In a __________, you are trying to find what others have prepared. With __________, you are trying to discover new patterns that
AveGali [126]

Answer:

<u>query,</u> <u>data mining </u>

Explanation:

A query can be explained as another term for question.

If one needs additional information from some other person, he might have ask to him. Queries are used for the retrieval of the information.

In other words, one tries to find what have been prepared by others.

Data mining can be explained as the process that allows to sort through a large set of data for the identification of patterns.

In this process of data mining, one tries to find out the new patterns that may not be known at all.

3 0
3 years ago
A computer user who purchases a software package that will not operate on his or her hardware configuration is a victim of which
Natalija [7]
Is this a math problem? I don't get what you are trying to say sorry
5 0
2 years ago
Which of these is an example of subliminal advertising
solniwko [45]

Answer:

D. a claim that more people drink a certain brand of cola that others

Explanation:

Basta yan yung sagot ko

7 0
3 years ago
Read 2 more answers
Katherine would like to insert specific words at the top of every page on a multipage essay.
vekshin1

The correct way to insert specific words at the top of every page of a multi page essay is the third option - Type the words onto the first page after selecting the header region of the document by clicking the top edge of the page; it will automatically be repeated in all subsequent header regions of the document.

The steps in the third choice are correct for inserting a header. You should also keep in mind that you can also set the header so that it does not start until the second page, which may be appropriate for an essay.

6 0
3 years ago
Read 2 more answers
Other questions:
  • When saving a memo you created in Word, which of the following extensions is automatically assigned to the document?
    8·2 answers
  • Differentiate between third and fourth generation of computer​
    6·1 answer
  • Name the months that have 30 days​
    6·2 answers
  • The _____ option will require users to have a password to access the document.
    10·2 answers
  • Why is the ketboard calledQWERTY
    11·2 answers
  • What is pseudo code?
    11·2 answers
  • A __________ is the blueprint for __________ having similar attributes and behaviors. signature, objects class, parameters heade
    11·1 answer
  • The History feature of a browser enables you to retrace your browsing history over a short period of time. (1 point) True False
    9·1 answer
  • 9.11: Array Expander
    15·1 answer
  • Describe the specific job you would want to have if you were going to pursue a career in digital music or video.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!