Question
Divide and conquer partition a problem into independent
smaller sub problems, whereas dynamic programming partition a problem into overlapping sub-problem.Solution
Divide & Conqure Dynamic Programming Partition a problem into independent smaller sub problems Partition a problem into overlapping smaller sub problems Doesnt store solution of sub-problems.(identical sub-problems may arisse-results in the same computations are performed repeatedly.) stores solution of sub-problems : thus avoids calculations of same quantity twice Top down alogithms : which logically progresses from the initial instance down to the smallest sub- instances. Bottom up algorithms : in which the smallest sub-problems are explicity solved first and the results of the used to construct solutions to progressively larger sub-instances.
A machine does 600 J of work in 2 minutes. Find its power.
A body of mass 3 kg has a velocity of 4 m/s. Find its kinetic energy.
Which physical quantity has unit “Joule/second”?
If a lens forms an image of magnification -2, what is the nature of the image?
What is the unit of electric current?
For a cell terminal potential difference is 3.5 V when circuit is open and reduces to 2.5 V when cell is connected to a resistance of R = 10Ω then...
An object initially at rest explodes into several fragments. If no external forces act during the explosion, the center of mass of the fragments will:
Which of the following gas is used in the manufacture of Vanaspati Ghee?
In a long solenoid of 200 turns/cm carrying a current i, the magnetic field at center is 6.28×10-2 T. If a second solenoid with 100 turns/c...
What is the SI unit of power?