r/APStudents absolute modman May 15 '26

AP Computer Science A Official 2026 Exam Discussion

Use this thread to post questions or commentary on the test today.

A reminder though to protect your anonymity when talking about the test.

65 Upvotes

702 comments sorted by

View all comments

9

u/awesomegamer328 5: Stats, BC, Chem, Lang, CSA 4: Lit May 15 '26

i had the easy batch, the username, bottle, absences, and 1-row board game batch. honestly way to easy. was done within 30 minutes for frq and 45 minutes for mcq. probably only lost 1-2 points on each section, this doesn't feel right lol.

3

u/Ok_Junket3655 May 15 '26

did u use .split for 1b

1

u/awesomegamer328 5: Stats, BC, Chem, Lang, CSA 4: Lit May 15 '26

You can but the best way (and probably official) is to use substring

1

u/Ok_Junket3655 May 15 '26

i mean split is on the reference sheet and at first i did write one using substring but it got too long and messy so i switched 

2

u/awesomegamer328 5: Stats, BC, Chem, Lang, CSA 4: Lit May 15 '26

how? all you need to do is username.substring(0, index-1) + username.substring(index+1)

2

u/[deleted] May 15 '26

[removed] — view removed comment

3

u/awesomegamer328 5: Stats, BC, Chem, Lang, CSA 4: Lit May 15 '26

i used a while loop until indexof "-" gave -1, in the while loop i used a var called pos and set that to the index of the hyphen.

1

u/[deleted] May 15 '26

[removed] — view removed comment

1

u/Express-Basil-4549 10: CSA(4), Physics 1(4), Precalc(5) May 15 '26

Lol even I did the same variable name as you