Step 1: Identify the family:
The structure has one $C=O$ with an alkyl group on each side, so it belongs to the ketones. Ketones take the suffix -one in IUPAC naming.
Step 2: Find the parent chain and the locant:
Write the carbon skeleton as C1-C2-C3-C4-C5. The carbonyl carbon is the middle one, C3. Numbering from the other end still gives C3, so the locant is 3 either way. A 5-carbon chain is pentane.
Step 3: Build the name:
Replace -e of pentane with -one and put the locant in front: $\text{pentan-3-one}$, or 3-pentanone.
Step 4: Compare with the options:
Diethyl ketone is the trivial name of the same compound, but the question asks for the IUPAC name. 2-Pentanone and methyl propyl ketone both describe $\mathrm{CH_3COCH_2CH_2CH_3}$, which has the carbonyl on C2, so they do not fit. Only 3-pentanone is the correct IUPAC name.
Final Answer:
The IUPAC name of the compound is 3-pentanone, option (B).
\[ \boxed{\text{3-Pentanone}} \]