How many 1/4-inch cubes filled the prism?

The rectangular prism has dimensions of 2 inches by 3 inches by 4 inches.

Thus, it has a volume of (2 x 3 x 4) cubic inches = 24 cubic inches.

Each 1/4-inch cube has a volume of (1/4) x (1/4) x (1/4) cubic inches = 1/64 cubic inches.

To fill the prism with 1/4 inch cubes, we need to divide the volume of the prism by the volume of each cube:

24 / (1/64) = 24 x 64 = 1536 cubes.

Therefore, 1536 1/4-inch cubes filled the prism.