Browse By Unit
1 min readโขjune 18, 2024
This guide organizes advice from past students who got 4s and 5s on their exams. We hope it gives you some new ideas and tools for your study sessions. But remember, everyone's differentโwhat works for one student might not work for you. If you've got a study method that's doing the trick, stick with it. Think of this as extra help, not a must-do overhaul.
Tips on mindset, strategy, structure, time management, and any other high level things to know
What should a student do in the first few minutes, before they start answering?
In most of the code tracing questions, you do not have to trace through the entire code. As you keep tracing, you can start eliminating options.
for(int i=1; i <= 10; i+=2) { if(i % 3 == 0) { System.out.print(i + " "); } }
A) 3 6 9
B) 1 2 3 4 5 6 7 8 9 10
C) 2 4 6 8 10
D) 3 9
E) 1 3 5 7 9
Be careful of the following words in the question or the options - โALWAYSโ or โNEVERโ. You need to choose a choice that satisfies these constraints.
In loop-based questions involving arrays, strings, and ArrayLists, be EXTREMELY careful of the conditions. Especially if the conditions are like below:
Always read answer options very carefully! They often have very subtle differences that are easy to miss but essential to the question. Do NOT rush through choosing an answer, especially one written in plain english.
<< Hide Menu
1 min readโขjune 18, 2024
This guide organizes advice from past students who got 4s and 5s on their exams. We hope it gives you some new ideas and tools for your study sessions. But remember, everyone's differentโwhat works for one student might not work for you. If you've got a study method that's doing the trick, stick with it. Think of this as extra help, not a must-do overhaul.
Tips on mindset, strategy, structure, time management, and any other high level things to know
What should a student do in the first few minutes, before they start answering?
In most of the code tracing questions, you do not have to trace through the entire code. As you keep tracing, you can start eliminating options.
for(int i=1; i <= 10; i+=2) { if(i % 3 == 0) { System.out.print(i + " "); } }
A) 3 6 9
B) 1 2 3 4 5 6 7 8 9 10
C) 2 4 6 8 10
D) 3 9
E) 1 3 5 7 9
Be careful of the following words in the question or the options - โALWAYSโ or โNEVERโ. You need to choose a choice that satisfies these constraints.
In loop-based questions involving arrays, strings, and ArrayLists, be EXTREMELY careful of the conditions. Especially if the conditions are like below:
Always read answer options very carefully! They often have very subtle differences that are easy to miss but essential to the question. Do NOT rush through choosing an answer, especially one written in plain english.
ยฉ 2024 Fiveable Inc. All rights reserved.