لم: أداة جزم مبنية على السكون لا محل لها من الإعراب.
يأكل: فعل مضارع مجزوم بعد لم وعلامة جزمه السكون.
الطفل: فاعل مرفوع وعلامة رفعه الضمة الظاهرة على آخره.
إعراب جملة (يتفوق المخلص في دراسته).
يتفوق: فعل مضارع مرفوع وعلامة رفعه الضمة الظاهرة على آخره.
المخلص: فاعل مرفوع وعلامة رفعه الضمة الظاهرة على آخره.
في: حرف جر مبني على السكون لا محل له من الإعراب.
دراسته: اسم مجرور بعد في وعلامة جره الكسرة الظاهرة على آخره.
والهاء ضمير مبني في محل جر مضاف إليه.
The sentence (the child did not eat) is analyzed as follows:
لم: a negation particle with no specific grammatical function.
يأكل: Present tense verb, negated by لم.
الطفل: Subject, with a visible damma indicating its nominative case.
The sentence (the sincere one excels in his studies) is analyzed as follows:
يتفوق: Present tense verb in the nominative case.
المخلص: Subject in the nominative case.
في: Preposition with no specific grammatical function.
دراسته: Object in the genitive case, with a visible kasra indicating its case.