Concept:
If \(N\) anions form a ccp (fcc) lattice, then
\[
\text{Number of octahedral voids}=N
\]
and
\[
\text{Number of tetrahedral voids}=2N.
\]
Step 1: Assume \(N\) oxide ions are present.
\[
O=N
\]
Since oxygen forms ccp arrangement,
\[
\text{Octahedral voids}=N
\]
\[
\text{Tetrahedral voids}=2N.
\]
Step 2: Calculate number of \(A\) ions.
\(A\) occupies \(50\%\) of octahedral voids.
\[
A=\frac{50}{100}\times N
\]
\[
A=\frac{N}{2}.
\]
Step 3: Calculate number of \(B\) ions.
\(B\) occupies \(25\%\) of tetrahedral voids.
\[
B=\frac{25}{100}\times 2N
\]
\[
B=\frac{N}{2}.
\]
Step 4: Find the simplest ratio.
\[
A:B:O
=
\frac{N}{2}:\frac{N}{2}:N
\]
Dividing by
\[
\frac{N}{2},
\]
\[
A:B:O
=
1:1:2.
\]
Therefore,
\[
\boxed{ABO_2}
\]
Final Answer:
\[
\boxed{ABO_2}
\]
\[
\boxed{\text{Answer = (D)}}
\]