Ok......i'll try to help.
First you need to draw the structural formula of both compounds :
Propanone :CH
3COCH
3Propanal : CH
3CH
2COH
Now we can determine the ions that will be produced during mass spectrometry.
For propanone : CH
3+, CH
3CO
+ and H
+For propanal : CH
3+, CH
3CH
2+, CH
3CH
2CO
+ and H
+NOTE : The bonds in C=O does not break since they are very strong bonds.
Since the ions formed are different, their mass spectra will surely be different
Propanone and propanal may have the same relative molecular mass but the ions produced vary since their structure are different.
Hope it helps