Is the acceleration of a car is greater when the acceleration is pushed to the floor or when brake pedal is pushed hard?

The acceleration of the car is greater when brake pedal is pushed hard, because the car comes to rest suddenly i.e. the rate of change of velocity of car is large in this case.