A programming style that uses a signal and response approach to programming is called:

(a) Object Oriented Programming
(b) Structured Programming
(c) Event-driven Programming
(d) Bottom-up Programming

(c) Event-driven Programming

Computer Science & Information Technology

You might also like to view...

We reproduce the class Money here, in part:

``` class Money public: Money( ); Money(int dollars, int cents); Money(int dollars); Money(double amount);// other public members const Money operator+(const MoneyADD& amt2)ADD; >>Need to add & and semicolon int getCents( ) const; int getDollars( ) const; private: int dollars; int cents; //other private members ``` Note that * is not overloaded in the class, but operator + is overloaded using an operator function with the following declaration: ``` const Money operator+(const Money& amt2); ``` The question is: Given the declarations, ``` Money baseAmount(100, 60); // $100.60 Money fullAmount; ``` which of the following operations are legal? If so, why? If not, why not? a)``` BaseAmount + 25; ``` b)``` 25 + BaseAmount; ``` c)``` baseAmount = 2 * baseAmount; ``` d)``` baseAmount+baseAmount. ```

Computer Science & Information Technology

The ________ tool can be used to change the background color of an image.

Draw Filled Region. (c) Get color. (d) Fill region.

Computer Science & Information Technology