Question 1) Write a program which displays terms in the Fibonacci sequence, starting with Fib(0) and continuing as long as the terms are less than 10,000.
Question 2) Your job is to draw robot-looking face like the one shown below:
Question 3) For each of the following statements below, write down whether it is true or false in Java:
a) Value of local variable named i has no direct relationship with that of variable named i in its caller.
b) Value of a parameter named x has no direct relationship with that of variable named x in its caller.
Question 4) Write a GraphicsProgram which draws set of ten circles with various sizes, positions, and colors. Each circle must have a randomly chosen color, a randomly chosen radius between 5 and 50 pixels, and a randomly chosen position on the canvas, subject to the condition that the whole circle should fit inside the canvas without extending past the edge.
Question 5) Write a GraphicsProgram which allows the user to draw lines on canvas. Pressing the mouse button sets the starting point for the line. Dragging mouse moves the other endpoint around as the drag proceeds. Releasing the mouse fixes the line in its present position and gets ready to start a new line. For instance, assume that you press the mouse button somewhere on the screen and then drag it rightward an inch, holding the button down.