- You will take this test on paper, and be expected to write lines of code and short methods without any notes.
- You'll notice that this list is smaller than things you might be asked to do on a Coding Quiz or a Project. These represent the most basic, essential skills that you should be very comfortable with.
- On the right are example questions which will give you a feel for the style of the test.
- To study, complete the review packet on the right. and check your answers as you go.
Drawing
- How to draw shapes:
- How to change colors:
- Fill
- Stroke
- RGB Values and Transparency
Flow
- How to write a conditional, using:
- Using the following logical operators
- Using comparison operators
- Using mousePressed
Variables
- How to declare a variable
- How to initialize a variable
- How to assign a value to a variable
- The following types: int, float, boolean, String
- Arithmetic Operators
- Addition +
- Subtraction -
- Multiplication *
- Division /
- Modulus %
- Increment ++
- Decrement --
- Concatenation
- Casting
- From a float to an integer
- How to print to the console
Methods
- How to call a method given its name, return type, and parameters
- How to write a method
- Using different return types: void, int, boolean, float, String
- Taking different parameters: int, boolean, float, String
Loops
- Write a for loop
- Write a while loo