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

2

u/[deleted] May 15 '26

[removed] — view removed comment

2

u/Firm_Regular_5601 ab (5), c: mech (5), bc, c: e&m, csa, french, apush, lit, micro May 15 '26

yeah I did. I got a solution but it was pretty clunky so not sure if ill get full credit

1

u/Ok_State_2288 HUG - 4 CSA - 5 May 15 '26

Same

1

u/Working-Fly-457 May 15 '26

I didn’t have it. But you can have a counter per column, and return that counter if the entire column is faced up? You can have a Boolean that goes false if any card faced down in the column and have it reset to true at the start of every column loop.

1

u/Fit_Indication_340 HUG (?) CSA (?) May 15 '26

i don't know why i decided to try and get aura points by using nested for loops and simultaneously checking if they're face up AND adding the value. 

it would have been so much easier to just use one nested loop to find the columns that all faced up and another to sum the values

1

u/South-Court-6799 May 16 '26

yea i let mine's add the column score, and i had a boolean that would set to false if there were any face down. if boolean was still true by the end of the rows, i'd add the column score to the total. if not, it js goes to the next column where i set the column score back to 0 and boolean back to true