olives/grapes

is it ok to slice olives or grapes on shabbos as it is the av melacha?
would it be different if cutting for a child (to prevent choking hazard)?

thank you

No problem