Modify example 30.2 to do the following:

a) speed up when the ball is clicked;
b) change the ball’s shape when it hits a wall;
c) have the ball stop if the user moves the mouse cursor over the ball and resume moving if the user moves the mouse
cursor off the ball.


Note: The dimensions of the ball are specified in the first three files normalball.txt, newoval1.txt and

newoval2.txt.



```

1 SetLineStyle( 0 )

2 SetTextureFill( 0, 0, 'ball.gif', 0 )

3 Oval( 15, 15, 50, 50 )

4 SetLineStyle( 0 )

5 SetTextureFill( 0, 0, 'ball.gif', 0 )

6 Oval( 15, 15, 25, 75 )

7 SetLineStyle( 0 )

8 SetTextureFill( 0, 0, 'ball.gif', 0 )

9 Oval( 15, 15, 75, 25 )

10

11

12

13

14

15

16

17 Structured Graphics - Translate

18

19

Which of the following types of CPUs have extra hardware built in to allow more than one thread to be processed at the same time on a single CPU?

A. Multi-Core B. Multitasking C. Hyperthreading D. Preemptive

Computer Science & Information Technology

The User Datagram Protocol (UDP) guarantees delivery of data to its destination.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) qualitative assessment is based on characteristics that do not use numerical measures. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology