Dear aspirant,
Yes of course, you can prepare and give exam for UPSC exam though you belong to Computer Science Engineering. Any B.Tech graduate can write this exam if they meet eligibility criteria.
Union Public Service Commission conducts Civil Services examination every year for the recruitment of candidates for various Government services like Indian Administrative Services (IAS), Indian Police Services (IPS) and Indian Forest Services (IFS) and Central Services such as Indian Audit and Accounts Service (IA&AS), Indian Foreign Service etc . The selection process of UPSC IAS comprises three stages prelims exam, mains exam and personal interview.
To know more details about UPSE exam go through below link.
https://competition.careers360.com/exams/upsc-civil-services-exam
College Comparison based on Courses, Placement, Rank, Fee
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile