The flight was the first session of the Private Pilot's constant speed unit and retractable landing gear training. The aircraft was taking off on Runway 11 Centre for the training area. The pilots reported that at a height of about 50 feet, the engine failed completely, surged briefly, then failed completely again. The instructor took over control and landed the aircraft. The aircraft overran the runway, passed over the top of a 4 to 5 metre deep drainage ditch, and impacted heavily on the top of the far bank, approximately 190 metres from the end of the bitumen runway. Lost movement was found between the fuel selector pointer and the fuel selector valve, and with the selector pointer positioned by sight the valve may have been in such a position as to restrict fuel flow at high power settings. The accident highlighted the airmanship which should be exercised when making a fuel selection, by feeling for a detent and not simply relying on the position of a pointer. Although such a defect would normally be discovered and rectified during regular servicing, lost motion may develop from a stiff selector valve, eventually resulting in disagreement between a position indicator and valve position.