Choose two statement that are true about function.a. Meaning function name help people better understand programs.b. Meaningful functions names help computers better understand programs.c. Function in programming are useful mathematical tools for doing complex computations.d. Function is programming are named groupings of programming instructions

Respuesta :

Answer:

Option a Meaningful function name help people better understand programs

Option d Functions are named groupings of programming instructions

Explanation:

In computer programming, function is a block of reusable codes which are grouped to perform a specific task.  The usage of function enable the program written in a more structured and modular style that help people to better understand the program. A well written function can reduce code redundancy as well.

One example of function (written in Python) that perform a specific task such as calculate area of rectangle is as follows:

def calculateArea(width, height):

     area = width * height

     return area

We can simply use the function by calling its name and passing two input values for width and height as follows:

calculateArea(5, 6)    

This will give us 30.