May I participate in the theoretical exam if I do not have my ID card with me?

You can, but you must have an official proof of identity that includes a photo. A driving licence, for example, is also sufficient.