Quiz One -- The Geography of Computing

1) Where is Napolean from?
2) What is the first line this loop draws
int i = 10;
while (i > 10 )
{
    g.drawLine(i, 10, i , 100);
    i = i+1;
}
3) What nation touches the United States (besides Canada and Mexico)

4) What is the last line this loop draws

int counter=100;
while (counter > 10)
{
    g.drawLine(i, 10, i 100);
    counter=counter+1;
}
5) What is the southernmost U.S. state?

6) How many lines does this loop draw?

int counter=1;
while (counter < 10)
{
    g.drawLine(i, 10, i, 100);
}
7) What is the smallest continent?

8) What is the 'signature' of drawLine?

9) What type is the first argument to drawString?

10) When you write your own functions, should they be public or private?