Chess engine openings

Sort:
Avatar of VladimirHerceg91

How do chess engines pick the openings they play? Are they programmed to always play the same one as white, and do they have a pre-programmed way to respond to openings as black?