IITm BS Degree Mid term exam

I won’t be able to attend the mid term exam of IITM BS degree, so will my CGPA be affected. Is it even possible for me to not attend the mid term exam?