Oropharyngeal carcinoma is a type of head and neck cancer caused by division of cells present in the throat, which can affect a single region or multiple regions of the throat. A commonly found disease can be fatal if not diagnosed at an early stage. Various medical methodologies have been developed with time; however, the prediction of survival is still uncertain. In this research, the medical treatment offered to patients along with detailed information about them such as their drinking habits, age, time of diagnosis, and type of cancer was taken into consideration. In this paper, comparative analysis of neural network, three bagging, and three boosting algorithms was performed for prediction of oropharyngeal cancer. The bagging algorithms considered are support vector classifier (SVC), decision tree, and random forest. Boosting algorithms are AdaBoost, XGBoost, and CatBoost. Based on accuracy, time of processing and various performance parameters CatBoost was determined as the best algorithm to predict the survival chances of a cancer patient.