Yahoo! Inc. has appointed Marissa Mayer as its CEO. She is the fifth CEO in four years. Mayer, 37, would be charged with helping the company regain the attention of Web surfers. She shifts from Google, a company she had joined in 1999 as its 20th employee. She was Google’s first female engineer.