2003 Honda Accord Hesitating and check engine light on

Would those problems cause the hesitation when accelerating also?