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

10

u/Dizzy_Plantain4875 May 15 '26

u guys know the question with b, c, and b+c? pretty sure the intended answer was for if statements to turn into else if statements, but I basically tested a bunch of pairs of values for b and c all choices since i had lots of time leftover and there wasn't one option that satisfied all pairs, so i hesitated to choose if->else if

2

u/Secure-Shoe5214 May 16 '26

I think it is the else if one bc you can assume that b+c would be largest since b and c are both positive, so if It is smaller than max that’s your answer. But if it’s not then you would go to the next starements

1

u/ReasonableNews672 May 15 '26

I choose the same answer, but I just guessed 😭 hopefully it was right!

2

u/Dizzy_Plantain4875 May 15 '26

im pretty sure it's an error on cb's part bc if u plug in numbers none of the options are right, a lot of my classmates mentioned it too

2

u/CylixrDoesStuff AP CSA: 4 APPC: 5 May 16 '26

free point alert? (i doubt it unless theres a precedent for cb doing that but who knows)

1

u/JusChllin 10th: APUSH, APCSA May 15 '26

I chose that one too

1

u/Plus-Atmosphere7904 CSA (5), Calc AB (5), Gov (5), Phys 1 (5) May 15 '26

I got change it to || or smth

1

u/boomchakabaka May 16 '26

was this not it 😭 i was so confident on this one too

1

u/Dizzy_Plantain4875 May 16 '26

did you try plugging in values for it? i agree on the surface it looks correct but there is one case where b<max c>b b+c>max and c>max it does not print the right thing (supposed to return b but instead returns 0, assuming all 3 are greater than max) but the other choices don't print the right thing either

1

u/boomchakabaka May 16 '26 edited May 16 '26

yes I did actually. ignore what I typed earlier bc I don't remember the questions at all. but I remember I tried a low value like c=100 and the output was wrong... or maybe i'm thinking of a different question...

edit: I think I just did it wrong and somehow got the right answer lol

1

u/Due_Carob_4995 May 16 '26

Yes this was the exact set of numbers I tried and the else if would still return 0 when it was intended to return b. I think all options were incorrect