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
ziro4ka [17]
3 years ago
13

Suppose we are comparing the implementations of insertion sort and merge sort on the same machine(You don’t need to know the alg

orithm to do this problem!). For inputs of size n, insertion sort runs in 8n^2, while merge sort runs in 64nlgn steps. For which values of n does insertion sort beat merge sort?
Computers and Technology
1 answer:
Anuta_ua [19.1K]3 years ago
4 0

Answer:

123456789o0

Explanation:

You might be interested in
The equivalent of the TTL field in an ipv4 header is known as the ___an IPv6 header
OLga [1]
<span>The equivalent of the TTL(Time to Live) field in an IPv4 header is known as the Hop Limit in an IPv6 header.
</span>The IPv6 header is a streamlined version of the IPv4 header. The field Hop Limit has the size of 8 bits and indicates the maximum number of links over which the IPv6 packet can travel before being discarded.
7 0
3 years ago
What is displayed in the alert dialog box after the following code is executed? var scores = [70, 20, 35, 15]; scores[scores.len
kvv77 [185]

Answer:

The scores array: 70,20,35,15,40

Explanation:

I will explain the code line by line:

var scores = [70, 20, 35, 15];  

The above statement declares and assigns values to an array named scores

scores[scores.length] = 40;  

The above statement uses length to set the length of the scores array. It sets the last element of the scores array to 40. So this means 40 is set as the last element of scores.

scores.length returns the length of the scores array i.e. 4 as there are 4 elements in scores array 70,20,35,15

So the statement becomes:

scores[4] = 40;

This assigns value 40 to the 4th index of the scores array. Do not confuse 4th index with 4th element of the array because array element location starts from 0. So scores[4] does not mean 4th element but scores[4] means 4th index position of scores array. This makes 5th element of scores. So set the element 40 as 5th element at 4th index of scores.

alert("The scores array: " + scores);

This displays an alert box with the following message:

The scores array: 70,20,35,15,40

4 0
3 years ago
what is the least expensive way to connect five computers using a wired network to a router that has only four network ports?
ExtremeBDS [4]

Answer: Get wifi.

Explanation: Get wifi.

5 0
2 years ago
The database contents might be loaded interactively or in batch mode using a variety of methods and devices including customized
oksian1 [2.3K]

Answer:

The answer is "Option A".

Explanation:

Database information is a storage file, that contains material for the SharePoint web application for one or more sets of sites. This content may include websites, files, documents, photographs and more. In this storage file a data store in batch mode, which uses a variety of different methods and tools, like custom software programs, that's why the given statement is "True".

4 0
3 years ago
Write a for loop in python that prints 10 random numbers between 1 and 100 inclusive.
Goshia [24]

import random

for x in range(10):

   print(random.randint(1,100))

8 0
3 years ago
Other questions:
  • If you use the ___ template, as opposed to a formatted theme, you must make all design decisions?
    15·1 answer
  • If you want to open an application that does not have a tile pinned to the start menu
    9·1 answer
  • Which one of the following items is an example of software?
    15·1 answer
  • In addition to their full versions, some commercial software is available as a ____ or trial version.
    7·1 answer
  • A typical item in a plan of procedure includes the name of the part of the ______ to
    5·1 answer
  • Chelsea wants to know about the requirements for being a lab technician where could you find that information
    7·1 answer
  • A server can be added to Server Manager by which of the following methods?
    9·1 answer
  • There are 3 parts to an osha inspection. What are they
    9·1 answer
  • What makes manually cleaning data challenging?
    15·1 answer
  • Help fast fast anyone
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!