Concept used — field at the centre due to a circular arc
By the Biot–Savart law, every element of an arc of radius R is perpendicular to the line joining it to the centre. So an arc that subtends an angle ϕ (in radians) at the centre and carries a current I gives, at the centre,
B=4πRμ0Iϕ
perpendicular to the plane of the ring. For a semicircle, ϕ=π, this is 4Rμ0I. The straight leads lie along lines through the centre, so they give no field there.
Going from A to B, the current goes round the centre in opposite senses in the two arcs (one clockwise, one anticlockwise), so their fields at the centre are opposite. The two arcs are in parallel between A and B: they have the same potential difference across them, so the current divides in the inverse ratio of their resistances.
(a) Upper half with twice the resistance
Step 1 — Divide the current. Let the lower half have resistance r and the upper half 2r. With the same potential difference V across both:
Ilower=rV,Iupper=2rV⇒Ilower=2Iupper
Ilower+Iupper=I⇒Iupper=3I,Ilower=32I
Step 2 — Field of each half (semicircles).
Blower=4Rμ0(2I/3)=6Rμ0I,Bupper=4Rμ0(I/3)=12Rμ0I
Step 3 — Combine the opposite fields.
B=Blower−Bupper=6Rμ0I−12Rμ0I=12Rμ0I

Answer: B=12Rμ0I, perpendicular to the plane of the ring, in the direction of the field of the lower half, which carries the larger current.
(b) Uniform ring: the field is zero for any A and B
Step 1 — Divide the current. Let the two arcs subtend angles θ and 2π−θ at the centre. For a uniform wire, resistance is proportional to length, and so to the angle: R1=kθ and R2=k(2π−θ) for some constant k. With the same potential difference V across both:
I1=kθV,I2=k(2π−θ)V
Step 2 — Field of each arc.
B1=4πRμ0I1θ=4πRμ0⋅kθV⋅θ=4πRkμ0V
B2=4πRμ0I2(2π−θ)=4πRμ0⋅k(2π−θ)V⋅(2π−θ)=4πRkμ0V
Step 3 — Combine. B1=B2 for every θ, and the two fields are opposite in direction, so
B=B1−B2=0
Answer: for a uniform ring the net field at the centre is zero wherever A and B are placed. The longer arc carries proportionally less current, so the product (current × angle) is the same for both arcs.