When you use an array to implement the ADT list, retrieving an entry at a given position is slow.
a) true
b) false
When you use an array to implement the ADT list, adding an entry at a the end of the list is fast.
a) true
b) false
When you use a vector to implement the ADT list, retrieving an entry at a given position is slow.
a) true
b) false
When you use a vector to implement the ADT list, adding an entry at a the end of the list is fast.
a) true
b) false

Answers

Answer 1

Answer:

1)FALSE

2)TRUE

3)FALSE

4) FALSE

Explanation:

1) Retrieving an entry at a given position is not slow ( it is done using index number ) hence the answer is FALSE

2) Adding an entry at the end of the list is Fast this is because in using array implementation a new entry is made immediately after the last position and it is done very fast as well. hence the answer is TRUE

3) Retrieving an entry at a given position ( from an ADT list ) that is been implemented using Vector is very fast this is simply because Indexing in vector is done at a fixed time  hence the answer is FALSE

4) Adding an entry at the end of the list is slow using vector  hence answer is FALSE


Related Questions

A safety plug is designed to melt when the pressure inside a metal tank becomes too high. A gas
at 51.0 atm and a temperature of 23.0°C is contained in the tank, but the plug melts when the
pressure reaches 75.0 atm. What temperature did the gas reach?

Answers

The plug is 6 but u have to divert by the scale to form 5 .C

3. As the mass of an object increases, the force of gravity

Answers

Answer:

As the mass of an object increases, the force of gravity increases as well.

Explanation:

Objects with more mass have more gravity. They work together.

Can someone please help meee .

Answers

Answer:                  

32 amu is the right choice because both protons and neutrons have a mass of 1 amu. Electrons have no mass so go with the last choice

I’m pretty sure it’s the last one 32amu

find the volume of an object with a density of 3.2 g/mL and a mass of 12 g.

Answers

The mass is 45g happy to help!

1. 9mA electric current is flowing through a conducting wire. Then the number of electron
passing through it in 3mimute is?
A)2x10^18
B) 1X10^18
C) 2x10^19
D) 1.01x10^19​

Answers

Answer:

use the formula negative -eE/A×t

If a woman walks at a speed of 5 miles/hour for 3 hours, she will have walked how many miles?

Answers

i think it would be 15, because i think you have to multiply 3x5.

i hope this helps! :)

The distance walked by the woman at the given speed an time, is 15 miles.

What is meant by speed?

The speed of an object is defined as the rate of change of the distance travelled by the object.

Here,

Speed with which the woman is walking,

v = 5 miles/hour

Time taken by the woman for walking,

t = 3 hours

We know speed is the rate of change of distance,

v = d/t  where d is the distance travelled by the woman

So, d = v x t

 d = 5 x 3

 d = 15 miles

Hence,

The distance walked by the woman at the given speed an time, is 15 miles.

To learn more about speed, click:

https://brainly.com/question/17661499

#SPJ3

a boy of mass 40kg sits at point 2m from the pivot of a see-saw . find the weight if a girl who can balance the see-saw by sitting at a distance of 3•2m from the pivot.( take g=10NKg)​

Answers

Answer:

The weight of the girl is 250 N

Explanation:

Static Equilibrium

Static equilibrium occurs when an object is at rest, i.e., neither rotating nor translating.

In the static rotational equilibrium, the total torque is zero with respect to any rotational axis.

The torque applied by a force F perpendicular to a displacement X with respect to a reference rotating point is:

T = F*X

The seesaw will be in rotational equilibrium if the torque applied by the boy of mass m1=40 Kg at x1=2 m from the pivot is equal to the torque applied by the girl of unknown mass m2 at x2=3.2 m from the pivot.

The force applied by both children is their weight:

[tex]F_1 = W_1 = m_1g[/tex]

[tex]F_2 = W_2 = m_2g[/tex]

It must be satisfied:

[tex]m_1gx_1=m_2gx_2[/tex]

Simplifying:

[tex]m_1x_1=m_2x_2[/tex]

Solving for m2:

[tex]\displaystyle m_2=\frac{m_1x_1}{x_2}[/tex]

[tex]\displaystyle m_2=\frac{40*2}{3.2}[/tex]

[tex]m_2=25\ kg[/tex]

Her weight is:

[tex]\mathbf{W_2=25*10 = 250\ N}[/tex]

The weight of the girl is 250 N


A 50kg refrigerator is being moved across a kitchen floor with an applied force of
300N. There is a known friction force of 50N acting against the motion of the
refrigerator.


What was the acceleration of the refrigerator? [ Select ]
m/s2

Answers

Answer:

5m/s²

Explanation:

Given parameters:

Mass of refrigerator  = 50kg

Applied force  = 300N

Frictional force  = 50N

Unknown:

Acceleration of the refrigerator  = ?

Solution:

To solve this problem:

  Net force = m x a

  m is the mass

   a is the acceleration

 Net force  = Applied force  - Frictional force

             300  - 50  = 50 x a

                   250  = 50 x a

                    a  = 5m/s²

A small rock is thrown vertically upward with a speed of 17.0m/s from the edge of the roof of a 26.0m tall building. The rock doesn't hit the building on its way back down and lands in the street below. Air resistance can be neglected.
Part A
What is the speed of the rock just before it hits the street?
Express your answer with the appropriate units.
Part B
How much time elapses from when the rock is thrown until it hits the street?
Express your answer with the appropriate units.

Answers

Answer:

A) v = 28.3 m/s

B) t =  4.64 s

Explanation:

A)

Assuming no other forces acting on the rock, since the accelerarion due to gravity close to the surface to the Earth can be taken as constant, we can use one of the kinematic equations in order to get first the maximum height (over the roof level) that the ball reaches:

        [tex]v_{f}^{2} - v_{o}^{2} = 2* g* \Delta h (1)[/tex]

Taking into account that at this point, the speed of the rock is just zero, this means vf=0 in (1), so replacing by the givens and solving for Δh, we get:

       [tex]\Delta h = \frac{-v_{o} ^{2}}{2*g} = \frac{-(17.0m/s)^{2} }{2*(-9.8m/s2)} = 14.8 m (2)[/tex]

So, we can use now the same equation, taking into account that the initial speed is zero (when it starts falling from the maximum height) and that the total vertical displacement is the distance between the roof level and the ground (26.0 m) plus the maximum height that we have just found in (2) , 14.8m:Δh = 26.0 m + 14. 8 m = 40.8 m (3)Replacing now in (1), we can solve for vf, as follows:

       [tex]v_{f} =\sqrt{2*g*\Delta h} = \sqrt{2*9.8m/s2*40.8m} = 28.3 m/s (4)[/tex]

B)

In order to find the total elapsed from when the rock is thrown until it hits the street, we can divide this time in two parts:1) Time elapsed from the the rock is thrown, until it reaches to its maximum height, when vf =02) Time elapsed from this point until it hits the street, with vo=0.For the first part, we can simply use the definition of acceleration (g in this case), making vf =0, as follows:

       [tex]v_{f} = v_{o} + a*\Delta t = v_{o} - g*\Delta t = 0 (5)[/tex]

Replacing by the givens in (5) and solving for Δt, we get:

       [tex]\Delta t = \frac{v_{o}}{g} = \frac{17.0m/s}{9.8m/s2} = 1.74 s (6)[/tex]

For the second part, since we know the total vertical displacement from (3), and that vo = 0 since it starts to fall, we can use the kinematic equation for displacement, as follows:

       [tex]\Delta h = \frac{1}{2} * g * t^{2} (7)[/tex]

Replacing by the givens and solving for t in (7), we get:

       [tex]t_{fall} =\sqrt{\frac{2*\Delta h}{g}} = \sqrt{\frac{2*40.8m}{9.8m/s2} } = 2.9 s (8)[/tex]

So, total time is just the sum of (6) and (8):t = 2.9 s + 1.74 s = 4.64 s

Do it in order.
from smallest to largest

Answers

Answer:

The earth, The sun, the solar system and the milky way.

describe measurement in our daily life​

Answers

We’re all pretty active and do a lot

In the equation for the gravitational force between two objects, which quantity must be squared?
•mi
•m2
•G
•d

Answers

Answer:

d

Explanation:

The quantity that must be squared in the equation of gravitational force is distance d.

According to the universal gravitational law, the square of the distance between two objects is inversely proportional to the force of gravity.

Therefore, the quantity to be squared is d

The formula is given as:

  Fg  = [tex]\frac{G m_{1} m_{2} }{d^{2} }[/tex]  

So d is the quantity that must be squared

Find the momentum of a 500,000 kg train that is stopped on the tracks?
a. O kg m/s
b. 250,000 kg m/s
c. 500,000 kg m/s
d. 16,000,000 kg m/s

Answers

Answer:

The answer should be A) 0m/s

Explanation:

It is stopped on the train tracks therefore it is not moving.

Please tell me if I am wrong because I'm not 100% sure on this. Hope it's right and that it helped you.

The main idea of this paragraph is:
a. Boots is my dog.
b. Boots can sit.
c. Boots is very smart.
d. Most dogs can't dance.

Answers

You didn’t upload the paragraph

calculate the average speed of talias car during the trip

Answers

Answer:

We're no strangers to love

You know the rules and so do I

A full commitment's what I'm thinking of

You wouldn't get this from any other guy

I just wanna tell you how I'm feeling

Gotta make you understand

Never gonna give you up

Never gonna let you down

Never gonna run around and desert you

Never gonna make you cry

Never gonna say goodbye

Never gonna tell a lie and hurt you

We've known each other for so long

Your heart's been aching but you're too shy to say it

Inside we both know what's been going on

We know the game and we're gonna play it

And if you ask me how I'm feeling

Don't tell me you're too blind to see

Never gonna give you up

Never gonna let you down

Never gonna run around and desert you

Never gonna make you cry

Never gonna say goodbye

Never gonna tell a lie and hurt you

No, I'm never gonna give you up

No, I'm never gonna let you down

No, I'll never run around and hurt you

Never, ever desert you

We've known each other for so long

Your heart's been aching but

Never gonna give you up

Never gonna let you down

Never gonna run around and desert you

Never gonna make you cry

Never gonna say goodbye

Never gonna tell a lie and hurt you

No, I'm never gonna give you up

No, I'm never gonna let you down

No, I'll never run around and hurt you

I'll never, ever desert you

Explanation:

RICK ROLLED

If 478 watts of power are used in 14 seconds,how much work was done

Answers

Answer:

6692J

Explanation:

Power is defined as the rate at which work is being done.

So,

    Power  = [tex]\frac{workdone}{time }[/tex]  

  Work done  = Power x time

Given parameters:

Power  = 478watts

Time  = 14s

So;

 Work done  = 478 x 14  = 6692J

Heather drives her Super-Beetle around a turn on a circular track which has a radius of 200 m. The Super-Beetle has a mass of 1500 kg and the coefficient of static friction between the road and tires is 0.6.

a. What is the force of static friction the road can apply batore the car starts to selon (use Ft= uFn).
b. What is the maximum speed the car can travel before it would start to slide?

Answers

Answer:

a) The force of static friction the road can apply before the car starts to move is 8826.3 newtons.

b) The maximum speed that a car can travel before it would start to slide is approximately 34.305 meters per second.

Explanation:

a) Let suppose that the car is on a horizontal ground and travels at constant speed. The vehicle experiments a centripetal acceleration due to friction, which can be seen in the Free Body Diagram (please see image attached for further details). By Newton's Laws, we construct the following equations of equilibrium:

[tex]\Sigma F_{x} = \mu_{s}\cdot N = m\cdot \frac{v^{2}}{R}[/tex] (1)

[tex]\Sigma F_{y} = N -m\cdot g = 0[/tex] (2)

Where:

[tex]\mu_{s}[/tex] - Static coefficient of friction, dimensionless.

[tex]N[/tex] - Normal force from ground to the car, measured in newtons.

[tex]v[/tex] - Maximum speed of the car, measured in meters per second.

[tex]R[/tex] - Radius of the circular track, measured in meters.

[tex]m[/tex] - Mass, measured in kilograms.

[tex]g[/tex] - Gravitational acceleration, measured in meters per square second.

By applying (2) in (1):

[tex]\mu_{s}\cdot m\cdot g = m\cdot \frac{v^{2}}{R}[/tex] (3)

The force of static friction the road can apply in the car ([tex]f[/tex]), measured in newtons, is: ([tex]\mu_{s} = 0.6[/tex], [tex]m = 1500\,kg[/tex], [tex]g = 9.807\,\frac{m}{s^{2}}[/tex])

[tex]f = \mu_{s}\cdot m \cdot g[/tex]

[tex]f = (0.6)\cdot (1500\,kg)\cdot \left(9.807\,\frac{m}{s^{2}} \right)[/tex]

[tex]f = 8826.3\,N[/tex]

The force of static friction the road can apply before the car starts to move is 8826.3 newtons.

b) Then, we calculate the maximum speed of the car by (3):

[tex]\mu_{s}\cdot m\cdot g = m\cdot \frac{v^{2}}{R}[/tex]

[tex]\mu_{s}\cdot g = \frac{v^{2}}{R}[/tex]

[tex]v = \sqrt{\mu_{s}\cdot g\cdot R}[/tex]

If we know that [tex]\mu_{s} = 0.6[/tex], [tex]g = 9.807\,\frac{m}{s^{2}}[/tex] and [tex]R = 200\,m[/tex], then the maximum speed of the car can travel before it would start to slide is:

[tex]v =\sqrt{(0.6)\cdot \left(9.807\,\frac{m}{s^{2}} \right)\cdot (200\,m)}[/tex]

[tex]v \approx 34.305\,\frac{m}{s}[/tex]

The maximum speed that a car can travel before it would start to slide is approximately 34.305 meters per second.

An Egyptian pyramid contains approximately 1.95 million stone blocks. The average weight of each block is 2.55 tons. What is the weight of the pyramid in pounds?

Answers

Answer:

More than 2,300,000 limestone and granite blocks were pushed, pulled, and dragged into place on the Great Pyramid. The average weight of a block is about 2.3 metric tons (2.5 tons).

Before there is a transfer of charges between objects, they are uncharged. What does this mean? (pls answer by 7:35)​

Answers

Answer: This means that the objects didn't hold or have any charges before it was charged by something or someone

Explanation:

Like a dead phone it dosn't have any "charge", but after you put the charger in the wall you can plug the phone in and get it charged It's an on going cycle of energy being turned into other energy.

Answer:

The answer is C

Explanation:

The positive and negative charges are equal.

Starting from the front door of your ranch house, you walk 50.0 m due east to your windmill, and then you turn around and slowly walk 30.0 m west to a bench where you sit and watch the sunrise. It takes you 27.0 s to walk from your house to the windmill and then 47.0 s to walk from the windmill to the bench. For the entire trip from the front door to the bench, what are your :

a. average velocity
b. average speed

Answers

Answer:

Explanation:

Total displacement for entire trip = final position - initial position

= 50 m - 30 m = 20 m

Total time = 27 + 47 = 74 s

Average velocity = Total displacement / total time

= 20 / 74 = .27 m /s

Total distance covered in entire trip = 50 + 30 = 80 m

Total time = 74 s

Average speed = Total distance covered / total time

= 80 / 74 = 1.08 m /s .

Which action will leave the dump trucks inertia unchanged?? PLEASE ANSWER FAST!!!
A. add gas
B. increase force applied to engine

Answers

Answer:

B.

Explanation:

if we ignore air resistance the mass of an object does not affect the rate at which it accelerate why?​

Answers

Answer:

See explanation

Explanation:

The acceleration due to gravity on an object is independent of the mass of the object. This is so because, the acceleration due to gravity depends only on the radius of the earth and the mass of the earth.

As a result of this, all objects are accelerated to the same extent and should reach the ground at the same time when released from a height as long as other forces other than gravity are not at work.

On a slope where does a marble have to most kinetic energy?

a) it is always the same
b) at the initial position
c) at the final position
d) somewhere between the initial and the final position

Answers

Answer:

C

Explanation:

Kinetic energy is the energy of motion. It has the most potential energy at the top but the most kinetic at the bottom after it's accelerated fully down the slope.

Some giant ocean waves have a wavelength of 25 m and travel at 6.5 m/s with a frequency of 0.26 HZ. What is the period of such a wave ?

Answers

Answer:

3.85s

Explanation:

Given parameters:

Wavelength = 25m

Velocity  = 6.5m/s

Frequency  = 0.26Hz

Unknown:

Period of the wave = ?

Solution:

The period of a wave is the inverse of the frequency of the wave.

    Period  = [tex]\frac{1}{frequency}[/tex]  

  Period = [tex]\frac{1}{0.26}[/tex]   = 3.85s

A ball rolling on the floor eventually comes to a stop. Which statement best describes this situation?

A) The energy on the macroscopic scale and the energy on the molecular scale both decreased.

B) The energy on the macroscopic scale increased, and the energy on the molecular scale decreased.

C) The energy on the macroscopic scale decreased, and the energy on the molecular scale increased.

D) The energy on the macroscopic scale and the energy on the molecular scale both remained constant.

If you have the rest please put them down :)

Answers

Answer:

Explanation:

C. The energy on the macroscopic scale decreased, and the energy on the molecular scale increased.

A. friction converts some energy on the macroscopic scale to energy on the molecular scale.

B. The mechanical energy of the system decreased because of friction.

B. The mechanical energy of the system at the beginning of the experiment is equal to the mechanical energy of the system at the end of the experiment.

B. the mechanical energy of the system decreased due to the transfer of energy on a macroscopic scale to energy on a molecular scale.

The  ball rolling on the floor eventually comes to a stop which means that

the energy on the macroscopic scale decreased, and the energy on the

molecular scale increased.

What is Macroscopic scale?

This is a scale in which an object can be seen with the eyes. When

an object is in motion, the ball rolls away and becomes less visible hence a

decrease in the macroscopic scale.

During motion, friction converts some macroscopic energy into molecular

scale which is why there was an increase in it.

Read more about Macroscopic scale here https://brainly.com/question/17609067

How many miles per day can you walk at a MODERATE Intensity level and your heart rate is 170?

Answers

Answer:

Not enough detail as it is very defendant on the person and a bunch of factors in health, but overall your heart rate shouldn't reach 170 as an adult walking at a moderate intensity level, that would be closer to extreme intensity.

Explanation:

Please answer this question I don't know how to do it.

Answers

One year = 365 days = 8760 hours = 525,600 minutes = 31,536,000 seconds

One light year = speed of light * 31,536,000 seconds

1340 light years = 1340 * one light year

What is the instantaneous velocity of a freely falling object 11 s after it is released from a position of rest

Answers

Answer:

v= -107.8 m/s

Explanation:

Since the object is in free fall, this means that is moving at an accceleration equal to the one due to gravity.Since it starts at rest, we can apply the definition of acceleration, rearranging terms as follows:

       [tex]v_{f} = v_{o} + a*t = a*t = -g*t = 9.8m/s2*11s = -107.8 m/s (1)[/tex]

(Assuming as positive the upward direction)

Chemical messengers that stimulate a specific cellular response.
Glucose
Hormones
Mitochondria
Nerves

Answers

Answer:

Explanation:

hormones. please mark me brainliest

Hormones is the correct answer

28. Which of the following correctly shows the order of highest amount of friction to the lowest amount of
friction?
a. Static, Rolling, Sliding
b. Sliding, Rolling, Static
c. Rolling, Static, Sliding
d. Static, Sliding, Rolling

Answers

Answer:

[tex]\mathrm{d.\:Static,\: Sliding,\:Rolling}[/tex]

Explanation:

Static friction occurs when an object initially starts at rest. When the surfaces of the materials touch, the microscopic unevenness interlock greatest with each other, causing the most friction out of the three.

During sliding friction, an object is already moving or in motion. The microscopic surfaces still interlock, but because the object is in motion, it has a momentum. Therefore, the magnitude of sliding friction is less than that of static friction.

Rolling friction occurs when an object rolls across some surface. Rather than surfaces interlocking, rolling friction is caused by the constant distortion of surfaces. As it rolls, the surfaces of the object are constantly wrapping and changing. This distortion causes the rolling friction. However, it is much less in magnitude when compared to static or sliding friction.

Other Questions
A square pyramid is shown below:A square pyramid is shown. The sides of the square base are labeled 0.7 foot. The height of one of the triangular sides is labeled 8 feet.What is the surface area of the pyramid? (1 point)11.69 square feet3.29 square feet7.49 square feet2.24 square feet 3. Conclude the impact the Germanic barbarians such as the Vandals, Angles, Saxons, Huns, and Visigoths had on the fall of Rome. Mia cycled 12 miles over two days.She cycled 7 miles on one day.How many miles did she cycle on the other day?19 miles?7 miles?5 miles?12 miles? HELP PLEASE ASAP!!!!! If h = 12 units and r= 4 units, what is the volume of the cone shown above?Use 3.14 for .A.12.56 cubic unitsB.50.24 cubic unitsC.200.96 cubic unitsD. 602.88 cubic units Please Help me with this I dont understand Polygon EFGHis a dilation image of the polygon EFGHWhat is the scale factor of the dilation?A.3B.6C.12D.1/3 how did spain rule their colonies differently than the english? Which is the best claim for an argumentative paragraph?The chronometer was the most significant artifact in world trade because MacGregor explains its various abilities.The chronometer was the most significant artifact in world trade because one was aboard the ship that carried Charles Darwin around the world.The chronometer was the most significant artifact in world trade because it was invented by John Harrison in the mid-eighteenth century.The chronometer was the most significant artifact in world trade because it allowed for a perfect charting of the worlds oceans. On your visit to New York City, you and your friend observed that the grey rats (Rattus norvegicus) in the New York subway are considerably larger than a typical West Coast rat. You decided to test whether this difference was genetic or environmental. You obtained a litter of 10 New York rat pups, and a litter of 10 California rat pups. Each of you took 5 pups from each litter and kept them in your room for 3 months, despite your roommates' protests. You fed your rats a balanced diet of dry cat food and fresh fruit and vegetables. Your friend, however, has a soft heart and gave her rats french fries, cheeseburger wraps, hot dogs, and other nostalgic New York fare. At the end of your experiment, you found that the New York and California rats that grew up in your home were exactly the same size. Your friend, however, found that her New York rats were larger than her California rats, and both were larger than your rats. So, is the difference genetic or environmental?Explain why you concluded this. a. Genetic b. Environmental c. Genotype environment interaction d. a and b e. b and c f. a and c g. a, b, and c please i need some help Which statement about the California Gold Rush is TRUE?a)California's crime rate decreasedb)The increase in California's population led to its admission to the Union as a free statec) Forty-niners traveled to California in the hopes preserving the Native American cultured) It caused a decrease in immigration to the United States Not a question, but this website is garbage. Please answer ASAP! -6=2x Which feature of life for ancient Romans would most likely not apply to people today? PLEASE HELP I WILL GIVE BRAINLEIST PLEASE ALSO SHOW STEPS!!!!!!Write the equation of a line that passes through the point (-1,5) and has a slope of -7. Your answer should be given in the form y = mx + b EXTRA POINTS PLS HELP ME Which response to very rapid change is most positive?1 People give up all of their own languages and artistic traditions, and change to the new culture.2 People feel their culture is threatened, so they become angry and try to stop all change by blocking new ideas.3 People work to save parts of their own cultures, such as language or customs, before it is too late.4 People allow others around them to change while they refuse to change anything in their own way of life. Why was independence important for people in Trinidad and Tobago I need help with this math problem: The Jayden family eats at a restaurant that is having a 15% discount promotion. Their meal costs $78.75 before the discount, and they leave a 20% tip. If the tip applies to the cost of the meal before the discount, what is the total cost of the meal? Round your intermediate calculations and answer to the nearest cent. If he starts at 1 and jumps 3 units to the left, then where is he on the number line? How far away from zero is he? (explain how you got your answer) If you could help I would really appreciate it, but if not thats fine. Thank you.