How Algorithmic Literacy And Demographic Background Shape Public Attitudes On Ai