What is ‘bug’ in computer science? A ‘bug’ in computer science is a logical or programming error in hardware or software that causes a malfunction of some sort in computer. Share : Twitter