Presentation is loading. Please wait.

Presentation is loading. Please wait.

ROUND 1 Name a method associated with class String 1.) 15 compareTo() 26 indexOf() 34 length() 2.) 3.) 4.) 3 toUpper() 7 substring() 11 charAt() 5.)

Similar presentations


Presentation on theme: "ROUND 1 Name a method associated with class String 1.) 15 compareTo() 26 indexOf() 34 length() 2.) 3.) 4.) 3 toUpper() 7 substring() 11 charAt() 5.)"— Presentation transcript:

1

2 ROUND 1

3 Name a method associated with class String 1.) 15 compareTo() 26 indexOf() 34 length() 2.) 3.) 4.) 3 toUpper() 7 substring() 11 charAt() 5.) 6.)

4 ROUND 1

5 Name a method associated with class Math 1.) 18 random() 23 min() 25 max() 2.) 3.) 4.) 3 round() 4 pow() 12 sqrt() 5.) 6.)

6 ROUND 2 DOUBLE

7 Name a punctuation (syntax) symbol used in Java 1.) 30 semicolon (end lines) 52 braces (for structures) 74 parenthesis (for methods) 2.) 3.) 4.) 8 comma (separate parameters) 14 dot/period (objects) 18 quotation marks (strings) 5.) 6.)

8 ROUND 2 DOUBLE

9 Name a rule for naming variables 1.) 36 Can’t begin with a number 62 Case sensitive 86 No spaces 2.) 3.) 4.) 10 No special characters

10 ROUND 3 TRIPLE

11 Method divides a number by 2 until the answer is less than 1, then returns the number of divisions 1.) 75 while (num >= 1) { 9 int count = 0; 93 int count2Div(int num) { 2.) 3.) 4.) 24 return count; } 21 count++; } 78 num = num/2; 5.) 6.)

12 FINAL ROUND

13 Final Round 1 2 3 4 5

14 1 2 3 4 5


Download ppt "ROUND 1 Name a method associated with class String 1.) 15 compareTo() 26 indexOf() 34 length() 2.) 3.) 4.) 3 toUpper() 7 substring() 11 charAt() 5.)"

Similar presentations


Ads by Google