Potpouri | Control Structures | Variables and Math | Graphics | Boolean Expressions | Types | Methods | Basics |
What is the second biggest state in the Union? | Can a while loop run zero times? | Is "myVar" a legal variable name? | Can you draw to the screen in mousePressed? | What does "=" mean? | What type of variable can hold "3"? | Suppose that the screen needs to be painted. What function gets called? | What is hardware? |
Who was princess Di dating? | How many times does the for loop run? | is "my var" a legal variable name? | What is the command to change color? | What is the symbol for 'and'? | Can you declare more than one variable on the same line? | How can you make the screen be repainted from inside your program? | What is software? |
Which hurts more, tongue or eye brow piercing? | How many times does the while loop run? | Transfer a point
(sadness) |
How would you make the whole screen blue? | Transfer a point
(sadness) |
What type of variable can hold "3.1"? | What method gets called when a key is pressed? | What part of the computer holds the program being run? |
Which Teletubby did Jerry Falwell say was gay? | Transfer a point
(sadness) |
what is 3 / 4 * 4 | What is the last argument to drawLine? | Write me an expression that says yes if x is 3 or 5 | What type of variable can hold "Telletubby"? | What is the name of the constructor for the class "fred"? | What happens to your Lydia files if you pull the little blue wire? |
What is the biggest star in the solor system? | if A is twelve, what gets drawn on the screen? | what is 4 * 3 / 4 | What is the command to draw a circle? | What does
3 < x < 5 mean? |
What type of variable can hold the tint red? | What method gets called when the mouse is moved? | What is the CPU? |
What is an oglet? | Write me a loop that counts from 9 ... 1 by twos. | How do you get a random number? | What is the command to draw a triangle? | When is this true?
(x > 4) && ( x < 0) |
Legal?:
double x = 3; |
What is the first peice of code (which method)to be run in your program? | What does JAVA stand for? |
a = 12;
for(i = 0; i < 7; i++)
i = 7;
if (a < 5) {
{
while (i < 15)
g.drawString("Fred", 10, 10);
...
{
}
}
i += 2;
else if (a < 15) {
}
g.drawString("Barney", 10, 10);
}
else if (a == 12) {
g.drawString("Wilma", 10, 10);
}