Question
A programmer is debugging a Selection Sort
implementation. They notice that after the first pass, the smallest element is correctly placed at the beginning, but subsequent passes do not consistently place the next smallest element. What is a common logical error that could cause this?Solution
The correct answer is D
Which of the following waves require a medium to travel?
What is the function of a fuse in an electric circuit?
If lift is going up with acceleration, the apparent weight of a body is -
The Pointing vector of electromagnetic waves has the same dimensions as that of:
A particle of mass m is placed in a potential V(x) = ax² + bx⁴. For small oscillations around equilibrium, its time period is:
If a body of mass 5 kg is raised to 10 meters height, find its potential energy. (g = 9.8 m/s²)
A closely wound solenoid 40 cm long has 5 layers of windings of 400 turns each. The diameter of the solenoid is 2 cm. If the current carried is 8.0 A, e...
When white light passes through a glass prism, which color deviates the least?
A beam of light consisting of two wavelengths, 600 nm and 420 nm, is used to obtain interference fringes in a Young’s double-slit experiment. Find...