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
Anna makes arrangements to reuse waste water that has been used in sinks and showers. Which term refers to the waste water that
victus00 [196]

Answer:

Greywater.

Explanation:

Greywater is also known as sullage and it can be defined as any form of gently used wastewater derived from sources within a residential or office building such as showers, washing machines, bathroom sinks, bathroom tub, etc.

Generally, greywater or sullage is completely free of fecal materials (faeces) because it is independent from all toilet activities. However, greywater is not clean for direct use because it usually contains food particles, dirt, oil from dishes, hair, etc.

In this scenario, Anna makes arrangements to reuse waste water that has been used in sinks and showers. Greywater is a term which refers to the waste water that Anna reuses to conserve resources.

Therefore, Anna reuses greywater to conserve resources.

8 0
3 years ago
what is the relationship between magnetism and electromagnetism and how does this effect voltage in a circuit?
RideAnS [48]

Answer:

A magnetic field of changing intensity perpendicular to a wire will induce a voltage along the length of that wire. The amount of voltage induced depends on the rate of change of the magnetic field flux and the number of turns of wire (if coiled) exposed to the change in flux.

Please mark Brainliest!

3 0
2 years ago
What did the US and USSR agree on in the INF Treaty? They agreed to reduce nuclear weapons. They agreed that new European nation
faust18 [17]

Answer:

they agreed to reduce nuclear weapons

4 0
2 years ago
Read 2 more answers
What affect results when there is an impact between earth and is astroids check all that apply.
Vadim26 [7]

Answer:

Massive destruction

Explanation:

If the asteroid collides with the ground, a massive volume of dust will be blasted into the environment. If it collides with water, the amount of water vapour in the atmosphere will rise. This would result in more rain, which would cause earthquakes and mudslides.

As the asteroid collided with the Earth, massive volumes of dust were ejected into to the atmosphere. The sun's light were stopped from entering the Earth's surface, which is terrible news for plants.

6 0
3 years ago
What role does IT technology play in automobile manufacturing
grigory [225]

Answer:

find the distance prime

7 0
3 years ago
Other questions:
  • 3. A 4-m × 5-m × 7-m room is heated by the radiator of a steam-heating system. The steam radiator transfers heat at a rate of 10
    9·1 answer
  • If you’re designing a new pair of shoes, what are some things you’ll have to think about ??
    6·2 answers
  • A large part in a turbine-generator unit operates near room temperature and is made of ASTM A470-8 steel ( ). A surface crack ha
    11·1 answer
  • Why Your first project as the new web designer at Smart Design is to increase web traffic to help boost web orders. Before you b
    6·1 answer
  • What is the uncertainty in position of an electron of an atom if there is t 2.0 x 10' msec uncertainty in its velocity? Use the
    12·1 answer
  • PLEASE HELP AND ANSWER MY OTHER QUESTIONS!,
    7·1 answer
  • A 1.9-mm-diameter tube is inserted into an unknown liquid whose density is 960 kg/m3, and it is observed that the liquid rises 5
    7·1 answer
  • Drop the name below the corresponding part. (Look at the picture above to answer)
    5·1 answer
  • Could you please answer this question clearly?
    11·1 answer
  • What lump sum of money must be deposited in a bank account at present time so that Php 500 monthly can be withdrawn for five yea
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!