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
Sedbober [7]
3 years ago
5

Define an ADT for a two-dimensional array of integers. Specify precisely the basic operations that can be performed on such arra

ys. Next, imagine an application that stores an array with 1000 rows and 1000 columns, where less than 10,000 of the array values are non-zero. Describe two different implementations for such arrays that would be more space efficient than a standard two-dimensional array implementation requiring one million positions.
Engineering
1 answer:
VashaNatasha [74]3 years ago
6 0

Answer:

Explanation:

ADT for an 2-D array:

struct array{

int arr[10];

}arrmain[10];

An application that stores an array with 1000 rows and 1000 columns, where less than 10,000 of the array values are non-zero. The two different implementations for such arrays that would be more space efficient than a standard two-dimensional array implementation requiring one million positions are :

1) struct array{

int *p;

}arr[1000];

2) struct array{

int *p;

}arr[1000];

You might be interested in
Can someone help me plz!!
pogonyaev
It has to do with mechanical engineering
6 0
3 years ago
Water exiting the condenser of a power plant at 45 Centers a cooling tower with a mas flow rate of 15,000 kg/s. A stream of cool
MariettaO [177]

Answer: hello your question is incomplete below is the missing part

question :Determine the temperature of the cooled water exiting the cooling tower

answer : T  = 43.477° C

Explanation:

Temp of water at exit = 45°C

mass flow rate of cooling tower = 15,000 kg/s

Temp of makeup water = 20°C

Assuming an atmospheric pressure of = 101.3 kPa

<u>Determine temperature of the cooled water exiting the cooling tower</u>

Water entering cooling tower at 45°C

Given that Latent heat of water at 45°C = 43.13 KJ/mol

Cp(wet air) = 1.005+ 1.884(y1)

where: y1 - Inlet mole ratio = (0.01257) / (1 - 0.01257) = 0.01273

Hence : Cp(wet air) = 29.145 +  (0.01273) (33.94) = 29.577 KJ/kmol°C

<u>First step : calculate the value of Q </u>

Q = m*Cp*(ΔT) + W(latent heat)

Q = 321.6968 (29.577) (40-30) +  43.13 (18.26089)

Q =  95935.8547 KJ/s

Given that mass rate of water = 15000 kg/s

<u>Hence the temperature of the cooled water can be calculated using the equation below</u>

Q = m*Cp*∆T

Cp(water) = 4.2 KJ/Kg°C

95935.8547 = (15000)*(4.2)*(45 - T)

( 45 - T ) = 95935.8547/ 63000.    ∴ T  = 43.477° C

5 0
3 years ago
Explain the prosses of welding
klio [65]

Answer:

Welding is a fabrication process whereby two or more parts are fused together by means of heat, pressure or both forming a join as the parts cool. Welding is usually used on metals and thermoplastics but can also be used on wood.

Explanation:

7 0
3 years ago
Read 2 more answers
Which of the eight diagnostic steps for locating an engine performance problem is performed first?
Kay [80]

Answer:

D. Perform a thorough visual inspection.

4 0
3 years ago
Design a decimal arithmetic unit with two selection variables, V1, and Vo, and two BCD digits, A and B. The unit should have fou
Bingel [31]
Ucsaaaaauxx627384772938282’cc ed un e uff ridicolizzarla +golfista
4 0
3 years ago
Other questions:
  • Steam undergoes an isentropic compression in an insulated piston–cylinder assembly from an initial state where T1 5 1208C, p1 5
    15·1 answer
  • 3. Air at 1 atm and 20 0 C flows tangentially on both sides of a smooth flat plate of width W=10 ft and length L=10 ft in the di
    8·1 answer
  • 4. A 1 m3 rigid tank has propane at 100 kPa, 300 K and connected by a valve to another tank of 0.5 M3 with propane at 250 kPa, 4
    11·1 answer
  • Which of the code pieces below should replace the underline?public class Test{public static void main(String[] args){Test test =
    8·1 answer
  • Blank Complete the following paragraph pertaining to the popular audio file formats.
    7·2 answers
  • When testing a compressor with an ohm meter, a technician read 2 ohms between the start terminal and the case of the compressor.
    5·1 answer
  • WHAT IS MEANT BY BJT AND FUNCTION OF BJT
    8·1 answer
  • Thoughts on Anime?<br> Whats your fav
    10·2 answers
  • Answer the question faster please
    7·1 answer
  • The formation of faults in Earth's crust is an effect. What causes faults to form in the crust? Global Positioning System sensor
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!