Black hole growth and activity in a Lambda cold dark matter universe