simple grade logic for application type question