Curriculum seems to be missing some things

I was going over the 2021 FRQ with a student, and she said we never went over .substring or .compareTo. I went searching down the rabbit hole and although it’s listed in the CED as var-1.E.12, I couldn’t find use of it anywhere in the lessons it is supposed to be in. Can someone point me to the correct lesson?

It is discussed briefly in Unit 6 Lesson 3. If you look in the slides you will see there is a slide that is titled “Strings have indexes too!” I definitely supplemented this with additional info and practice questions from AP Classroom.

1 Like

Thanks! I will be supplementing as well.

1 Like

Hi Jeannette,
Can I ask if you are speaking of CSA or CS Principles? The slide Roseanne shared above is from CS Principles which briefly introduces the substring method. But since this was posted with a CSA tag and you are talking about a FRQ from 2021, which was a CSA thing, I’m thinking this might be a CSA question :slight_smile:

The CSA curriculum introduces the substring method in Unit 6 lesson 2, and that topic is the focus of the lesson. Later in the unit the compareTo method is covered in Unit 6 lesson 6.

I hope this helps as we are moving towards the AP exam!

Best,
Lindsay

1 Like

Yes, it was an AP CSA question. This curriculum is different than what I’m used to since it doesn’t follow the College Board’s CED in that order. Thanks for your help!

1 Like

Great! The Code.org curriculum does go in a different order than the AP units.

String methods are one of the things that is spread out in Code.org’s curriculum, instead of being entirely in one unit. I have found this to work well, students get used to simple work with Strings before using the various methods.

Best,
Lindsay

1 Like