Hey saurav,
Hope you are doing well these days, now coming to your question then I would like to tell you that if computer science is your 6th subject and the optional one then even after not passing that subject your results will be considered as pass only. So don't worry about that.
But still if you wish to give improvement exam which is held after two months after the results are out then you can appear in that. And can get your subject cleared.
Hope this information helps!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile