passing a class requires getting good marks