Given:
Number of apples purchased = 4
Number of oranges purchased = 7
To find:
The ratio of apples to oranges in two ways.
Solution:
Ratio of apples to oranges is:

After substituting the given values, we get



Therefore, the correct options are B and D.