If you are completing a Type rating then there is a theoretical exam associated with that type. It is set by the FTO or TRTO conducting the training and will include questions on engines and other aircraft systems. For multi-pliot and high performance types you are required to have passed the professional technical exams relevant to type.
You can fly a diesel with just differences training but its still a reciprocating engine.