Is it hard to go into computer science with no knowledge beforehand

At the very elite CS schools, there are definitely students who start the major with virtually zero experience in computer science. It’s very possible, and the programs are designed to help you start from scratch.

That said, you should probably learn some on your own first. At the very least, it would help you decide if you really want to go into computer science.