Text this: Cognition and its relationship with endogenous and exogenous factors in engineering students