Question 20 A) Choose whether the following statement is Cierto o Falso. Puerto Rican artist Francisco Oller was one of the first Latin American artists to use impressionism to portray the Caribbean landscape and everyday life. (1 point) Responses Cierto Cierto Falso Falso

Cierto

How can you make functions more flexible and able to handle a wider variety of tasks?

a.
Return multiple pieces of output data

b.
Add input parameters

c.
All of these will work

d.
Define a longer function name

c. All of these will work

By returning multiple pieces of output data, adding input parameters, and defining a longer function name, you can make functions more flexible and able to handle a wider variety of tasks.

Which of the following is an advantage of procedural abstraction?

a.
Internal function updates or improvements do not break your main program code

b.
All of these are advantages

c.
Programs are easier to write

d.
Program code is less complex

b. All of these are advantages

Procedural abstraction allows for internal function updates or improvements without affecting the main program code, makes programs easier to write, and results in less complex program code.

Which of the following is NOT needed to call a function?

a.
A detailed understanding of how the function internally works to produce a result

b.
An understanding of the function's parameters

c.
The function's name

d.
Knowledge of what the function will do and return as output

a. A detailed understanding of how the function internally works to produce a result

When calling a function, a detailed understanding of how the function internally works to produce a result is not necessarily needed as long as the function's parameters, name, and expected output are known and understood.

How can you make functions more flexible and able to handle a wider variety of tasks?

a.
All of these will work

b.
Define a longer function name

c.
Return multiple pieces of output data

d.
Add input parameters

a. All of these will work

By defining a longer function name, returning multiple pieces of output data, and adding input parameters, you can make functions more flexible and able to handle a wider variety of tasks.