A rigid wire consists of a semi-circular portion of radius R and two straight sections. The wire is partially immersed in a perpendicular magnetic field as shown in figure. The magnetic force on the wire if it has a current is :

From the JEE Main 2024 · 31 Jan · Shift 1 paper. Try it, check your answer, then read the worked solution below.
A rigid wire consists of a semi-circular portion of radius R and two straight sections. The wire is partially immersed in a perpendicular magnetic field as shown in figure. The magnetic force on the wire if it has a current is :

Try it yourself first, then check your working against this.
Worked solution
Only the part of the wire inside the field contributes, and for a uniform field the force depends on the effective (straight) length joining the two points where the wire enters and leaves the field: that is the diameter .
(A): options (3) and (4) are printed identically in the reproduction, which marks (2); its own working gives , i.e. option (1).
Concepts used: effective length in a uniform field
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Force on a current-carrying conductor), each with a worked solution.
Timed, in the real format, and marked the moment you submit.