KwickClips Java
Java: 196 short revision clips (page 4)
One idea per clip, with the answer written out underneath. Each clip links back to the full Java lesson it came from.
Why is postfix easier for a computer?42 sec
Which operator is placed first when converting?43 sec
What do you do when you read an operand?39 sec
Which popped value is the left operand?43 sec
Why not just time the program with a stopwatch?40 sec
What is the Big O of 3n² + 5n + 9?41 sec
What is the Big O of two separate loops, one after the other?38 sec
Is linear search O(1) because it once found the item first?41 sec
What is a package in Java?39 sec
Which package is imported automatically?41 sec
Where do import statements go?39 sec
What does Arrays.sort(m) do?38 sec
What happens if an assert condition is false?38 sec
What is a thread?40 sec
Which method do you call to begin a thread?40 sec
What is a race condition?40 sec
Can a Java array grow after it is created?42 sec
Can an ArrayList hold int values directly?38 sec
Which loop is easiest for reading every item?42 sec
Which would you use for the twelve months?40 sec
What is a JFrame?40 sec
Why can my code not find the control after I changed its text?39 sec
Which class groups controls together?39 sec
Why does nothing happen when I click the button?41 sec
Who catches a syntax error?39 sec
Why did a program with no compile error still crash?39 sec
Why does 40 + 50 / 2 give 65?38 sec
Why did the loop stop at 4?37 sec
In which language is an algorithm written?41 sec
What does a repeated algorithm step become in Java?42 sec
Is one successful run enough?42 sec
What are the three parts of the answer?40 sec
What should you write before coding a project?42 sec
What becomes a class?39 sec
Why test each method immediately?37 sec
What goes at the top of your code file?42 sec
How many operands does a binary operator take?39 sec
What does b = a++ store when a is 5?39 sec
What does a *= 3 mean?39 sec
What does the ternary operator return when the condition is false?40 sec
Where does the initialisation go in a while loop?37 sec
Which loops can run zero times?40 sec
Why does my loop never stop?40 sec
How many times does the loop run?41 sec
What is the last valid index of a string?41 sec
Which line reverses the string?41 sec
Why does the word counter start at 1?42 sec
What do all these programs have in common?41 sec
