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
Live.com is Microsoft's free web-based email provider.<br> A. True<br> B. False
Zigmanuir [339]
True Live.com is Microsoft's free web- based email provider
5 0
3 years ago
What type of device does a computer turn to first when attempting to make contact with a host with a known IP address on another
scoray [572]

Answer:

default gateway

Explanation:

A default gateway in a computer network environment means the access point through which a networked device uses to send or receive information from another network. Default gateways make it possible to exchange information from a local network to an outside network. So simply they serve as the interface through which communication is made with external networks or the internet.

6 0
3 years ago
Piers wants to take a course on XML. He is a certified web designer, but he has not used XML before. How can he use XML to impro
il63 [147K]

Answer:

B

Explanation:

XML is mostly used for structural purposes

6 0
3 years ago
Which library research databases include information about articles published in magazines, journals, and newspapers? question 1
Alecsey [184]

Answer:

periodical databases

Explanation:

Among the various databases you can now access in a library, the periodical databases contains the text and other information about articles published in magazines, journal and newspapers.

This database allows you for example to easily search for all articles written about a specific event or person, and it will return you the list of articles you can then read from a single spot, no matter where or when the article was written.

8 0
3 years ago
Why is printer an output device​
Vitek1552 [10]

printer is an output device because,

A printer is a device that accepts text and graphic output from a computer and transfers the information to paper, usually to standard size sheets of paper.

So, a printer is an external hardware output device that takes the electronic data stored on a computer or other device and generates a hard copy of it.

therefore, it can be said that a printer is an output device

7 0
3 years ago
Read 2 more answers
Other questions:
  • Identify requirements that should be considered when determining the locations and features of firewalls. What are some importan
    5·1 answer
  • Ok, so this isn't a tech question it's about a game, moomoo.io so don't hate on this if you don't know it, 40 points to whoever
    12·2 answers
  • Which form of investigation aims at checking whether or not a target system is subject to attack based on a database of tests, s
    15·1 answer
  • Type the correct answer in the box.
    15·1 answer
  • John works in the Sales and Marketing group. Why does his group need to interact with operations management to plan the launch o
    12·1 answer
  • Which statements about grades are accurate? Check all that apply. Grades help indicate how well a student is understanding a cer
    13·1 answer
  • Which protocol is well known for its use in the the home security and home automation industry, uses a mesh topology, makes devi
    7·1 answer
  • Pa answer po thank you​
    7·2 answers
  • Which excel feature makes it easy to copy and paste formulas in multiple cells?.
    7·1 answer
  • Most spyware programs are benign in that they do not perform malicious acts or steal data. group of answer choices true false
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!