How difficult is IB Computer Science SL?

My child is a sophomore, and will be entering the IB program next year. She’s interested in taking Computer Science as one of the SL subjects. How difficult would be for someone who has never done any programming other than trying a little bit of Scratch in middle school. How does it compare with AP computer science or AP Computer Science Principles?