Question
Consider a scenario in an OOP application where a
`NullPointerException` (or equivalent) occurs when trying to access a member of an object. What is the most likely cause?Solution
A `NullPointerException` (or similar in other languages) occurs when you try to access a member (method or field) of an object whose reference variable currently holds a `null` value, meaning it doesn't point to an actual object instance in memory.
Why does a lemon appear larger when viewed from the side of a glass of water?
Which of the following is not a recognized type of inertia?
A ray of light travels from glass (n=1.5) to air (n=1). For which angle of incidence will the ray just graze the surface (total internal reflection limit)?
A stream of water flowing horizontally with a speed of 20 m/s pushes out of a tube of cross-sectional area 10-1m2 and hits at a v...
What is inertia?
A particle is projected such that its velocity vector sweeps equal angles with horizontal at equal time intervals. The motion is best described as:
A stone of mass 0.08 kg is thrown vertically upwards. Give the direction and magnitude of the net force on the stone during its downward motion. Ignore ...
A force of 50 N moves a body 2 meters in the direction of the force. Find work done.

Which of the following statement is true for a wavelength of 1000 nm. A p-n photodiode is fabricated from a semiconductor with band gap of 1.9 eV.