Sony W310 has a
12.0MP 1/2.3-inch (6.17 x 4.55 mm ) sized CCD sensor . On the other hand, Sony W560 has a
14.0MP 1/2.3-inch (6.17 x 4.55 mm ) sized CCD sensor and features BIONZ processor.
Below you can see the W310 and W560 sensor size comparison.
Sony W310 and Sony W560 have the same sensor sizes so they will provide same level of control over the depth of field when used with same focal length and aperture.