Section B: The variable.
Check both the variable type and name
and cycle through all the different options (Int, Float, Bool and Char).
Use only the first option you find in this list.
- The variable type is “int” when the Int value is lower than the last digit of the serial number.
- The variable type is “float” when the Float value is lower than the amount of batteries.
- The variable is “bool” when the condition (the if-statement) is true while the variable is bool.
- If none of the above apply, use char.
Section C: The method type.
- If the amount of solved modules is even, then the type is “void”.
- Else the type is “bool”.
Section D: The action.
Check the action and the using directives, and look up the pair in the final table.
|
Using directives (Right)
Serial Number (Below)
|
Any using directive contains “KTaNE” |
Else |
| Contains any letter in the word “KTaNE” |
HandleSolve(); |
HandleStrike(); |
| Else has a vowel |
Solve(); |
Strike(); |
| Else |
OnSolve(); |
OnStrike(); |