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
anzhelika [568]
3 years ago
10

Suppose we use radix sort to sort the English-language strings below using standard lexicographic ordering (i.e. sort in alphabe

tical order). We sort least-to-greatest and consider the numbers in top-to-bottom order when assigning them to bins. Assume the empty string" comes before all letters in lexicographic order. PART TRIP
TARP
ART
TRAP
CHIP

a) (1 point) How many passes are required to sort the strings?
b) (1 point) How many buckets would radix sort allocate to sort the strings?
c) (5 points) For each of the following pairs of words, fill in the circle next to the word that would appear earlier in the list after two passes of radix sort.
i) TRIP or TARP
CHIP or TRIP
iii) ART or PART
iv) PART or TARP
v) TARP or TRAP

d) State the runtime of radix sort on each of the following inputs set as precisely as you can. Include any known constant factors. i) (1 pt) Runtime on English-language strings of length d: ii) (1 pt) Runtime on decimal integers of length d:

Engineering
1 answer:
nlexa [21]3 years ago
7 0

Answer:

a) 4 passes are required to sort the string.

b) 4

c)   i) TARP

    ii) CHIP

    iii) PART

    iv) TARP

    v) TARP

d) O(k+n), n is no. of strings, k is largest no. of character in among the string

   O(d*(n+10)), n is no. of integers

Explanation:

You might be interested in
Do you know anything about Android graphics?
Mashutka [201]

Android provides a huge set of 2D-drawing APIs that allow you to create graphics.

Android has got visually appealing graphics and mind blowing animations.

The Android framework provides a rich set of powerful APIS for applying animation to UI elements and graphics as well as drawing custom 2D and 3D graphics.

<h3>Three Animation Systems Used In Android Applications:-</h3>

1. Property Animation

2. View Animation

3. Drawable Animation

7 0
3 years ago
A(n) is a detailed, structured diagram or drawing.
monitta

Answer:

Schematics

Explanation:

A schematic is a detailed structured diagram or drawing. It employs illustrations to help the viewer understand detailed information on the machine or object being described. Its main aim is not to help the observer know what the object looks like physically. It is rather aimed at helping the viewer know how the machine works. This is achieved by only including key and important details to the drawing.

It is most times used in the blueprint and user guides of machines and gadgets used in the home to help users know how these things work so that they can do little fixings should there be such needs.

6 0
3 years ago
Hello , how are yall:))))
SVEN [57.7K]

Answer:

eh I'm good hbu?????????

6 0
2 years ago
Read 2 more answers
Express the following quantities to the nearest standard prefix using no more than three digits.(a) 20,000,000 Hz(b) 1025 W(c) 0
bija089 [108]

Answer:

(a) 20 MHz

(b) 1.025 KW

(c) 3.33 ns

(d) 33 pF

Explanation:

(a) 20,000,000 Hz = 20 x 10^6 Hz = 20 Mega Hz = <u>20 MHz</u>

(b) 1025 W = 1.025 x 10^3 W = 1.025 Kilo W = <u>1.025 KW</u>

(c) 0.333 x 10^(-8) s = 3.33 x 10^(-9) s = 3.33 nano s = <u>3.33 ns</u>

(d) 33 x10^(-12)F = 33 pico F = <u>33 pF</u>

8 0
3 years ago
Soils with low percolation rates do not need special attention during site engineering. select one: true false
saveliy_v [14]

It is accurate to say that site engineering does not require particular consideration for soils with low percolation rates.

<h3>What are percolation rates?</h3>
  • The rate at which water percolates through the soil is a measure of its ability to absorb and treat effluent, or wastewater that has undergone preliminary treatment in a septic tank.
  • Minutes per inch are used to measure percolation rate (mpi).
  • The process of a liquid gently moving through a filter is called percolation. This is how coffee is typically brewed.
  • The Latin verb percolare, which meaning "to strain through," is the source of the word "percolation." When liquid is strained through a filter, such as when making coffee, percolation occurs.

To learn more about percolation rates, refer to:

brainly.com/question/28170860

#SPJ4

7 0
2 years ago
Other questions:
  • What are the causes of kickback on a table-saw?
    13·1 answer
  • I don't understand this I am really bad at measurements
    12·2 answers
  • Imagine you work for the public housing agency of a city, and you have been charged with keeping track of who is living in the a
    15·1 answer
  • A 3-phase induction motor with 4 poles is being driven at 45 Hz and is running in its normal operating range. When connected to
    12·1 answer
  • Turn the motor around in the circuit. What happens?
    12·1 answer
  • Consider that a system has two entities, Students, Instructors and Course. The Student has the following properties: student nam
    12·1 answer
  • Based on the following passage, why might the government use the U.S. Army Corps of Engineers to undertake hydroelectric power p
    14·1 answer
  • Convert A'B'C'D' + A'B'C'D + A'B'CD' + A'BC'D + AB'C'D' + AB'C'D+ AB'CD' to SOP form
    12·2 answers
  • A 280 km long pipeline connects two pumping stations. It is desired to pump 0.56 m3/s of oil through a 0.62 m diameter line, the
    14·1 answer
  • In order to lift a lighter object on the other side, a boy placed 155 N of
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!